diff options
Diffstat (limited to 'arch/x86_64')
-rw-r--r-- | arch/x86_64/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86_64/Makefile b/arch/x86_64/Makefile index 6d89ab762ffc..20eb69bd5a6d 100644 --- a/arch/x86_64/Makefile +++ b/arch/x86_64/Makefile | |||
@@ -24,6 +24,12 @@ | |||
24 | # Fill in SRCARCH | 24 | # Fill in SRCARCH |
25 | SRCARCH := x86 | 25 | SRCARCH := x86 |
26 | 26 | ||
27 | # BITS is used as extension for files which are available in a 32 bit | ||
28 | # and a 64 bit version to simplify shared Makefiles. | ||
29 | # e.g.: obj-y += foo_$(BITS).o | ||
30 | BITS := 64 | ||
31 | export BITS | ||
32 | |||
27 | LDFLAGS := -m elf_x86_64 | 33 | LDFLAGS := -m elf_x86_64 |
28 | OBJCOPYFLAGS := -O binary -R .note -R .comment -S | 34 | OBJCOPYFLAGS := -O binary -R .note -R .comment -S |
29 | LDFLAGS_vmlinux := | 35 | LDFLAGS_vmlinux := |