Merge "Make it clearer to grep that init is built with clang."
This commit is contained in:
commit
57bd480c3b
1 changed files with 3 additions and 5 deletions
|
|
@ -18,8 +18,6 @@ init_cflags += \
|
||||||
-Wno-unused-parameter \
|
-Wno-unused-parameter \
|
||||||
-Werror \
|
-Werror \
|
||||||
|
|
||||||
init_clang := true
|
|
||||||
|
|
||||||
# --
|
# --
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
@ -32,7 +30,7 @@ LOCAL_SRC_FILES:= \
|
||||||
|
|
||||||
LOCAL_STATIC_LIBRARIES := libbase
|
LOCAL_STATIC_LIBRARIES := libbase
|
||||||
LOCAL_MODULE := libinit
|
LOCAL_MODULE := libinit
|
||||||
LOCAL_CLANG := $(init_clang)
|
LOCAL_CLANG := true
|
||||||
include $(BUILD_STATIC_LIBRARY)
|
include $(BUILD_STATIC_LIBRARY)
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
@ -79,7 +77,7 @@ LOCAL_POST_INSTALL_CMD := $(hide) mkdir -p $(TARGET_ROOT_OUT)/sbin; \
|
||||||
ln -sf ../init $(TARGET_ROOT_OUT)/sbin/ueventd; \
|
ln -sf ../init $(TARGET_ROOT_OUT)/sbin/ueventd; \
|
||||||
ln -sf ../init $(TARGET_ROOT_OUT)/sbin/watchdogd
|
ln -sf ../init $(TARGET_ROOT_OUT)/sbin/watchdogd
|
||||||
|
|
||||||
LOCAL_CLANG := $(init_clang)
|
LOCAL_CLANG := true
|
||||||
include $(BUILD_EXECUTABLE)
|
include $(BUILD_EXECUTABLE)
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -96,5 +94,5 @@ LOCAL_SHARED_LIBRARIES += \
|
||||||
libbase \
|
libbase \
|
||||||
|
|
||||||
LOCAL_STATIC_LIBRARIES := libinit
|
LOCAL_STATIC_LIBRARIES := libinit
|
||||||
LOCAL_CLANG := $(init_clang)
|
LOCAL_CLANG := true
|
||||||
include $(BUILD_NATIVE_TEST)
|
include $(BUILD_NATIVE_TEST)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue