File: Android.bp

package info (click to toggle)
libubootenv 0.3.5-0.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 348 kB
  • sloc: ansic: 2,024; sh: 22; makefile: 9
file content (30 lines) | stat: -rw-r--r-- 730 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// SPDX-FileCopyrightText: 2022 Gary Bisson <gary.bisson@boundarydevices.com>
// SPDX-License-Identifier:     LGPL-2.1-or-later

cc_library {
    name: "libubootenv",
    vendor: true,
    srcs: [
        "src/uboot_env.c",
    ],
    shared_libs: ["libz"],
    cflags: ["-std=gnu99", "-Wno-pointer-arith", "-Wno-switch"],
    export_include_dirs: ["src"],
    local_include_dirs: ["src"],
}

cc_binary {
    name: "fw_printenv",
    vendor: true,
    srcs: ["src/fw_printenv.c"],
    shared_libs: ["libubootenv"],
    cflags: ["-std=gnu99", "-Wno-date-time"],
}

cc_binary {
    name: "fw_setenv",
    vendor: true,
    srcs: ["src/fw_setenv.c"],
    shared_libs: ["libubootenv"],
    cflags: ["-std=gnu99", "-Wno-date-time"],
}