projects
/
openwrt
/
staging
/
chunkeey.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
utils/nvram: drop Build/Prepare rule in favor of default one
[openwrt/staging/chunkeey.git]
/
package
/
utils
/
nvram
/
Makefile
diff --git
a/package/utils/nvram/Makefile
b/package/utils/nvram/Makefile
index 992f3366ba5440e8073497af562970cc4f7d3438..acefe8aec18c734ef8f5db8df92e42433fdd33ae 100644
(file)
--- a/
package/utils/nvram/Makefile
+++ b/
package/utils/nvram/Makefile
@@
-8,10
+8,12
@@
include $(TOPDIR)/rules.mk
PKG_NAME:=nvram
include $(TOPDIR)/rules.mk
PKG_NAME:=nvram
-PKG_RELEASE:=
9
+PKG_RELEASE:=
10
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
+PKG_FLAGS:=nonshared
+
include $(INCLUDE_DIR)/package.mk
define Package/nvram
include $(INCLUDE_DIR)/package.mk
define Package/nvram
@@
-27,11
+29,6
@@
define Package/nvram/description
It works on bcm47xx (Linux 2.6) without using the kernel api.
endef
It works on bcm47xx (Linux 2.6) without using the kernel api.
endef
-define Build/Prepare
- mkdir -p $(PKG_BUILD_DIR)
- $(CP) ./src/* $(PKG_BUILD_DIR)/
-endef
-
define Build/Configure
endef
define Build/Configure
endef
@@
-43,10
+40,12
@@
define Build/Compile
endef
define Package/nvram/install
endef
define Package/nvram/install
- $(INSTALL_DIR) $(1)/etc/init.d
- $(INSTALL_BIN) ./files/nvram.init $(1)/etc/init.d/nvram
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/nvram $(1)/usr/sbin/
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/nvram $(1)/usr/sbin/
+ifneq ($(CONFIG_TARGET_brcm47xx),)
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/nvram.init $(1)/etc/init.d/nvram
+endif
endef
$(eval $(call BuildPackage,nvram))
endef
$(eval $(call BuildPackage,nvram))