diff options
Diffstat (limited to 'roms/skiboot/libfdt/Makefile.inc')
-rw-r--r-- | roms/skiboot/libfdt/Makefile.inc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/roms/skiboot/libfdt/Makefile.inc b/roms/skiboot/libfdt/Makefile.inc new file mode 100644 index 000000000..f0dd995ec --- /dev/null +++ b/roms/skiboot/libfdt/Makefile.inc @@ -0,0 +1,16 @@ +# Makefile.inc +# +# LIBFDT_ variables are taken from Makefile.libfdt + +LIBFDT_INCLUDES = fdt.h libfdt.h libfdt_env.h +LIBFDT_SRCS = fdt.c fdt_ro.c fdt_wip.c fdt_sw.c fdt_rw.c fdt_strerror.c fdt_empty_tree.c \ + fdt_addresses.c fdt_overlay.c +LIBFDT_OBJS = $(LIBFDT_SRCS:%.c=%.o) + +CFLAGS_SKIP_libfdt/ = -Wsuggest-attribute=const -Wsuggest-attribute=noreturn + +SUBDIRS += libfdt +LIBFDT = libfdt/built-in.a + +$(LIBFDT): $(LIBFDT_OBJS:%=libfdt/%) + |