It contains some quirks for old MIPS devices.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
include $(TOPDIR)/rules.mk
PKG_NAME:=nvram
include $(TOPDIR)/rules.mk
PKG_NAME:=nvram
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
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))