summaryrefslogtreecommitdiffstats
path: root/package/broadcom-diag/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/broadcom-diag/Makefile')
-rw-r--r--package/broadcom-diag/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/broadcom-diag/Makefile b/package/broadcom-diag/Makefile
index c414c3d1c..b21f33a63 100644
--- a/package/broadcom-diag/Makefile
+++ b/package/broadcom-diag/Makefile
@@ -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