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"],
}
|