external/busybox
リビジョン | e04727a3d94b99bfa3f23b79b60f95bebe030b0f (tree) |
---|---|
日時 | 2015-03-21 00:17:28 |
作者 | Chih-Wei Huang <cwhuang@linu...> |
コミッター | bmc08gt |
Android: simplify BUSYBOX_CROSS_COMPILER_PREFIX
The original definition is complicated and won't work
if not build from a lunch environment.
The simplified definition should work for all archs
in all situations.
Change-Id: I961c46942b80e516bc89d41afe6e0fa28611e8de
Signed-off-by: bmc08gt <brandon.mcansh@gmail.com>
@@ -31,16 +31,7 @@ include $(BUILD_STATIC_LIBRARY) | ||
31 | 31 | LOCAL_PATH := $(BB_PATH) |
32 | 32 | include $(CLEAR_VARS) |
33 | 33 | |
34 | -# Explicitly set an architecture specific CONFIG_CROSS_COMPILER_PREFIX | |
35 | -ifneq ($(filter arm arm64,$(TARGET_ARCH)),) | |
36 | - BUSYBOX_CROSS_COMPILER_PREFIX := arm-linux-androideabi- | |
37 | -endif | |
38 | -ifneq ($(filter x86 x86_64,$(TARGET_ARCH)),) | |
39 | - BUSYBOX_CROSS_COMPILER_PREFIX := $(if $(filter x86_64,$(HOST_ARCH)),x86_64,i686)-linux-android- | |
40 | -endif | |
41 | -ifeq ($(TARGET_ARCH),mips) | |
42 | - BUSYBOX_CROSS_COMPILER_PREFIX := mipsel-linux-android- | |
43 | -endif | |
34 | +BUSYBOX_CROSS_COMPILER_PREFIX := $(abspath $(TARGET_TOOLS_PREFIX)) | |
44 | 35 | |
45 | 36 | BB_PREPARE_FLAGS:= |
46 | 37 | ifeq ($(HOST_OS),darwin) |