diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2018-03-15 12:20:31 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-03-21 12:22:58 +0100 |
commit | ff7d9b9e97df59d010ca6299b4b96ffef42df935 (patch) | |
tree | d46a579fde1abd53ad7491f7ae75f024353a5103 /arch/arm/Makefile | |
parent | c2cbeff1cd792c8e2f05d680b91e5b4578b4456a (diff) | |
download | barebox-ff7d9b9e97df59d010ca6299b4b96ffef42df935.tar.gz barebox-ff7d9b9e97df59d010ca6299b4b96ffef42df935.tar.xz |
ARM: Add 64bit compilation alternative
Our 64bit file variants have the suffix "_64". This adds a make variable
that is either empty or contains "_64" which can be used to easily
alternatively compile the 32bit or 64bit variant.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/Makefile')
-rw-r--r-- | arch/arm/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 620a3ccb0b..da307343c7 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -65,6 +65,7 @@ endif ifeq ($(CONFIG_CPU_V8), y) CPPFLAGS += $(CFLAGS_ABI) $(arch-y) $(tune-y) AFLAGS += -include asm/unified.h +export S64 = _64 else CPPFLAGS += $(CFLAGS_ABI) $(arch-y) $(tune-y) -msoft-float $(CFLAGS_THUMB2) AFLAGS += -include asm/unified.h -msoft-float $(AFLAGS_THUMB2) |