Skip to content

Commit

Permalink
kbuild: v850 use generic asm-offsets.h support
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Sam Ravnborg committed Sep 9, 2005
1 parent e2d5df9 commit fb61a86
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
14 changes: 1 addition & 13 deletions arch/v850/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
File renamed without changes.
2 changes: 1 addition & 1 deletion arch/v850/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit fb61a86

Please sign in to comment.