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

Commit 63be3564 authored by Yifan Hong's avatar Yifan Hong
Browse files

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

Test: build and manual inspect
Bug: 173425293
Change-Id: I7805640af314b60801cc831f1d1f25820f0fb63b
parent addbafdb
Loading
Loading
Loading
Loading
+12 −7
Original line number Original line Diff line number Diff line
@@ -75,13 +75,18 @@ LOCAL_REQUIRED_MODULES := \
   adb_debug.prop \
   adb_debug.prop \


# Set up the directories that first stage init mounts on.
# Set up the directories that first stage init mounts on.
LOCAL_POST_INSTALL_CMD := mkdir -p \

    $(TARGET_RAMDISK_OUT)/debug_ramdisk \
my_ramdisk_dirs := \
    $(TARGET_RAMDISK_OUT)/dev \
    debug_ramdisk \
    $(TARGET_RAMDISK_OUT)/mnt \
    dev \
    $(TARGET_RAMDISK_OUT)/proc \
    mnt \
    $(TARGET_RAMDISK_OUT)/second_stage_resources \
    proc \
    $(TARGET_RAMDISK_OUT)/sys \
    second_stage_resources \
    sys \

LOCAL_POST_INSTALL_CMD := mkdir -p $(addprefix $(TARGET_RAMDISK_OUT)/,$(my_ramdisk_dirs))

my_ramdisk_dirs :=


LOCAL_STATIC_LIBRARIES := \
LOCAL_STATIC_LIBRARIES := \
    libc++fs \
    libc++fs \