simplify and fix adm5120 image building, fix broken FEATURES handling
[openwrt.git] / package / broadcom-diag / Makefile
index c414c3d..b21f33a 100644 (file)
@@ -30,7 +30,7 @@ define Build/Prepare
 endef
 
 ifeq ($(BOARD),brcm)
-       BUILDFLAGS=-DBCMDRIVER -I$(LINUX_DIR)/arch/mips/bcm947xx/include
+       BUILDFLAGS=-DBCMDRIVER -I$(LINUX_DIR)/arch/mips/bcm947xx/include $(if $(CONFIG_LINUX_2_4),-DLINUX_2_4)
 endif
 
 define Build/Compile
This page took 0.020676 seconds and 4 git commands to generate.