From d849dd8d4cb53dbe769ea0add7ee6fafc506dade Mon Sep 17 00:00:00 2001 From: Stefan Laudemann <thisco@webcake.de> Date: Sat, 21 Feb 2015 20:14:05 +0100 Subject: [PATCH] Makes Makefile use the $(CP) makro instead of $(INSTALL_BIN) for "library"-functions shell scripts. As '/lib/netifd/hostapd.sh' and '/lib/wifi/mac80211.sh' should never be called directly (but only be included from other files like '/lib/netifd/ wireless/mac80211.sh', these files do not need to have an execute bit set, which on the other hand would be ensured by using the $(INSTALL_BIN) macro in the make file. The $(CP) macro would simply copy the files from the package into the image and preserve their permissions. Signed-off-by: Stefan Laudemann <thisco@webcake.de> --- ffpb/ffpb-openwrt-migration-tools/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ffpb/ffpb-openwrt-migration-tools/Makefile b/ffpb/ffpb-openwrt-migration-tools/Makefile index 57430c7..06a16a0 100644 --- a/ffpb/ffpb-openwrt-migration-tools/Makefile +++ b/ffpb/ffpb-openwrt-migration-tools/Makefile @@ -58,8 +58,8 @@ define Package/ffpb-openwrt-migration-tools/install $(INSTALL_BIN) ./files/etc/uci-defaults/90-tlwr1043ndv2-autoupdater-to-stable $(1)/etc/uci-defaults/ $(INSTALL_BIN) ./files/etc/uci-defaults/40-wireless-config-hwmode-fix $(1)/etc/uci-defaults/ $(INSTALL_BIN) ./files/lib/netifd/wireless/mac80211.sh $(1)/lib/netifd/wireless/ - $(INSTALL_BIN) ./files/lib/netifd/hostapd.sh $(1)/lib/netifd/ - $(INSTALL_BIN) ./files/lib/wifi/mac80211.sh $(1)/lib/wifi/ + $(CP) ./files/lib/netifd/hostapd.sh $(1)/lib/netifd/ + $(CP) ./files/lib/wifi/mac80211.sh $(1)/lib/wifi/ endef $(eval $(call BuildPackage,ffpb-openwrt-migration-tools)) -- GitLab