Fix the simulator build by setting TARGET_PRELINK_MODULE before including
BoardConfig.mk
This commit is contained in:
@@ -89,6 +89,12 @@ COMMON_ANDROID_PACKAGE_SUFFIX := .apk
|
|||||||
# list of flags to turn specific warnings in to errors
|
# list of flags to turn specific warnings in to errors
|
||||||
TARGET_ERROR_FLAGS := -Werror=return-type
|
TARGET_ERROR_FLAGS := -Werror=return-type
|
||||||
|
|
||||||
|
# TODO: do symbol compression
|
||||||
|
TARGET_COMPRESS_MODULE_SYMBOLS := false
|
||||||
|
|
||||||
|
# Default is to prelink modules.
|
||||||
|
TARGET_PRELINK_MODULE := true
|
||||||
|
|
||||||
# ###############################################################
|
# ###############################################################
|
||||||
# Include sub-configuration files
|
# Include sub-configuration files
|
||||||
# ###############################################################
|
# ###############################################################
|
||||||
@@ -285,10 +291,6 @@ HOST_GLOBAL_CPPFLAGS += $(HOST_RELEASE_CPPFLAGS)
|
|||||||
TARGET_GLOBAL_CFLAGS += $(TARGET_RELEASE_CFLAGS)
|
TARGET_GLOBAL_CFLAGS += $(TARGET_RELEASE_CFLAGS)
|
||||||
TARGET_GLOBAL_CPPFLAGS += $(TARGET_RELEASE_CPPFLAGS)
|
TARGET_GLOBAL_CPPFLAGS += $(TARGET_RELEASE_CPPFLAGS)
|
||||||
|
|
||||||
# TODO: do symbol compression
|
|
||||||
TARGET_COMPRESS_MODULE_SYMBOLS := false
|
|
||||||
TARGET_PRELINK_MODULE := true
|
|
||||||
|
|
||||||
PREBUILT_IS_PRESENT := $(if $(wildcard prebuilt/Android.mk),true)
|
PREBUILT_IS_PRESENT := $(if $(wildcard prebuilt/Android.mk),true)
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user