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-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d3df61006edf9181d69b4625d6aae98738e65b2f;p=people%2Fms%2Fipfire-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 5cd32da067..74e2df160f 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)