summaryrefslogtreecommitdiff
path: root/openwrt/package/nvram
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2005-09-10 16:57:20 +0000
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2005-09-10 16:57:20 +0000
commit5c212023d2ac7132291590f20795c8680c37bf85 (patch)
tree73b36e4b3117ba3ba575158f4694105c721e6ffb /openwrt/package/nvram
parentcf4b7889184f34a2ccaa5fd1f0fbcbcc222cb9b8 (diff)
downloadmtk-20170518-5c212023d2ac7132291590f20795c8680c37bf85.zip
mtk-20170518-5c212023d2ac7132291590f20795c8680c37bf85.tar.gz
mtk-20170518-5c212023d2ac7132291590f20795c8680c37bf85.tar.bz2
fix the broken build for brcm 2.4, idea from nbd
SVN-Revision: 1887
Diffstat (limited to 'openwrt/package/nvram')
-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 337f722..f7312fe 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)))