From d6d28acee05db669c55b53095044c6a791127c14 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Wed, 24 Dec 2014 13:23:27 +0900 Subject: kbuild: move asm-offsets.h rule to ./Kbuild Currently, MIPS is the only architecture that needs include/generated/asm-offsets.h, but we have got ./Kbuild file now. It is a good reason to move asm-offsets.h rule from arch/mips/Makefile to ./Kbuild and add dummy asm-offsets.c for the other architectures. asm-offsets.h would be useful for all the architectures. This commit does not implement include/generated/bounds.h, but if necessary, it is easy to implement it. Signed-off-by: Masahiro Yamada Signed-off-by: Sascha Hauer --- arch/x86/lib/asm-offsets.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 arch/x86/lib/asm-offsets.c (limited to 'arch/x86') diff --git a/arch/x86/lib/asm-offsets.c b/arch/x86/lib/asm-offsets.c new file mode 100644 index 0000000000..b1be3e5390 --- /dev/null +++ b/arch/x86/lib/asm-offsets.c @@ -0,0 +1,11 @@ +/* + * Generate definitions needed by assembly language modules. + * This code generates raw asm output which is post-processed to extract + * and format the required data. + */ + +#include + +void common(void) +{ +} -- cgit v1.2.3