]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
kbuild: v850 use generic asm-offsets.h support
authorSam Ravnborg <sam@mars.(none)>
Fri, 9 Sep 2005 19:39:46 +0000 (21:39 +0200)
committerSam Ravnborg <sam@mars.(none)>
Fri, 9 Sep 2005 19:39:46 +0000 (21:39 +0200)
Deleted obsolete stuff from arch makefile
Renamed .c file to asm-offsets.h
Fix include of asm-offsets.h to use new name

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
arch/v850/Makefile
arch/v850/kernel/asm-offsets.c [moved from arch/v850/kernel/asm-consts.c with 100% similarity]
arch/v850/kernel/entry.S

index bf38ca0ad78116eb0246053d51a6352bdb673cba..8be9aacb20a72f9b7c92ff6097c2db60e04372b9 100644 (file)
@@ -51,16 +51,4 @@ root_fs_image_force: $(ROOT_FS_IMAGE)
        $(OBJCOPY) $(OBJCOPY_FLAGS_BLOB) --rename-section .data=.root,alloc,load,readonly,data,contents $< root_fs_image.o
 endif
 
-
-prepare: include/asm-$(ARCH)/asm-consts.h
-
-# Generate constants from C code for use by asm files
-arch/$(ARCH)/kernel/asm-consts.s: include/asm include/linux/version.h \
-                                  include/config/MARKER
-
-include/asm-$(ARCH)/asm-consts.h: arch/$(ARCH)/kernel/asm-consts.s
-       $(call filechk,gen-asm-offsets)
-
-CLEAN_FILES += include/asm-$(ARCH)/asm-consts.h \
-              arch/$(ARCH)/kernel/asm-consts.s \
-              root_fs_image.o
+CLEAN_FILES += root_fs_image.o
index 895e27b1d839f795491fa84a6464e5e929b1f373..d991e4547dbb6ab684b6af361f575e6d142e4bd0 100644 (file)
@@ -22,7 +22,7 @@
 #include <asm/irq.h>
 #include <asm/errno.h>
 
-#include <asm/asm-consts.h>
+#include <asm/asm-offsets.h>
 
 
 /* Make a slightly more convenient alias for C_SYMBOL_NAME.  */