sm7125: Actually compile libinit

*And rename it to libinit_sm7125

Change-Id: I30f07129907d39bf4860418ebbfae7ab1082b006
fourteen-wip
Simon1511 3 years ago
parent 44231a2d68
commit e2fcfdcd76
  1. 3
      BoardConfigCommon.mk
  2. 4
      init/Android.bp
  3. 2
      init/init_sm7125.cpp
  4. 0
      init/init_sm7125.h

@ -38,6 +38,9 @@ TARGET_BOOTLOADER_BOARD_NAME := atoll
TARGET_NO_BOOTLOADER := true TARGET_NO_BOOTLOADER := true
# Init
TARGET_INIT_VENDOR_LIB := //$(COMMON_PATH):libinit_sm7125
# Architecture # Architecture
TARGET_ARCH := arm64 TARGET_ARCH := arm64
TARGET_ARCH_VARIANT := armv8-2a TARGET_ARCH_VARIANT := armv8-2a

@ -15,9 +15,9 @@
// //
cc_library_static { cc_library_static {
name: "libinit_sec", name: "libinit_sm7125",
recovery_available: true, recovery_available: true,
srcs: ["init_sec.cpp"], srcs: ["init_sm7125.cpp"],
include_dirs: [ include_dirs: [
"system/libbase/include", "system/libbase/include",
"system/core/init" "system/core/init"

@ -10,7 +10,7 @@
#include "property_service.h" #include "property_service.h"
#include "vendor_init.h" #include "vendor_init.h"
#include "init_sec.h" #include "init_sm7125.h"
#define MODEL_NAME_LEN 5 #define MODEL_NAME_LEN 5
#define BUILD_NAME_LEN 8 #define BUILD_NAME_LEN 8
Loading…
Cancel
Save