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