fix a bug that prevents the wgt634u from initializing the filesystem properly
[openwrt.git] / openwrt / package / portsentry / Makefile
index 7c5dd3c..18cfec7 100644 (file)
@@ -17,6 +17,9 @@ include $(TOPDIR)/package/rules.mk
 
 $(eval $(call PKG_template,PORTSENTRY,portsentry,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
 
+$(PKG_BUILD_DIR)/.configured:
+       touch $@
+
 $(PKG_BUILD_DIR)/.built:
        $(MAKE) -C $(PKG_BUILD_DIR) linux
        touch $@
@@ -24,8 +27,8 @@ $(PKG_BUILD_DIR)/.built:
 $(IPKG_PORTSENTRY): 
        mkdir -p $(IDIR_PORTSENTRY)/usr/bin
        mkdir -p $(IDIR_PORTSENTRY)/etc
-       cp $(PKG_BUILD_DIR)/$(PKG_NAME).conf $(IDIR_PORTSENTRY)/etc/
-       cp $(PKG_BUILD_DIR)/$(PKG_NAME) $(IDIR_PORTSENTRY)/usr/bin/
+       $(CP) $(PKG_BUILD_DIR)/$(PKG_NAME).conf $(IDIR_PORTSENTRY)/etc/
+       $(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(IDIR_PORTSENTRY)/usr/bin/
        $(STRIP) $(IDIR_PORTSENTRY)/usr/bin/*
        $(IPKG_BUILD) $(IDIR_PORTSENTRY) $(PACKAGE_DIR)
 
This page took 0.034213 seconds and 4 git commands to generate.