X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=target%2Flinux%2Famazon%2FMakefile;h=d2d4e8d6736b843c9d0e7147bb755792c221e476;hb=c979784af9fe350a7a42c5166eb89e11ac54a2f4;hp=5a5fed598de88f851bd8acc7b06049f76de1fdf0;hpb=4ac203ac44a171514b2df6c36434ca78140ec539;p=openwrt.git diff --git a/target/linux/amazon/Makefile b/target/linux/amazon/Makefile index 5a5fed598d..d2d4e8d673 100644 --- a/target/linux/amazon/Makefile +++ b/target/linux/amazon/Makefile @@ -9,8 +9,8 @@ include $(TOPDIR)/rules.mk ARCH:=mips BOARD:=amazon BOARDNAME:=Infineon Amazon -FEATURES:=squashfs jffs2 broken -LINUX_VERSION:=2.6.21.7 +FEATURES:=squashfs broken +LINUX_VERSION:=3.3.8 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))