[packages] wifitoggle: small makefile update
git-svn-id: svn://svn.openwrt.org/openwrt/packages@24715 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
090a9187b8
commit
503ba108ee
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=wifitoggle
|
||||
PKG_VERSION:=1
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
@ -33,7 +33,10 @@ define Build/Compile
|
||||
endef
|
||||
|
||||
define Package/wifitoggle/install
|
||||
$(CP) ./files/* $(1)
|
||||
$(INSTALL_DIR) $(1)/etc/hotplug.d/button
|
||||
$(INSTALL_BIN) ./files/hotplug_wifitoggle $(1)/etc/hotplug.d/button/50-wifitoggle
|
||||
$(INSTALL_DIR) $(1)/etc/config
|
||||
$(INSTALL_DATA) ./files/uci_wifitoggle $(1)/etc/config/wifitoggle
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,wifitoggle))
|
||||
|
Loading…
x
Reference in New Issue
Block a user