Set up the private variables.
Now we use private variables in transform-o-to-executable to support build executables against the NDK. Bug: 7170098 Change-Id: I6e505b33001b76f4b11fcbbb1d35392c4ddf4c70
This commit is contained in:
parent
6b1ba1184a
commit
b04598a63c
1 changed files with 8 additions and 0 deletions
|
@ -68,6 +68,14 @@ LOCAL_NO_CRT := true
|
|||
|
||||
include $(BUILD_SYSTEM)/dynamic_binary.mk
|
||||
|
||||
# See build/core/executable.mk
|
||||
$(linked_module): PRIVATE_TARGET_GLOBAL_LD_DIRS := $(TARGET_GLOBAL_LD_DIRS)
|
||||
$(linked_module): PRIVATE_TARGET_GLOBAL_LDFLAGS := $(TARGET_GLOBAL_LDFLAGS)
|
||||
$(linked_module): PRIVATE_TARGET_FDO_LIB := $(TARGET_FDO_LIB)
|
||||
$(linked_module): PRIVATE_TARGET_LIBGCC := $(TARGET_LIBGCC)
|
||||
$(linked_module): PRIVATE_TARGET_CRTBEGIN_DYNAMIC_O := $(TARGET_CRTBEGIN_DYNAMIC_O)
|
||||
$(linked_module): PRIVATE_TARGET_CRTBEGIN_STATIC_O := $(TARGET_CRTBEGIN_STATIC_O)
|
||||
$(linked_module): PRIVATE_TARGET_CRTEND_O := $(TARGET_CRTEND_O)
|
||||
$(linked_module): $(TARGET_CRTBEGIN_STATIC_O) $(all_objects) $(all_libraries) $(TARGET_CRTEND_O)
|
||||
$(transform-o-to-static-executable)
|
||||
@echo "target PrefixSymbols: $(PRIVATE_MODULE) ($@)"
|
||||
|
|
Loading…
Reference in a new issue