rendered paste bodyIndex: target/linux/brcm63xx/Makefile
===================================================================
--- target/linux/brcm63xx/Makefile (revision 28)
+++ target/linux/brcm63xx/Makefile (working copy)
@@ -8,15 +8,27 @@
ARCH:=mips
BOARD:=brcm63xx
-BOARDNAME:=Broadcom BCM963xx
+BOARDNAME:=Neufbox v4
FEATURES:=squashfs jffs2 usb atm
LINUX_VERSION:=2.6.8.1
include $(INCLUDE_DIR)/target.mk
+KERNELNAME:="vmlinux"
+
define Target/Description
- Build firmware images for Broadcom based xDSL/routers
- (e.g. Inventel Livebox, Siemens SE515)
+ Build firmware for Neuf/Cegetel Neufbox v4
endef
+define Kernel/Prepare/Neufbox
+ bzcat $(DL_DIR)/$(LINUX_SOURCE) | tar -C $(KERNEL_BUILD_DIR) $(TAR_OPTIONS)
+ if [ -d ./files ]; then $(CP) ./files/* $(LINUX_DIR)/; fi
+ if [ -d ./patches/generic_2.6 ]; then $(PATCH) $(LINUX_DIR) ./patches/generic_2.6; fi
+ if [ -d ./patches/neufbox ]; then $(PATCH) $(LINUX_DIR) ./patches/neufbox; fi
+endef
+
+define Kernel/Prepare
+ $(call Kernel/Prepare/Neufbox)
+endef
+
$(eval $(call BuildTarget))