1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-24 21:34:08 +03:00

architecture: add tuples for arm

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2014-07-03 09:03:16 -04:00
parent 9b3a0ba3e9
commit fd3b401e5d

View File

@ -142,8 +142,13 @@ Architecture uname_architecture(void);
# define native_architecture() ARCHITECTURE_ARM_BE
# error "Missing ARCH_TUPLE for ARM_BE"
# else
# define native_architecture() ARCHITECTURE_ARM
# error "Missing ARCH_TUPLE for ARM"
# if defined(__ARM_PCS_VFP)
# define native_architecture() ARCHITECTURE_ARM
# define ARCH_TUPLE "arm-linux-gnueabihf"
# else
# define native_architecture() ARCHITECTURE_ARM
# define ARCH_TUPLE "arm-linux-gnueabi"
# endif
# endif
#elif defined(__sh64__)
# define native_architecture() ARCHITECTURE_SH64