diff options
author | Tim Murray <timmurray@google.com> | 2014-10-15 14:05:01 -0700 |
---|---|---|
committer | Tim Murray <timmurray@google.com> | 2014-10-15 14:17:58 -0700 |
commit | 38883df9fc8fc1c488d5b53828c6bd3dfe2ddbb8 (patch) | |
tree | ae68ff200c7de5de9fd4aac77b10a677ae83a47c | |
parent | f084384e0d00eb169928199bf1093e7f0a53358a (diff) | |
download | libbcc-lollipop-dev.tar.gz |
add ARM support for x86 bcc if specifiedlollipop-dev
bug 17765171
Change-Id: I6442f51ed1cab343bb50a0fadbcfe1ab8e998a95
-rw-r--r-- | libbcc-targets.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libbcc-targets.mk b/libbcc-targets.mk index 35b1ee7..a95a9aa 100644 --- a/libbcc-targets.mk +++ b/libbcc-targets.mk @@ -35,6 +35,12 @@ LOCAL_CFLAGS_mips64 += -DFORCE_MIPS64_CODEGEN LOCAL_CFLAGS_x86 += -DFORCE_X86_CODEGEN LOCAL_CFLAGS_x86_64 += -DFORCE_X86_64_CODEGEN +ifeq ($(BUILD_ARM_FOR_X86),true) +LOCAL_CFLAGS_x86 += -DPROVIDE_ARM_CODEGEN -DFORCE_BUILD_ARM +LOCAL_CFLAGS_x86_64 += -DPROVIDE_ARM_CODEGEN -DFORCE_BUILD_ARM +endif + + ifeq (,$(filter $(TARGET_ARCH),arm64 arm mips mips64 x86 x86_64)) $(error Unsupported architecture $(TARGET_ARCH)) endif |