Skip to content

Commit

Permalink
nvram: install init.d quirks script on brcm47xx only
Browse files Browse the repository at this point in the history
It contains some quirks for old MIPS devices.

Signed-off-by: Rafał Miłecki <[email protected]>
  • Loading branch information
rmilecki committed May 20, 2016
1 parent 8998dc1 commit 1050a60
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions package/utils/nvram/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=nvram
PKG_RELEASE:=9
PKG_RELEASE:=10

PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)

Expand Down Expand Up @@ -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))

0 comments on commit 1050a60

Please sign in to comment.