diff options
| author | Sam Ravnborg <sam@mars.(none)> | 2005-09-09 15:39:46 -0400 |
|---|---|---|
| committer | Sam Ravnborg <sam@mars.(none)> | 2005-09-09 15:39:46 -0400 |
| commit | fb61a8615fce15f30b1bb1cf265ed05e251b9ed8 (patch) | |
| tree | abcda121a6dc6aabd630e9e051ce6db652407303 | |
| parent | e2d5df935d8a82cb7a2c50726628fa928aa89b9b (diff) | |
kbuild: v850 use generic asm-offsets.h support
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>
| -rw-r--r-- | arch/v850/Makefile | 14 | ||||
| -rw-r--r-- | arch/v850/kernel/asm-offsets.c (renamed from arch/v850/kernel/asm-consts.c) | 0 | ||||
| -rw-r--r-- | arch/v850/kernel/entry.S | 2 |
3 files changed, 2 insertions, 14 deletions
diff --git a/arch/v850/Makefile b/arch/v850/Makefile index bf38ca0ad781..8be9aacb20a7 100644 --- a/arch/v850/Makefile +++ b/arch/v850/Makefile | |||
| @@ -51,16 +51,4 @@ root_fs_image_force: $(ROOT_FS_IMAGE) | |||
| 51 | $(OBJCOPY) $(OBJCOPY_FLAGS_BLOB) --rename-section .data=.root,alloc,load,readonly,data,contents $< root_fs_image.o | 51 | $(OBJCOPY) $(OBJCOPY_FLAGS_BLOB) --rename-section .data=.root,alloc,load,readonly,data,contents $< root_fs_image.o |
| 52 | endif | 52 | endif |
| 53 | 53 | ||
| 54 | 54 | CLEAN_FILES += root_fs_image.o | |
| 55 | prepare: include/asm-$(ARCH)/asm-consts.h | ||
| 56 | |||
| 57 | # Generate constants from C code for use by asm files | ||
| 58 | arch/$(ARCH)/kernel/asm-consts.s: include/asm include/linux/version.h \ | ||
| 59 | include/config/MARKER | ||
| 60 | |||
| 61 | include/asm-$(ARCH)/asm-consts.h: arch/$(ARCH)/kernel/asm-consts.s | ||
| 62 | $(call filechk,gen-asm-offsets) | ||
| 63 | |||
| 64 | CLEAN_FILES += include/asm-$(ARCH)/asm-consts.h \ | ||
| 65 | arch/$(ARCH)/kernel/asm-consts.s \ | ||
| 66 | root_fs_image.o | ||
diff --git a/arch/v850/kernel/asm-consts.c b/arch/v850/kernel/asm-offsets.c index 24f291369070..24f291369070 100644 --- a/arch/v850/kernel/asm-consts.c +++ b/arch/v850/kernel/asm-offsets.c | |||
diff --git a/arch/v850/kernel/entry.S b/arch/v850/kernel/entry.S index 895e27b1d839..d991e4547dbb 100644 --- a/arch/v850/kernel/entry.S +++ b/arch/v850/kernel/entry.S | |||
| @@ -22,7 +22,7 @@ | |||
| 22 | #include <asm/irq.h> | 22 | #include <asm/irq.h> |
| 23 | #include <asm/errno.h> | 23 | #include <asm/errno.h> |
| 24 | 24 | ||
| 25 | #include <asm/asm-consts.h> | 25 | #include <asm/asm-offsets.h> |
| 26 | 26 | ||
| 27 | 27 | ||
| 28 | /* Make a slightly more convenient alias for C_SYMBOL_NAME. */ | 28 | /* Make a slightly more convenient alias for C_SYMBOL_NAME. */ |
