diff options
Diffstat (limited to 'meta-openbmc-machines/meta-openpower/common/recipes-bsp/pdbg/pdbg/0001-Makefile-Allow-out-of-tree-builds.patch')
-rw-r--r-- | meta-openbmc-machines/meta-openpower/common/recipes-bsp/pdbg/pdbg/0001-Makefile-Allow-out-of-tree-builds.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-bsp/pdbg/pdbg/0001-Makefile-Allow-out-of-tree-builds.patch b/meta-openbmc-machines/meta-openpower/common/recipes-bsp/pdbg/pdbg/0001-Makefile-Allow-out-of-tree-builds.patch new file mode 100644 index 000000000..898c22587 --- /dev/null +++ b/meta-openbmc-machines/meta-openpower/common/recipes-bsp/pdbg/pdbg/0001-Makefile-Allow-out-of-tree-builds.patch @@ -0,0 +1,32 @@ +From 40b3bfd73bccd3f62c9743404e5f1d768b30cf0f Mon Sep 17 00:00:00 2001 +From: Patrick Williams <patrick@stwcx.xyz> +Date: Fri, 5 Aug 2016 18:50:57 -0500 +Subject: [PATCH] Makefile: Allow out-of-tree builds + +Signed-off-by: Patrick Williams <patrick@stwcx.xyz> +--- + Makefile.am | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Makefile.am b/Makefile.am +index ca01f21..eced4f6 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -1,12 +1,12 @@ + bin_PROGRAMS = pdbg + lib_LIBRARIES = libpdbg.a + +-AM_CFLAGS = -Iccan/array_size ++AM_CFLAGS = -I$(top_srcdir)/ccan/array_size + + pdbg_SOURCES = \ + src/main.c + pdbg_LDADD = libpdbg.a +-pdbg_CFLAGS = -Ilibpdbg ++pdbg_CFLAGS = -I$(top_srcdir)/libpdbg + + libpdbg_a_SOURCES = \ + libpdbg/adu.c \ +-- +2.9.0 + |