summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/quilt
diff options
context:
space:
mode:
authorTrevor Gamblin <trevor.gamblin@windriver.com>2019-08-22 08:29:04 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-08-22 22:48:27 +0100
commit52748ecbbe68ad9c3a1c66a893e2afe544985802 (patch)
treec3acfca206e45cfaf605d71d6e5a0a00028dfaff /meta/recipes-devtools/quilt
parentfc85db13d9d1a5ff51c51e54386958b0970e30a6 (diff)
downloadpoky-52748ecbbe68ad9c3a1c66a893e2afe544985802.tar.gz
quilt: Export QUILT_PC variable in ptest Makefile
The quilt ptest uses a custom Makefile to implement the "make check" rule, but the ptest Makefile does not export the variable QUILT_PC, which is user-settable and normally defaults to ".pc". This causes failures e.g. import.test with "rm -rf patches/ %{QUILT_PC}/", evaluating to "rm -rf patches/ /" if the variable is not set by the Makefile. These ptests broke in: 73d6034f6b quilt: update to 0.66 when the upstream quilt developers enabled users to specify their own QUILT_PC string. (From OE-Core rev: 7ef7923bd9161d562298ace68491a2230210c3e4) Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/quilt')
-rw-r--r--meta/recipes-devtools/quilt/quilt/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/quilt/quilt/Makefile b/meta/recipes-devtools/quilt/quilt/Makefile
index 7b3ac8a492..1f6cd2479c 100644
--- a/meta/recipes-devtools/quilt/quilt/Makefile
+++ b/meta/recipes-devtools/quilt/quilt/Makefile
@@ -2,7 +2,8 @@ PATH := $(CURDIR)/bin:$(CURDIR)/compat:$(PATH)
2QUILT_DIR := $(CURDIR)/quilt 2QUILT_DIR := $(CURDIR)/quilt
3QUILTRC := $(CURDIR)/test/test.quiltrc 3QUILTRC := $(CURDIR)/test/test.quiltrc
4export QUILT_DIR QUILTRC 4export QUILT_DIR QUILTRC
5CHECK_ENV := P=patches/; _P=../patches/; export P _P 5CHECK_ENV := P=patches/; _P=../patches/; export P _P;
6CHECK_ENV += QUILT_PC=.pc; export QUILT_PC
6-include test/.depend 7-include test/.depend
7 8
8check-% : test/%.test 9check-% : test/%.test