summaryrefslogtreecommitdiffstats
path: root/target/linux/package/nvram/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/package/nvram/Makefile')
-rw-r--r--target/linux/package/nvram/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/target/linux/package/nvram/Makefile b/target/linux/package/nvram/Makefile
index da67ffa7f..3f7626ab0 100644
--- a/target/linux/package/nvram/Makefile
+++ b/target/linux/package/nvram/Makefile
@@ -10,7 +10,7 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
include $(TOPDIR)/package/rules.mk
BR2_PACKAGE_NVRAM:=y # does not depend on menuconfig
-$(eval $(call PKG_template,NVRAM,nvram,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
+$(eval $(call PKG_template,NVRAM,nvram,$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.prepared:
mkdir -p $(PKG_BUILD_DIR)
@@ -31,3 +31,9 @@ $(IPKG_NVRAM):
$(RSTRIP) $(IDIR_NVRAM)
$(IPKG_BUILD) $(IDIR_NVRAM) $(PACKAGE_DIR)
+
+compile: install-dev
+install-dev:
+ cp $(PKG_BUILD_DIR)/*.so $(STAGING_DIR)/usr/lib
+
+