summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-07-21 17:41:49 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-07-21 17:41:49 +0000
commit6a3390f0678da283e857485f79e7540339c41a71 (patch)
tree3021a82480e5bb541d04f5a77624a023ce5273cc
parent65157ef12a8118a41bf16f73e2c03ba1bc9da7a3 (diff)
fix nvram compile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1523 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--openwrt/target/linux/package/nvram/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/openwrt/target/linux/package/nvram/Makefile b/openwrt/target/linux/package/nvram/Makefile
index da67ffa7fb..3f7626ab07 100644
--- a/openwrt/target/linux/package/nvram/Makefile
+++ b/openwrt/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
+
+