kmod: remove unused ptest.patch

* it was removed from SRC_URI in 2015:
  https://git.openembedded.org/openembedded-core/commit/?id=f80d136bdd578468035a88125fa1b84973fd912b

(From OE-Core rev: 960b61a53b6a670b4b3a23faff85850a3485f00e)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cfc4586b4bf080a3a4aa419dffc76c5da2a95b74)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
Martin Jansa 2023-05-24 09:53:20 +02:00 committed by Steve Sakoman
parent fb2151dbb7
commit ae2c9cbce3

View File

@ -1,25 +0,0 @@
Add 'install-ptest' rule.
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Upstream-Status: Pending
diff -ruN a/Makefile.am b/Makefile.am
--- a/Makefile.am 2013-07-12 17:11:05.278331557 +0200
+++ b/Makefile.am 2013-07-12 17:14:27.033788016 +0200
@@ -204,6 +204,16 @@
distclean-local: $(DISTCLEAN_LOCAL_HOOKS)
+install-ptest:
+ @$(MKDIR_P) $(DESTDIR)/testsuite
+ @for file in $(TESTSUITE); do \
+ install $$file $(DESTDIR)/testsuite; \
+ done;
+ @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
# ------------------------------------------------------------------------------