Refactor the list of empty dirs in ramdisk in its own list.

Test: build and manual inspect
Bug: 173425293
Change-Id: I7805640af314b60801cc831f1d1f25820f0fb63b
This commit is contained in:
Yifan Hong 2020-12-08 12:29:59 -08:00
parent addbafdb0b
commit 63be35649a
1 changed files with 12 additions and 7 deletions

View File

@ -75,13 +75,18 @@ LOCAL_REQUIRED_MODULES := \
adb_debug.prop \
# Set up the directories that first stage init mounts on.
LOCAL_POST_INSTALL_CMD := mkdir -p \
$(TARGET_RAMDISK_OUT)/debug_ramdisk \
$(TARGET_RAMDISK_OUT)/dev \
$(TARGET_RAMDISK_OUT)/mnt \
$(TARGET_RAMDISK_OUT)/proc \
$(TARGET_RAMDISK_OUT)/second_stage_resources \
$(TARGET_RAMDISK_OUT)/sys \
my_ramdisk_dirs := \
debug_ramdisk \
dev \
mnt \
proc \
second_stage_resources \
sys \
LOCAL_POST_INSTALL_CMD := mkdir -p $(addprefix $(TARGET_RAMDISK_OUT)/,$(my_ramdisk_dirs))
my_ramdisk_dirs :=
LOCAL_STATIC_LIBRARIES := \
libc++fs \