mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Config: Add macro to update automake scripts on aarch64
Some packages ship an older version which does not recognise aarch64. To overcome this, we just update these scripts when necessary. Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -229,5 +229,13 @@ define INSTALL_INITSCRIPT
|
||||
install -m 754 -v $(DIR_SRC)/src/initscripts/packages/$(1) /etc/rc.d/init.d/$(1)
|
||||
endef
|
||||
|
||||
ifeq "$(BUILD_ARCH)" "aarch64"
|
||||
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}; \
|
||||
done
|
||||
endef
|
||||
endif
|
||||
|
||||
test:
|
||||
$(call INSTALL_INITSCRIPT,hostapd)
|
||||
|
||||
Reference in New Issue
Block a user