[oe-commits] [openembedded-core] 02/26: quilt: Export missing QUILT_PC variable in ptest Makefile

git at git.openembedded.org git at git.openembedded.org
Thu Aug 22 08:25:46 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit db8d21c8feebddb9d3c75bcaffbbfe5b8147ceb2
Author: Trevor Gamblin <trevor.gamblin at windriver.com>
AuthorDate: Wed Aug 21 16:01:05 2019 -0400

    quilt: Export missing 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 value 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.
    
    Signed-off-by: Trevor Gamblin <trevor.gamblin at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-devtools/quilt/quilt/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/quilt/quilt/Makefile b/meta/recipes-devtools/quilt/quilt/Makefile
index 7b3ac8a..1f6cd24 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)
 QUILT_DIR :=    $(CURDIR)/quilt
 QUILTRC :=      $(CURDIR)/test/test.quiltrc
 export QUILT_DIR QUILTRC
-CHECK_ENV := P=patches/; _P=../patches/; export P _P
+CHECK_ENV := P=patches/; _P=../patches/; export P _P;
+CHECK_ENV += QUILT_PC=.pc; export QUILT_PC
 -include test/.depend
 
 check-% : test/%.test

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list