diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2016-08-17 14:31:25 -0500 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2016-08-22 16:43:26 +0000 |
commit | 60f9d69e016b11c468c98ea75ba0a60c44afbbc4 (patch) | |
tree | ecb49581a9e41a37943c22cd9ef3f63451b20ee7 /yocto-poky/meta/recipes-support/gdbm/files/ptest.patch | |
parent | e18c61205e0234b03697129c20cc69c9b3940efc (diff) | |
download | talos-openbmc-60f9d69e016b11c468c98ea75ba0a60c44afbbc4.tar.gz talos-openbmc-60f9d69e016b11c468c98ea75ba0a60c44afbbc4.zip |
yocto-poky: Move to import-layers subdir
We are going to import additional layers, so create a subdir to
hold all of the layers that we import with git-subtree.
Change-Id: I6f732153a22be8ca663035c518837e3cc5ec0799
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'yocto-poky/meta/recipes-support/gdbm/files/ptest.patch')
-rw-r--r-- | yocto-poky/meta/recipes-support/gdbm/files/ptest.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/yocto-poky/meta/recipes-support/gdbm/files/ptest.patch b/yocto-poky/meta/recipes-support/gdbm/files/ptest.patch deleted file mode 100644 index 65236fb48..000000000 --- a/yocto-poky/meta/recipes-support/gdbm/files/ptest.patch +++ /dev/null @@ -1,36 +0,0 @@ -Add install-ptest rules. - -Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com> -Signed-off-by: Maxin B. John <maxin.john@enea.com> -Upstream-Status: Pending - -diff -ur a/Makefile.am b/Makefile.am ---- a/Makefile.am 2011-08-16 10:13:10.000000000 +0200 -+++ b/Makefile.am 2013-04-12 18:02:16.473715873 +0200 -@@ -31,3 +31,8 @@ - d=`date '+%d/%m/%Y'`; \ - sed 's|/\*@DIST_DATE@\*/|"'"$$d"'"|' $(srcdir)/src/version.c > \ - $(distdir)/src/version.c -+ -+install-ptest: -+ @for subdir in $(SUBDIRS); do \ -+ $(MAKE) -C $$subdir DESTDIR=$(DESTDIR)/$$subdir $@; \ -+ done -diff -ur a/tests/Makefile.am b/tests/Makefile.am ---- a/tests/Makefile.am 2011-11-11 19:39:42.000000000 +0100 -+++ b/tests/Makefile.am 2013-04-12 18:30:57.066301037 +0200 -@@ -132,4 +132,14 @@ - dtdel_LDADD = ../src/libgdbm.la ../compat/libgdbm_compat.la - d_creat_ce_LDADD = ../src/libgdbm.la ../compat/libgdbm_compat.la - -+buildtests: $(check_PROGRAMS) $(TESTSUITE) - -+install-ptest: $(check_PROGRAMS) $(TESTSUITE) -+ @$(INSTALL) -d $(DESTDIR) -+ @for file in $^; do \ -+ if [ -x .libs/$$file ]; then \ -+ $(INSTALL_PROGRAM) .libs/$$file $(DESTDIR)/$$file; \ -+ else \ -+ $(INSTALL_PROGRAM) $$file $(DESTDIR) ; \ -+ fi \ -+ done |