diff options
author | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-08-05 07:49:09 -0400 |
---|---|---|
committer | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-08-05 07:49:09 -0400 |
commit | 964d219b6a8a79ea4c8d77b6dcdcbbcda403c392 (patch) | |
tree | e83c41834dec8650362689573eb4e35619d4350f /arch/avr32/Makefile | |
parent | 84db8d7cdb072866f5a6c6ac2c9a74c5c48dd22f (diff) |
avr32: Introduce arch/avr32/mach-*/include/mach
Add arch/avr32/mach-*/include to include search path and copy all the
files from include/asm/arch there. The old files will be removed once
ARM does the same change and all common drivers are converted.
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'arch/avr32/Makefile')
-rw-r--r-- | arch/avr32/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/avr32/Makefile b/arch/avr32/Makefile index 17a3529341dd..5b46433d53a5 100644 --- a/arch/avr32/Makefile +++ b/arch/avr32/Makefile | |||
@@ -23,9 +23,14 @@ KBUILD_AFLAGS += $(cpuflags-y) | |||
23 | 23 | ||
24 | CHECKFLAGS += -D__avr32__ -D__BIG_ENDIAN | 24 | CHECKFLAGS += -D__avr32__ -D__BIG_ENDIAN |
25 | 25 | ||
26 | machine-$(CONFIG_PLATFORM_AT32AP) := at32ap | ||
27 | machdirs := $(patsubst %,arch/avr32/mach-%/, $(machine-y)) | ||
28 | |||
29 | KBUILD_CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs)) | ||
30 | |||
26 | head-$(CONFIG_LOADER_U_BOOT) += arch/avr32/boot/u-boot/head.o | 31 | head-$(CONFIG_LOADER_U_BOOT) += arch/avr32/boot/u-boot/head.o |
27 | head-y += arch/avr32/kernel/head.o | 32 | head-y += arch/avr32/kernel/head.o |
28 | core-$(CONFIG_PLATFORM_AT32AP) += arch/avr32/mach-at32ap/ | 33 | core-y += $(machdirs) |
29 | core-$(CONFIG_BOARD_ATSTK1000) += arch/avr32/boards/atstk1000/ | 34 | core-$(CONFIG_BOARD_ATSTK1000) += arch/avr32/boards/atstk1000/ |
30 | core-$(CONFIG_BOARD_ATNGW100) += arch/avr32/boards/atngw100/ | 35 | core-$(CONFIG_BOARD_ATNGW100) += arch/avr32/boards/atngw100/ |
31 | core-$(CONFIG_LOADER_U_BOOT) += arch/avr32/boot/u-boot/ | 36 | core-$(CONFIG_LOADER_U_BOOT) += arch/avr32/boot/u-boot/ |