blob: c2512a0eaaafb344ed05862c168ba0adb7912bf9 [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001From 89f9b87904bd312b817ffaa7d83abfd5e84d723d Mon Sep 17 00:00:00 2001
Brad Bishop6e60e8b2018-02-01 10:27:11 -05002From: Mark Asselstine <mark.asselstine@windriver.com>
Brad Bishopd7bf8c12018-02-25 22:55:05 -05003Date: Fri, 8 Sep 2017 15:40:49 -0400
Brad Bishop6e60e8b2018-02-01 10:27:11 -05004Subject: [PATCH] lib/Makefile: overwrite install-lib, to allow multiarch
5
6I am not sure why Yocto installs python modules in arch specific
7/usr/libXX directories but it does. Allow the recipe to pass this via
8INSTALL_LIB.
9
10Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
11---
12 lib/Makefile | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/lib/Makefile b/lib/Makefile
Brad Bishopd7bf8c12018-02-25 22:55:05 -050016index b1bb057..06f5c5d 100644
Brad Bishop6e60e8b2018-02-01 10:27:11 -050017--- a/lib/Makefile
18+++ b/lib/Makefile
Brad Bishopd7bf8c12018-02-25 22:55:05 -050019@@ -56,7 +56,7 @@ install: lib-c lib-py crit/crit lib/c/criu.pc.in
20 $(Q) sed -e 's,@version@,$(CRIU_VERSION),' -e 's,@libdir@,$(LIBDIR),' -e 's,@includedir@,$(dir $(INCLUDEDIR)/criu/),' lib/c/criu.pc.in > lib/c/criu.pc
21 $(Q) install -m 644 lib/c/criu.pc $(DESTDIR)$(LIBDIR)/pkgconfig
Brad Bishop6e60e8b2018-02-01 10:27:11 -050022 $(E) " INSTALL " crit
Brad Bishopd7bf8c12018-02-25 22:55:05 -050023- $(Q) $(PYTHON_BIN) scripts/crit-setup.py install --prefix=$(DESTDIR)$(PREFIX) --record $(CRIT_SETUP_FILES)
24+ $(Q) $(PYTHON_BIN) scripts/crit-setup.py install --prefix=$(DESTDIR)$(PREFIX) --record $(CRIT_SETUP_FILES) --install-lib=$(DESTDIR)$(INSTALL_LIB)
Brad Bishop6e60e8b2018-02-01 10:27:11 -050025 .PHONY: install
26
27 uninstall:
28--
292.7.4
30