Skip to content
Snippets Groups Projects
Commit d849dd8d authored by Stefan Laudemann's avatar Stefan Laudemann
Browse files

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: default avatarStefan Laudemann <thisco@webcake.de>
parent 81eaf78a
No related branches found
No related tags found
No related merge requests found
......@@ -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))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment