mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +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)"
|
ifeq "$(BUILD_ARCH)" "$(filter $(BUILD_ARCH),aarch64 riscv64)"
|
||||||
define UPDATE_AUTOMAKE
|
define UPDATE_AUTOMAKE
|
||||||
for i in $$(find $(DIR_APP) -name config.guess -o -name config.sub); do \
|
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
|
done
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|||||||
@@ -69,9 +69,9 @@ $(subst %,%_MD5,$(objects)) :
|
|||||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||||
@$(PREBUILD)
|
@$(PREBUILD)
|
||||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar Jxf $(DIR_DL)/$(DL_FILE)
|
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar Jxf $(DIR_DL)/$(DL_FILE)
|
||||||
|
$(UPDATE_AUTOMAKE)
|
||||||
cd $(DIR_APP) && ./configure \
|
cd $(DIR_APP) && ./configure \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
|
|
||||||
cd $(DIR_APP) && make $(MAKETUNING)
|
cd $(DIR_APP) && make $(MAKETUNING)
|
||||||
cd $(DIR_APP) && make install
|
cd $(DIR_APP) && make install
|
||||||
@rm -rf $(DIR_APP)
|
@rm -rf $(DIR_APP)
|
||||||
|
|||||||
Reference in New Issue
Block a user