summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm-2.4/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/brcm-2.4/Makefile')
-rw-r--r--target/linux/brcm-2.4/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/target/linux/brcm-2.4/Makefile b/target/linux/brcm-2.4/Makefile
index ed7336dae..da5cf6404 100644
--- a/target/linux/brcm-2.4/Makefile
+++ b/target/linux/brcm-2.4/Makefile
@@ -11,17 +11,18 @@ BOARD:=brcm-2.4
BOARDNAME:=Broadcom BCM947xx/953xx
FEATURES:=squashfs
+KERNEL:=2.4
+
+include $(INCLUDE_DIR)/target.mk
+
+DEFAULT_PACKAGES += kmod-switch kmod-diag nvram
+
define Target/Description
Build firmware images for Broadcom based routers
(e.g. Linksys WRT54G(S), Asus WL-500g, Motorola WR850G)
endef
-KERNEL:=2.4
-
-include $(INCLUDE_DIR)/kernel-build.mk
-DEFAULT_PACKAGES += kmod-switch kmod-diag nvram
-
# include the profiles
-include profiles/*.mk
-$(eval $(call BuildKernel))
+$(eval $(call BuildTarget))