am d463f6e9: am 34959e0b: Merge "Clean up libc/Android.mk a bit after the crtbrand changes."

* commit 'd463f6e98011fe3b5a23cef2502705dedd702173':
  Clean up libc/Android.mk a bit after the crtbrand changes.
This commit is contained in:
Elliott Hughes 2012-08-08 14:43:00 -07:00 committed by Android Git Automerger
commit 10e2d222ce

View File

@ -529,18 +529,13 @@ else
libc_common_cflags += -DANDROID_SMP=0 libc_common_cflags += -DANDROID_SMP=0
endif endif
# Needed to access private/__dso_handle.h from # crtbrand.c needs <stdint.h> and a #define for the platform SDK version.
# crtbegin_xxx.c and crtend_xxx.c libc_crt_target_cflags += \
# -I$(LOCAL_PATH)/include \
libc_crt_target_cflags += -I$(LOCAL_PATH)/private \ -DPLATFORM_SDK_VERSION=$(PLATFORM_SDK_VERSION)
-I$(LOCAL_PATH)/include \
-I$(LOCAL_PATH)/kernel/common \
-I$(LOCAL_PATH)/kernel/arch-$(TARGET_ARCH) \
-I$(LOCAL_PATH)/arch-$(TARGET_ARCH)/include \
-DPLATFORM_SDK_VERSION=$(PLATFORM_SDK_VERSION)
ifeq ($(TARGET_ARCH),arm) ifeq ($(TARGET_ARCH),arm)
libc_crt_target_cflags += -DCRT_LEGACY_WORKAROUND libc_crt_target_cflags += -DCRT_LEGACY_WORKAROUND
endif endif
# Define some common includes # Define some common includes
@ -553,8 +548,9 @@ libc_common_c_includes := \
# Needed to access private/__dso_handle.h from # Needed to access private/__dso_handle.h from
# crtbegin_xxx.S and crtend_xxx.S # crtbegin_xxx.S and crtend_xxx.S
# libc_crt_target_cflags += \
libc_crt_target_cflags += -I$(LOCAL_PATH)/private -I$(LOCAL_PATH)/arch-$(TARGET_ARCH)/include -I$(LOCAL_PATH)/private \
-I$(LOCAL_PATH)/arch-$(TARGET_ARCH)/include
# Define the libc run-time (crt) support object files that must be built, # Define the libc run-time (crt) support object files that must be built,
# which are needed to build all other objects (shared/static libs and # which are needed to build all other objects (shared/static libs and