From 5c212023d2ac7132291590f20795c8680c37bf85 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 10 Sep 2005 16:57:20 +0000 Subject: [PATCH] fix the broken build for brcm 2.4, idea from nbd SVN-Revision: 1887 --- openwrt/package/Makefile | 1 + openwrt/package/nvram/Makefile | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/openwrt/package/Makefile b/openwrt/package/Makefile index cdc592bdde2..86a84a4755b 100644 --- a/openwrt/package/Makefile +++ b/openwrt/package/Makefile @@ -372,6 +372,7 @@ $(STAMP_DIR): TARGET_DIR="$(TARGET_DIR)" \ IPKG_CONF="$(IPKG_CONF)" \ BOARD="$(BOARD)" \ + KERNEL="$(KERNEL)" \ install %-rebuild: diff --git a/openwrt/package/nvram/Makefile b/openwrt/package/nvram/Makefile index 337f722b519..f7312fe18b3 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)))