Home | History | Annotate | Download | only in kmod
      1 cc_binary_host {
      2     srcs: [
      3         "libkmod/libkmod.c",
      4         "libkmod/libkmod-file.c",
      5         "libkmod/libkmod-module.c",
      6         "libkmod/libkmod-config.c",
      7         "libkmod/libkmod-index.c",
      8         "libkmod/libkmod-elf.c",
      9         "libkmod/libkmod-list.c",
     10         "libkmod/libkmod-signature.c",
     11         "shared/array.c",
     12         "shared/scratchbuf.c",
     13         "shared/util.c",
     14         "shared/hash.c",
     15         "shared/strbuf.c",
     16         "tools/port.c",
     17         "tools/depmod.c",
     18         "tools/kmod.c",
     19         "tools/modinfo.c",
     20         "tools/rmmod.c",
     21         "tools/insert.c",
     22         "tools/log.c",
     23         "tools/modprobe.c",
     24         "tools/static-nodes.c",
     25         "tools/insmod.c",
     26         "tools/lsmod.c",
     27         "tools/remove.c",
     28     ],
     29 
     30     name: "depmod",
     31     local_include_dirs: ["port-gnu"],
     32     cflags: [
     33         "-include config.h",
     34         "-ffunction-sections",
     35         "-fdata-sections",
     36         "-Wall",
     37         "-Werror",
     38         "-Wno-format",
     39         "-Wno-unused-parameter",
     40         "-Wno-unused-variable",
     41         "-Dsecure_getenv=getenv",
     42         "-DHAVE_CONFIG_H",
     43         "-DANOTHER_BRICK_IN_THE",
     44         "-DSYSCONFDIR=\"/tmp\"",
     45     ],
     46 }
     47