X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/17c7b6c3fdc48301e50d22cc6138ede16bd1be24..4a420c6fa29b4dc15e4ccc1bed050f33232569e4:/target/linux/amazon/Makefile diff --git a/target/linux/amazon/Makefile b/target/linux/amazon/Makefile index 1967d52f4..e90fc4c8b 100644 --- a/target/linux/amazon/Makefile +++ b/target/linux/amazon/Makefile @@ -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))