Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bfc472db authored by Tom Cherry's avatar Tom Cherry Committed by android-build-merger
Browse files

Merge "init: separate init packaging for mainline" am: 89bf115a am: a0ff1847

am: f59b95b6

Change-Id: Idc45d2ba350461c24d70df2e6afa1cbd4d58c425
parents 0f5520e8 f59b95b6
Loading
Loading
Loading
Loading
+29 −4
Original line number Diff line number Diff line
@@ -51,7 +51,8 @@ LOCAL_SRC_FILES := \
    uevent_listener.cpp \
    util.cpp \

LOCAL_MODULE := init
LOCAL_MODULE := init_first_stage
LOCAL_MODULE_STEM := init

LOCAL_FORCE_STATIC_EXECUTABLE := true

@@ -87,8 +88,32 @@ LOCAL_STATIC_LIBRARIES := \
    libselinux \
    libcap \

LOCAL_SANITIZE := signed-integer-overflow
include $(BUILD_EXECUTABLE)

include $(CLEAR_VARS)

LOCAL_MODULE := init_system
ifeq ($(BOARD_BUILD_SYSTEM_ROOT_IMAGE),true)
LOCAL_REQUIRED_MODULES := \
   init_first_stage \
   init_second_stage \

LOCAL_SANITIZE := signed-integer-overflow
include $(BUILD_EXECUTABLE)
else
LOCAL_REQUIRED_MODULES := \
   init_second_stage \

endif
include $(BUILD_PHONY_PACKAGE)

include $(CLEAR_VARS)

LOCAL_MODULE := init_vendor
ifneq ($(BOARD_BUILD_SYSTEM_ROOT_IMAGE),true)
LOCAL_REQUIRED_MODULES := \
   init_first_stage \

endif
include $(BUILD_PHONY_PACKAGE)