summaryrefslogtreecommitdiff
path: root/openwrt/package/nvram/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/nvram/Makefile')
-rw-r--r--openwrt/package/nvram/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/openwrt/package/nvram/Makefile b/openwrt/package/nvram/Makefile
index 337f722b51..f7312fe18b 100644
--- a/openwrt/package/nvram/Makefile
+++ b/openwrt/package/nvram/Makefile
@@ -10,13 +10,11 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
include $(TOPDIR)/package/rules.mk
# does not depend on menuconfig
-ifneq ($(BOARD),brcm)
+ifneq ($(BOARD)-$(KERNEL),brcm-2.4)
BR2_PACKAGE_NVRAM:=m
else
-ifeq ($(LINUX_VERSION),2.4.30)
BR2_PACKAGE_NVRAM:=y
endif
-endif
$(eval $(call PKG_template,NVRAM,nvram,$(PKG_RELEASE),$(ARCH)))