X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=target%2Flinux%2Famazon%2FMakefile;h=bfab52e506dffd949dd3f7a1b2f55ca22b066368;hp=5a5fed598de88f851bd8acc7b06049f76de1fdf0;hb=4b02a5b7efaa4f60433e486b0de6932e586591dc;hpb=7fd7e68e8c896780585bcefb23df6ac77c4326ed diff --git a/target/linux/amazon/Makefile b/target/linux/amazon/Makefile index 5a5fed598d..bfab52e506 100644 --- a/target/linux/amazon/Makefile +++ b/target/linux/amazon/Makefile @@ -10,7 +10,7 @@ ARCH:=mips BOARD:=amazon BOARDNAME:=Infineon Amazon FEATURES:=squashfs jffs2 broken -LINUX_VERSION:=2.6.21.7 +LINUX_VERSION:=3.3.5 include $(INCLUDE_DIR)/target.mk @@ -18,12 +18,10 @@ define Target/Description Build firmware images for Infineon Amazon boards endef -ifeq ($(KERNEL_PATCHVER),2.6.30) - define Kernel/Prepare +define Kernel/Prepare $(call Kernel/Prepare/Default) - mv $(LINUX_DIR)/include/asm-mips/mach-amazon $(LINUX_DIR)/arch/mips/include/asm/mach-amazon - mv $(LINUX_DIR)/drivers/char/watchdog/amazon_wdt.c $(LINUX_DIR)/drivers/watchdog/amazon_wdt.c - endef -endif + 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 BuildTarget))