mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
autoconf: Update automake scripts for riscv64
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -311,7 +311,8 @@ endef
|
||||
ifeq "$(BUILD_ARCH)" "$(filter $(BUILD_ARCH),aarch64 riscv64)"
|
||||
define UPDATE_AUTOMAKE
|
||||
for i in $$(find $(DIR_APP) -name config.guess -o -name config.sub); do \
|
||||
cp -vf /usr/share/automake*/$$(basename $${i}) $${i}; \
|
||||
cp -vf /usr/share/automake*/$$(basename $${i}) $${i} || \
|
||||
cp -vf $(TOOLS_DIR)/share/automake*/$$(basename $${i}) $${i}; \
|
||||
done
|
||||
endef
|
||||
endif
|
||||
|
||||
@@ -69,9 +69,9 @@ $(subst %,%_MD5,$(objects)) :
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar Jxf $(DIR_DL)/$(DL_FILE)
|
||||
$(UPDATE_AUTOMAKE)
|
||||
cd $(DIR_APP) && ./configure \
|
||||
--prefix=/usr
|
||||
|
||||
cd $(DIR_APP) && make $(MAKETUNING)
|
||||
cd $(DIR_APP) && make install
|
||||
@rm -rf $(DIR_APP)
|
||||
|
||||
Reference in New Issue
Block a user