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

Commit 2b81c1ce authored by Yi-Yo Chiang's avatar Yi-Yo Chiang Committed by Automerger Merge Worker
Browse files

Merge "Add toolbox_ramdisk" into main am: 5d21bbc9

parents ab6e34bd 5d21bbc9
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
@@ -84,3 +84,22 @@ cc_binary {
    vendor: true,
    defaults: ["toolbox_binary_defaults"],
}

// This one is installed in the generic ramdisk, and can be executed during
// init-first-stage.
// As there are no dynamic linker available, this must be statically linked.
cc_binary {
    name: "toolbox_ramdisk",
    defaults: ["toolbox_binary_defaults"],
    ramdisk: true,
    static_executable: true,
    system_shared_libs: [],
    exclude_shared_libs: [
        "libbase",
        "liblog",
    ],
    static_libs: [
        "libbase",
        "liblog",
    ],
}