diff options
Diffstat (limited to 'arch/m68knommu/Makefile')
-rw-r--r-- | arch/m68knommu/Makefile | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/arch/m68knommu/Makefile b/arch/m68knommu/Makefile index a254aa9d4998..b8fdf191b8f6 100644 --- a/arch/m68knommu/Makefile +++ b/arch/m68knommu/Makefile | |||
@@ -14,6 +14,7 @@ platform-$(CONFIG_M68VZ328) := 68VZ328 | |||
14 | platform-$(CONFIG_M68360) := 68360 | 14 | platform-$(CONFIG_M68360) := 68360 |
15 | platform-$(CONFIG_M5206) := 5206 | 15 | platform-$(CONFIG_M5206) := 5206 |
16 | platform-$(CONFIG_M5206e) := 5206e | 16 | platform-$(CONFIG_M5206e) := 5206e |
17 | platform-$(CONFIG_M523x) := 523x | ||
17 | platform-$(CONFIG_M5249) := 5249 | 18 | platform-$(CONFIG_M5249) := 5249 |
18 | platform-$(CONFIG_M527x) := 527x | 19 | platform-$(CONFIG_M527x) := 527x |
19 | platform-$(CONFIG_M5272) := 5272 | 20 | platform-$(CONFIG_M5272) := 5272 |
@@ -29,6 +30,7 @@ board-$(CONFIG_UCQUICC) := uCquicc | |||
29 | board-$(CONFIG_DRAGEN2) := de2 | 30 | board-$(CONFIG_DRAGEN2) := de2 |
30 | board-$(CONFIG_ARNEWSH) := ARNEWSH | 31 | board-$(CONFIG_ARNEWSH) := ARNEWSH |
31 | board-$(CONFIG_MOTOROLA) := MOTOROLA | 32 | board-$(CONFIG_MOTOROLA) := MOTOROLA |
33 | board-$(CONFIG_M5235EVB) := M5235EVB | ||
32 | board-$(CONFIG_M5271EVB) := M5271EVB | 34 | board-$(CONFIG_M5271EVB) := M5271EVB |
33 | board-$(CONFIG_M5275EVB) := M5275EVB | 35 | board-$(CONFIG_M5275EVB) := M5275EVB |
34 | board-$(CONFIG_M5282EVB) := M5282EVB | 36 | board-$(CONFIG_M5282EVB) := M5282EVB |
@@ -39,6 +41,7 @@ board-$(CONFIG_SECUREEDGEMP3) := MP3 | |||
39 | board-$(CONFIG_CLEOPATRA) := CLEOPATRA | 41 | board-$(CONFIG_CLEOPATRA) := CLEOPATRA |
40 | board-$(CONFIG_senTec) := senTec | 42 | board-$(CONFIG_senTec) := senTec |
41 | board-$(CONFIG_SNEHA) := SNEHA | 43 | board-$(CONFIG_SNEHA) := SNEHA |
44 | board-$(CONFIG_MOD5272) := MOD5272 | ||
42 | BOARD := $(board-y) | 45 | BOARD := $(board-y) |
43 | 46 | ||
44 | model-$(CONFIG_RAMKERNEL) := ram | 47 | model-$(CONFIG_RAMKERNEL) := ram |
@@ -53,6 +56,7 @@ MODEL := $(model-y) | |||
53 | # | 56 | # |
54 | cpuclass-$(CONFIG_M5206) := 5307 | 57 | cpuclass-$(CONFIG_M5206) := 5307 |
55 | cpuclass-$(CONFIG_M5206e) := 5307 | 58 | cpuclass-$(CONFIG_M5206e) := 5307 |
59 | cpuclass-$(CONFIG_M523x) := 5307 | ||
56 | cpuclass-$(CONFIG_M5249) := 5307 | 60 | cpuclass-$(CONFIG_M5249) := 5307 |
57 | cpuclass-$(CONFIG_M527x) := 5307 | 61 | cpuclass-$(CONFIG_M527x) := 5307 |
58 | cpuclass-$(CONFIG_M5272) := 5307 | 62 | cpuclass-$(CONFIG_M5272) := 5307 |
@@ -76,6 +80,7 @@ export PLATFORM BOARD MODEL CPUCLASS | |||
76 | # | 80 | # |
77 | cflags-$(CONFIG_M5206) := -m5200 -Wa,-S -Wa,-m5200 | 81 | cflags-$(CONFIG_M5206) := -m5200 -Wa,-S -Wa,-m5200 |
78 | cflags-$(CONFIG_M5206e) := -m5200 -Wa,-S -Wa,-m5200 | 82 | cflags-$(CONFIG_M5206e) := -m5200 -Wa,-S -Wa,-m5200 |
83 | cflags-$(CONFIG_M523x) := -m5307 -Wa,-S -Wa,-m5307 | ||
79 | cflags-$(CONFIG_M5249) := -m5200 -Wa,-S -Wa,-m5200 | 84 | cflags-$(CONFIG_M5249) := -m5200 -Wa,-S -Wa,-m5200 |
80 | cflags-$(CONFIG_M527x) := -m5307 -Wa,-S -Wa,-m5307 | 85 | cflags-$(CONFIG_M527x) := -m5307 -Wa,-S -Wa,-m5307 |
81 | cflags-$(CONFIG_M5272) := -m5307 -Wa,-S -Wa,-m5307 | 86 | cflags-$(CONFIG_M5272) := -m5307 -Wa,-S -Wa,-m5307 |
@@ -97,21 +102,11 @@ CFLAGS += -DUTS_SYSNAME=\"uClinux\" | |||
97 | 102 | ||
98 | head-y := arch/m68knommu/platform/$(cpuclass-y)/head.o | 103 | head-y := arch/m68knommu/platform/$(cpuclass-y)/head.o |
99 | 104 | ||
100 | CLEAN_FILES := include/asm-$(ARCH)/asm-offsets.h \ | ||
101 | arch/$(ARCH)/kernel/asm-offsets.s | ||
102 | |||
103 | core-y += arch/m68knommu/kernel/ \ | 105 | core-y += arch/m68knommu/kernel/ \ |
104 | arch/m68knommu/mm/ \ | 106 | arch/m68knommu/mm/ \ |
105 | $(CLASSDIR) \ | 107 | $(CLASSDIR) \ |
106 | arch/m68knommu/platform/$(PLATFORM)/ | 108 | arch/m68knommu/platform/$(PLATFORM)/ |
107 | libs-y += arch/m68knommu/lib/ | 109 | libs-y += arch/m68knommu/lib/ |
108 | 110 | ||
109 | prepare: include/asm-$(ARCH)/asm-offsets.h | ||
110 | |||
111 | archclean: | 111 | archclean: |
112 | $(call descend arch/$(ARCH)/boot, subdirclean) | 112 | $(Q)$(MAKE) $(clean)=arch/m68knommu/boot |
113 | |||
114 | include/asm-$(ARCH)/asm-offsets.h: arch/$(ARCH)/kernel/asm-offsets.s \ | ||
115 | include/asm include/linux/version.h \ | ||
116 | include/config/MARKER | ||
117 | $(call filechk,gen-asm-offsets) | ||