ar71xx: enable sysupgrade on the WHR-G301N and WHR-HP-GN boards
[openwrt.git] / target / linux / amazon / Makefile
index 1967d52..e90fc4c 100644 (file)
@@ -10,16 +10,18 @@ ARCH:=mips
 BOARD:=amazon
 BOARDNAME:=Infineon Amazon
 FEATURES:=squashfs jffs2 broken
+LINUX_VERSION:=2.6.37.6
+
+include $(INCLUDE_DIR)/target.mk
 
 define Target/Description
        Build firmware images for Infineon Amazon boards
 endef
 
-KERNELNAME:="uImage"
-
-include $(INCLUDE_DIR)/kernel-build.mk
-
-# include the profiles
--include profiles/*.mk
+define Kernel/Prepare
+       $(call Kernel/Prepare/Default)
+       mkdir -p $(LINUX_DIR)/arch/mips/include/asm/amazon
+       $(CP) $(LINUX_DIR)/include/asm-mips/amazon/*.h $(LINUX_DIR)/arch/mips/include/asm/amazon
+endef
 
-$(eval $(call BuildKernel))
+$(eval $(call BuildTarget))
This page took 0.0253 seconds and 4 git commands to generate.