From 17b5f2f16256c9e8c551416a8b7211e44dfa5e91 Mon Sep 17 00:00:00 2001 From: Tudor Florea Date: Tue, 1 Oct 2013 22:54:40 +0000 Subject: kmod: ptest fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Make kmod-ptest able to compile with separated source and build dir. Since kmod test files contain kernel modules for many different architectures, strip and arch gets confused and throws errors. (From OE-Core rev: 61cb45869caaed6578a217effaa72d247395d078) Signed-off-by: Tudor Florea Signed-off-by: Björn Stenberg Signed-off-by: Maxin B. John Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/recipes-kernel/kmod/kmod/ptest.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'meta/recipes-kernel/kmod/kmod/ptest.patch') diff --git a/meta/recipes-kernel/kmod/kmod/ptest.patch b/meta/recipes-kernel/kmod/kmod/ptest.patch index c6479b2fb5..831dbcb909 100644 --- a/meta/recipes-kernel/kmod/kmod/ptest.patch +++ b/meta/recipes-kernel/kmod/kmod/ptest.patch @@ -15,10 +15,10 @@ diff -ruN a/Makefile.am b/Makefile.am + @for file in $(TESTSUITE); do \ + install $$file $(DESTDIR)/testsuite; \ + done; -+ @cp Makefile $(DESTDIR) -+ @sed -i 's/^Makefile/_Makefile/' ${DESTDIR}/Makefile -+ @tar -czf $(DESTDIR)/tools.tgz $(noinst_SCRIPTS) $(noinst_PROGRAMS) -+ @tar -C testsuite -czf $(DESTDIR)/testsuite.tgz rootfs-pristine .libs ++ @sed -e 's/^Makefile/_Makefile/' < Makefile > $(DESTDIR)/Makefile ++ @$(MKDIR_P) $(DESTDIR)/tools ++ @cp $(noinst_SCRIPTS) $(noinst_PROGRAMS) $(DESTDIR)/tools ++ @cp -r testsuite/rootfs testsuite/.libs $(DESTDIR)/testsuite + # ------------------------------------------------------------------------------ # custom release helpers -- cgit v1.2.3-54-g00ecf