diff options
Diffstat (limited to 'arch/xtensa/Makefile')
-rw-r--r-- | arch/xtensa/Makefile | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/arch/xtensa/Makefile b/arch/xtensa/Makefile index 27847e4ffcbf..67ef4cd173b9 100644 --- a/arch/xtensa/Makefile +++ b/arch/xtensa/Makefile | |||
@@ -66,13 +66,7 @@ boot := arch/xtensa/boot | |||
66 | 66 | ||
67 | archinc := include/asm-xtensa | 67 | archinc := include/asm-xtensa |
68 | 68 | ||
69 | arch/xtensa/kernel/asm-offsets.s: \ | 69 | prepare: $(archinc)/.platform |
70 | arch/xtensa/kernel/asm-offsets.c $(archinc)/.platform | ||
71 | |||
72 | include/asm-xtensa/offsets.h: arch/xtensa/kernel/asm-offsets.s | ||
73 | $(call filechk,gen-asm-offsets) | ||
74 | |||
75 | prepare: $(archinc)/.platform $(archinc)/offsets.h | ||
76 | 70 | ||
77 | # Update machine cpu and platform symlinks if something which affects | 71 | # Update machine cpu and platform symlinks if something which affects |
78 | # them changed. | 72 | # them changed. |
@@ -94,7 +88,7 @@ bzImage : zImage | |||
94 | zImage zImage.initrd: vmlinux | 88 | zImage zImage.initrd: vmlinux |
95 | $(Q)$(MAKE) $(build)=$(boot) $@ | 89 | $(Q)$(MAKE) $(build)=$(boot) $@ |
96 | 90 | ||
97 | CLEAN_FILES += arch/xtensa/vmlinux.lds $(archinc)/offset.h \ | 91 | CLEAN_FILES += arch/xtensa/vmlinux.lds \ |
98 | $(archinc)/platform $(archinc)/xtensa/config \ | 92 | $(archinc)/platform $(archinc)/xtensa/config \ |
99 | $(archinc)/.platform | 93 | $(archinc)/.platform |
100 | 94 | ||