summaryrefslogtreecommitdiff
path: root/package/nvram/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/nvram/Makefile')
-rw-r--r--package/nvram/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/package/nvram/Makefile b/package/nvram/Makefile
index 762eb58183..3b9f82dbe0 100644
--- a/package/nvram/Makefile
+++ b/package/nvram/Makefile
@@ -22,12 +22,11 @@ define Build/Prepare
$(CP) ./src/* $(PKG_BUILD_DIR)
endef
-$(IPKG_NVRAM):
define Package/nvram/install
- install -d -m0755 $(IDIR_NVRAM)/usr/lib
- install -d -m0755 $(IDIR_NVRAM)/usr/sbin
- $(CP) $(PKG_BUILD_DIR)/*.so $(IDIR_NVRAM)/usr/lib
- install -m0755 $(PKG_BUILD_DIR)/nvram $(IDIR_NVRAM)/usr/sbin
+ install -d -m0755 $(1)/usr/lib
+ install -d -m0755 $(1)/usr/sbin
+ $(CP) $(PKG_BUILD_DIR)/*.so $(1)/usr/lib
+ install -m0755 $(PKG_BUILD_DIR)/nvram $(1)/usr/sbin
endef
compile-targets: install-dev