From: Michael Tremer Date: Mon, 24 Apr 2017 13:56:12 +0000 (+0200) Subject: Config: Add macro to update automake scripts on aarch64 X-Git-Tag: v2.21-core122~111 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0d1df90f70d1768ebe54c29fba82df8bfc94bc80;p=ipfire-2.x.git 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 --- diff --git a/lfs/Config b/lfs/Config index cf70f81f91..1cb9e2db46 100644 --- a/lfs/Config +++ b/lfs/Config @@ -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)