]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
kbuild: h8300,m68knommu,sh,sh64 use generic asm-offsets.h support
authorSam Ravnborg <sam@mars.(none)>
Fri, 9 Sep 2005 18:28:49 +0000 (20:28 +0200)
committerSam Ravnborg <sam@mars.(none)>
Fri, 9 Sep 2005 18:28:49 +0000 (20:28 +0200)
h8300, m68knommu, sh and sh64 all used the name asm-offsets.h so minimal
changes required.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
arch/h8300/Makefile
arch/m68knommu/Makefile
arch/sh/Makefile
arch/sh64/Makefile

index c9b80cffd71d5309c79747518de03190682a04a2..40b3f56f3666b2504b79c575a3e6c41ee0d09310 100644 (file)
@@ -61,12 +61,6 @@ archmrproper:
 archclean:
        $(Q)$(MAKE) $(clean)=$(boot)
 
-prepare: include/asm-$(ARCH)/asm-offsets.h
-
-include/asm-$(ARCH)/asm-offsets.h: arch/$(ARCH)/kernel/asm-offsets.s \
-                                  include/asm include/linux/version.h
-       $(call filechk,gen-asm-offsets)
-
 vmlinux.srec vmlinux.bin: vmlinux
        $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
 
@@ -74,5 +68,3 @@ define archhelp
   echo  'vmlinux.bin  - Create raw binary'
   echo  'vmlinux.srec - Create srec binary'
 endef
-
-CLEAN_FILES += include/asm-$(ARCH)/asm-offsets.h
index 7ce5e55b2401e40716faeaaf5fdacbe903cfea2f..b8fdf191b8f6b3e95d05830f13dc33e7b06c1425 100644 (file)
@@ -102,21 +102,11 @@ CFLAGS += -DUTS_SYSNAME=\"uClinux\"
 
 head-y := arch/m68knommu/platform/$(cpuclass-y)/head.o
 
-CLEAN_FILES := include/asm-$(ARCH)/asm-offsets.h \
-              arch/$(ARCH)/kernel/asm-offsets.s
-
 core-y += arch/m68knommu/kernel/ \
           arch/m68knommu/mm/ \
           $(CLASSDIR) \
           arch/m68knommu/platform/$(PLATFORM)/
 libs-y += arch/m68knommu/lib/
 
-prepare: include/asm-$(ARCH)/asm-offsets.h
-
 archclean:
        $(Q)$(MAKE) $(clean)=arch/m68knommu/boot
-
-include/asm-$(ARCH)/asm-offsets.h: arch/$(ARCH)/kernel/asm-offsets.s \
-                                  include/asm include/linux/version.h \
-                                  include/config/MARKER
-       $(call filechk,gen-asm-offsets)
index b5635635b5ee7f8700b1b7137eba910941a34bab..19f00d57acf07a031fe35b59de5d07e963d119b7 100644 (file)
@@ -155,7 +155,7 @@ endif
 prepare: maketools include/asm-sh/.cpu include/asm-sh/.mach
 
 .PHONY: maketools FORCE
-maketools: include/asm-sh/asm-offsets.h include/linux/version.h FORCE
+maketools:  include/linux/version.h FORCE
        $(Q)$(MAKE) $(build)=arch/sh/tools include/asm-sh/machtypes.h
 
 all: zImage
@@ -168,14 +168,7 @@ compressed: zImage
 archclean:
        $(Q)$(MAKE) $(clean)=$(boot)
 
-CLEAN_FILES += include/asm-sh/machtypes.h include/asm-sh/asm-offsets.h
-
-arch/sh/kernel/asm-offsets.s: include/asm include/linux/version.h \
-                             include/asm-sh/.cpu include/asm-sh/.mach
-
-include/asm-sh/asm-offsets.h: arch/sh/kernel/asm-offsets.s
-       $(call filechk,gen-asm-offsets)
-
+CLEAN_FILES += include/asm-sh/machtypes.h
 
 define archhelp
        @echo '  zImage                    - Compressed kernel image (arch/sh/boot/zImage)'
index b4fd8e13fea99541a31b53456c0fe93bd78c1395..39073734a4761ab15141d5427573d34c2a1bc9cf 100644 (file)
@@ -73,11 +73,7 @@ compressed: zImage
 archclean:
        $(Q)$(MAKE) $(clean)=$(boot)
 
-prepare: include/asm-$(ARCH)/asm-offsets.h arch/$(ARCH)/lib/syscalltab.h
-
-include/asm-$(ARCH)/asm-offsets.h: arch/$(ARCH)/kernel/asm-offsets.s \
-                                  include/asm include/linux/version.h
-       $(call filechk,gen-asm-offsets)
+prepare: arch/$(ARCH)/lib/syscalltab.h
 
 define filechk_gen-syscalltab
        (set -e; \
@@ -108,7 +104,7 @@ endef
 arch/$(ARCH)/lib/syscalltab.h: arch/sh64/kernel/syscalls.S
        $(call filechk,gen-syscalltab)
 
-CLEAN_FILES += include/asm-$(ARCH)/asm-offsets.h arch/$(ARCH)/lib/syscalltab.h
+CLEAN_FILES += arch/$(ARCH)/lib/syscalltab.h
 
 define archhelp
        @echo '  zImage                    - Compressed kernel image (arch/sh64/boot/zImage)'