blob: 6e2cf9ad6d1a180cd7a8d9459f4a9181f5010d5f [file] [log] [blame]
# Copyright 2017 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
config("fdt_config") {
include_dirs = [ "." ]
}
config("warnings") {
visibility = [ ":*" ]
cflags = [ "-Wno-sign-compare" ]
}
source_set("fdt") {
sources = [
"fdt.c",
"fdt.h",
"fdt_addresses.c",
"fdt_empty_tree.c",
"fdt_overlay.c",
"fdt_ro.c",
"fdt_rw.c",
"fdt_strerror.c",
"fdt_sw.c",
"fdt_wip.c",
"libfdt.h",
"libfdt_env.h",
"libfdt_internal.h",
]
public_configs = [ ":fdt_config" ]
configs += [ "//build/config:Wno-conversion" ]
configs += [ "//build/config:Wno-extra-semi" ]
configs += [ ":warnings" ]
}