mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-28 12:07:42 +02:00
fix the broken build for brcm 2.4, idea from nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1887 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
2b297a5c1d
commit
040ca7d584
@ -372,6 +372,7 @@ $(STAMP_DIR):
|
||||
TARGET_DIR="$(TARGET_DIR)" \
|
||||
IPKG_CONF="$(IPKG_CONF)" \
|
||||
BOARD="$(BOARD)" \
|
||||
KERNEL="$(KERNEL)" \
|
||||
install
|
||||
|
||||
%-rebuild:
|
||||
|
@ -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)))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user