Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e2d5df93 authored by Sam Ravnborg's avatar Sam Ravnborg
Browse files

kbuild: alpha,x86_64 use generic asm-offsets.h support



Delete obsolete stuff from arch makefiles
Rename .h file to asm-offsets.h

Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent e6ae744d
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -108,20 +108,9 @@ $(boot)/vmlinux.gz: vmlinux
bootimage bootpfile bootpzfile: vmlinux
	$(Q)$(MAKE) $(build)=$(boot) $(boot)/$@


prepare: include/asm-$(ARCH)/asm_offsets.h

arch/$(ARCH)/kernel/asm-offsets.s: include/asm include/linux/version.h \
				   include/config/MARKER

include/asm-$(ARCH)/asm_offsets.h: arch/$(ARCH)/kernel/asm-offsets.s
	$(call filechk,gen-asm-offsets)

archclean:
	$(Q)$(MAKE) $(clean)=$(boot)

CLEAN_FILES += include/asm-$(ARCH)/asm_offsets.h

define archhelp
  echo '* boot		- Compressed kernel image (arch/alpha/boot/vmlinux.gz)'
  echo '  bootimage	- SRM bootable image (arch/alpha/boot/bootimage)'
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
 */

#include <linux/config.h>
#include <asm/asm_offsets.h>
#include <asm/asm-offsets.h>
#include <asm/thread_info.h>
#include <asm/pal.h>
#include <asm/errno.h>
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@

#include <linux/config.h>
#include <asm/system.h>
#include <asm/asm_offsets.h>
#include <asm/asm-offsets.h>

.globl swapper_pg_dir
.globl _stext
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
 * Verify that we have not overflowed the stack.  Oops if we have.
 */

#include <asm/asm_offsets.h>
#include <asm/asm-offsets.h>

	.text
	.set noat
+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@
 * uninitialized local variables in the act.
 */

#include <asm/asm_offsets.h>
#include <asm/asm-offsets.h>

	.text
	.set noat
Loading