xref: /haiku/src/add-ons/kernel/bus_managers/fdt/Jamfile (revision 7457ccb4b2f4786525d3b7bda42598487d57ab7d)
1SubDir HAIKU_TOP src add-ons kernel bus_managers fdt ;
2
3UsePrivateKernelHeaders ;
4UseLibraryHeaders [ FDirName libfdt ] ;
5
6local libFDTSources =
7	fdt.c
8	fdt_ro.c
9	fdt_rw.c
10	fdt_strerror.c
11	fdt_sw.c
12	fdt_wip.c
13;
14
15# Do we want / need these in the bus as well?
16local earlyFDTHelpers =
17	fdt_serial.cpp
18	fdt_support.cpp
19;
20
21KernelAddon fdt :
22	fdt.cpp
23#	$(libFDTSources)
24	;
25
26BootStaticLibrary boot_fdt :
27	$(earlyFDTHelpers)
28	$(libFDTSources)
29	;
30
31KernelStaticLibrary kernel_fdt :
32	$(earlyFDTHelpers)
33	$(libFDTSources)
34	;
35
36SEARCH on [ FGristFiles $(libFDTSources) ]
37	= [ FDirName $(HAIKU_TOP) src libs libfdt ] ;
38
39