[Crosstoolchain-logs] [device-tree-compiler] 292/357: libfdt: Fix 'make install' target handling of .h files.
Hector Oron
zumbi at moszumanska.debian.org
Thu Dec 8 17:06:24 UTC 2016
This is an automated email from the git hooks/post-receive script.
zumbi pushed a commit to branch upstream/1.3.x
in repository device-tree-compiler.
commit a653228522a1af6ca8c43e2a6edb9d0aa77dbd24
Author: Jon Loeliger <jdl at freescale.com>
Date: Wed Jul 23 10:20:53 2008 -0500
libfdt: Fix 'make install' target handling of .h files.
The definition of LIBFDT_INCLUDES was accidentally dropped.
Put it back and add srcdir prefix handling for it.
Signed-off-by: Jon Loeliger <jdl at freescale.com>
---
Makefile | 4 +++-
libfdt/Makefile.libfdt | 1 +
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index e871855..0222dc0 100644
--- a/Makefile
+++ b/Makefile
@@ -55,7 +55,7 @@ install: all
$(INSTALL) -d $(DESTDIR)$(LIBDIR)
$(INSTALL) -m 644 $(LIBFDT_lib) $(DESTDIR)$(LIBDIR)
$(INSTALL) -d $(DESTDIR)$(INCLUDEDIR)
- $(INSTALL) -m 644 $(addprefix $(LIBFDT_srcdir)/,$(LIBFDT_INCLUDES)) $(DESTDIR)$(INCLUDEDIR)
+ $(INSTALL) -m 644 $(LIBFDT_include) $(DESTDIR)$(INCLUDEDIR)
#
# Rules for versioning
@@ -140,6 +140,8 @@ endif
LIBFDT_objdir = libfdt
LIBFDT_srcdir = libfdt
LIBFDT_lib = $(LIBFDT_objdir)/libfdt.a
+LIBFDT_include = $(addprefix $(LIBFDT_srcdir)/,$(LIBFDT_INCLUDES))
+
include $(LIBFDT_srcdir)/Makefile.libfdt
.PHONY: libfdt
diff --git a/libfdt/Makefile.libfdt b/libfdt/Makefile.libfdt
index f4f495b..6c42acf 100644
--- a/libfdt/Makefile.libfdt
+++ b/libfdt/Makefile.libfdt
@@ -3,5 +3,6 @@
# 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)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/crosstoolchain/device-tree-compiler.git
More information about the Crosstoolchain-logs
mailing list