diff options
Diffstat (limited to 'arch/i386/Makefile')
-rw-r--r-- | arch/i386/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/i386/Makefile b/arch/i386/Makefile index b81cb64d48e5..f5b9a37def8b 100644 --- a/arch/i386/Makefile +++ b/arch/i386/Makefile | |||
@@ -20,6 +20,12 @@ | |||
20 | # Fill in SRCARCH | 20 | # Fill in SRCARCH |
21 | SRCARCH := x86 | 21 | SRCARCH := x86 |
22 | 22 | ||
23 | # BITS is used as extension for files which are available in a 32 bit | ||
24 | # and a 64 bit version to simplify shared Makefiles. | ||
25 | # e.g.: obj-y += foo_$(BITS).o | ||
26 | BITS := 32 | ||
27 | export BITS | ||
28 | |||
23 | HAS_BIARCH := $(call cc-option-yn, -m32) | 29 | HAS_BIARCH := $(call cc-option-yn, -m32) |
24 | ifeq ($(HAS_BIARCH),y) | 30 | ifeq ($(HAS_BIARCH),y) |
25 | AS := $(AS) --32 | 31 | AS := $(AS) --32 |