diff options
author | Nick Kralevich <nnk@google.com> | 2012-05-30 11:45:12 -0700 |
---|---|---|
committer | Nick Kralevich <nnk@google.com> | 2012-05-30 11:45:12 -0700 |
commit | 83a73d1afe972014f6c8ff2520fe6d3357421f87 (patch) | |
tree | f7aea2d4044d20ff5236f53e0988d296e3ea8bd8 /libc/Android.mk | |
parent | 1ebb243d1ad7b82887b6b09c972f57f4c820a9f1 (diff) | |
download | bionic-83a73d1afe972014f6c8ff2520fe6d3357421f87.zip bionic-83a73d1afe972014f6c8ff2520fe6d3357421f87.tar.gz bionic-83a73d1afe972014f6c8ff2520fe6d3357421f87.tar.bz2 |
crtbegin: eliminate duplicate code
crtbegin_dynamic and crtbegin_static are essentially identical,
minus a few trivial differences (comments and whitespace).
Eliminate duplicates.
Change-Id: Ic9fae6bc9695004974493b53bfc07cd3bb904480
Diffstat (limited to 'libc/Android.mk')
-rw-r--r-- | libc/Android.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/Android.mk b/libc/Android.mk index 0dbc0be..77da9c8 100644 --- a/libc/Android.mk +++ b/libc/Android.mk @@ -574,13 +574,13 @@ endif # TARGET_ARCH == x86 || TARGET_ARCH == arm GEN := $(TARGET_OUT_INTERMEDIATE_LIBRARIES)/crtbegin_static.o -$(GEN): $(LOCAL_PATH)/arch-$(TARGET_ARCH)/bionic/crtbegin_static.S +$(GEN): $(LOCAL_PATH)/arch-$(TARGET_ARCH)/bionic/crtbegin.S @mkdir -p $(dir $@) $(TARGET_CC) $(libc_crt_target_cflags) -o $@ -c $< ALL_GENERATED_SOURCES += $(GEN) GEN := $(TARGET_OUT_INTERMEDIATE_LIBRARIES)/crtbegin_dynamic.o -$(GEN): $(LOCAL_PATH)/arch-$(TARGET_ARCH)/bionic/crtbegin_dynamic.S +$(GEN): $(LOCAL_PATH)/arch-$(TARGET_ARCH)/bionic/crtbegin.S @mkdir -p $(dir $@) $(TARGET_CC) $(libc_crt_target_cflags) -o $@ -c $< ALL_GENERATED_SOURCES += $(GEN) |