Created
April 4, 2014 12:14
-
-
Save trevd/9973355 to your computer and use it in GitHub Desktop.
Native ToolChain Building using BUILD_PHONY_PACKAGE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ifneq ($(BUILD_TINY_ANDROID),true) | |
native-toolchain: $(TARGET_CRTBEGIN_DYNAMIC_O) $(TARGET_CRTEND_O) $(TARGET_OUT_SHARED_LIBRARIES)/libm.so $(TARGET_OUT_SHARED_LIBRARIES)/libc.so $(TARGET_OUT_SHARED_LIBRARIES)/libdl.so $(TARGET_OUT_SHARED_LIBRARIES)/libstlport.so | |
DEST=$(PRODUCT_OUT) CRT=$(TARGET_OUT_INTERMEDIATE_LIBRARIES) HOST_OUT=$(HOST_OUT) INTREE=true HOST_TOOLS="$(shell cd `dirname $(TARGET_TOOLS_PREFIX)` && pwd)/$(shell basename $(TARGET_TOOLS_PREFIX))" $(CURDIR)/native-toolchain/build.sh | |
LOCAL_PATH := $(call my-dir) | |
include $(CLEAR_VARS) | |
LOCAL_MODULE := native-toolchain | |
LOCAL_MODULE_TAGS := optional | |
include $(BUILD_PHONY_PACKAGE) | |
endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment