Make crt0 an external submodule

This commit is contained in:
topjohnwu
2024-02-26 17:34:17 -08:00
parent be433fa667
commit 8f7d2e38f7
37 changed files with 8 additions and 16312 deletions

View File

@@ -79,8 +79,6 @@ LOCAL_SRC_FILES := \
LOCAL_LDFLAGS := -static -T src/lto_fix.lds
ifdef B_CRT0
# -lc -lm is hardcoded in this variable, disable it
TARGET_LDLIBS :=
LOCAL_STATIC_LIBRARIES += crt0
LOCAL_LDFLAGS :=
endif
@@ -172,7 +170,6 @@ include $(BUILD_STATIC_LIBRARY)
include src/Android-rs.mk
include src/base/Android.mk
include src/external/Android.mk
include src/crt0/Android.mk
ifdef B_BB