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>
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)