diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-07-02 15:36:20 +1000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-07-02 15:36:20 +1000 |
commit | 1d880992fd8c8457a2d990ac6622cfd58fb1b261 (patch) | |
tree | c4c843b12e96b5612c315db5a23c5da1a900618c /libfdt/Makefile.inc | |
download | skiboot-1d880992fd8c8457a2d990ac6622cfd58fb1b261.zip skiboot-1d880992fd8c8457a2d990ac6622cfd58fb1b261.tar.gz skiboot-1d880992fd8c8457a2d990ac6622cfd58fb1b261.tar.bz2 |
Initial commit of Open Source release
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'libfdt/Makefile.inc')
-rw-r--r-- | libfdt/Makefile.inc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libfdt/Makefile.inc b/libfdt/Makefile.inc new file mode 100644 index 0000000..e477d7c --- /dev/null +++ b/libfdt/Makefile.inc @@ -0,0 +1,18 @@ +# Makefile.libfdt +# +# This is not a complete Makefile of itself. Instead, it is designed to +# be easily embeddable into other systems of Makefiles. +# + +LIBFDT_INCLUDES = fdt.h libfdt.h +LIBFDT_SRCS = fdt.c fdt_ro.c fdt_wip.c fdt_sw.c fdt_rw.c fdt_strerror.c +LIBFDT_OBJS = $(LIBFDT_SRCS:%.c=%.o) + +# That warning can't really be fixed so compile the file without it +CFLAGS_SKIP_libfdt/fdt_sw.o = -Wstack-usage=4096 + +SUBDIRS += libfdt +LIBFDT = libfdt/built-in.o + +$(LIBFDT): $(LIBFDT_OBJS:%=libfdt/%) + |