diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2016-05-20 00:56:51 +0200 |
---|---|---|
committer | Rafał Miłecki <zajec5@gmail.com> | 2016-05-20 22:33:15 +0200 |
commit | 1050a609cfcce8e9fbc1b2d2b38093b464d314b4 (patch) | |
tree | 22a745141e7b1f9de0362d7e7f5402c1831ba7ac /package | |
parent | 8998dc14a5bc1fc79d01cfd60ff9cab3e4f0c8be (diff) | |
download | upstream-1050a609cfcce8e9fbc1b2d2b38093b464d314b4.tar.gz upstream-1050a609cfcce8e9fbc1b2d2b38093b464d314b4.tar.bz2 upstream-1050a609cfcce8e9fbc1b2d2b38093b464d314b4.zip |
nvram: install init.d quirks script on brcm47xx only
It contains some quirks for old MIPS devices.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Diffstat (limited to 'package')
-rw-r--r-- | package/utils/nvram/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/package/utils/nvram/Makefile b/package/utils/nvram/Makefile index ace6a97dec..c5a4ca480a 100644 --- a/package/utils/nvram/Makefile +++ b/package/utils/nvram/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=nvram -PKG_RELEASE:=9 +PKG_RELEASE:=10 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) @@ -45,10 +45,12 @@ define Build/Compile 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/ +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)) |