fix the broken build for brcm 2.4, idea from nbd

SVN-Revision: 1887
master
Waldemar Brodkorb 19 years ago
parent cf4b788918
commit 5c212023d2
  1. 1
      openwrt/package/Makefile
  2. 4
      openwrt/package/nvram/Makefile

@ -372,6 +372,7 @@ $(STAMP_DIR):
TARGET_DIR="$(TARGET_DIR)" \ TARGET_DIR="$(TARGET_DIR)" \
IPKG_CONF="$(IPKG_CONF)" \ IPKG_CONF="$(IPKG_CONF)" \
BOARD="$(BOARD)" \ BOARD="$(BOARD)" \
KERNEL="$(KERNEL)" \
install install
%-rebuild: %-rebuild:

@ -10,13 +10,11 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
include $(TOPDIR)/package/rules.mk include $(TOPDIR)/package/rules.mk
# does not depend on menuconfig # does not depend on menuconfig
ifneq ($(BOARD),brcm) ifneq ($(BOARD)-$(KERNEL),brcm-2.4)
BR2_PACKAGE_NVRAM:=m BR2_PACKAGE_NVRAM:=m
else else
ifeq ($(LINUX_VERSION),2.4.30)
BR2_PACKAGE_NVRAM:=y BR2_PACKAGE_NVRAM:=y
endif endif
endif
$(eval $(call PKG_template,NVRAM,nvram,$(PKG_RELEASE),$(ARCH))) $(eval $(call PKG_template,NVRAM,nvram,$(PKG_RELEASE),$(ARCH)))

Loading…
Cancel
Save