blob: 59e7bcbf9b334a8765a352509221247ec1390cd5 [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001From 6caf90592d61c8c45b32cb7ff76709f9326030e2 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>
Brad Bishop316dfdd2018-06-25 12:45:53 -040011
Brad Bishop6e60e8b2018-02-01 10:27:11 -050012---
13 lib/Makefile | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/lib/Makefile b/lib/Makefile
Brad Bishopd7bf8c12018-02-25 22:55:05 -050017index b1bb057..06f5c5d 100644
Brad Bishop6e60e8b2018-02-01 10:27:11 -050018--- a/lib/Makefile
19+++ b/lib/Makefile
Brad Bishopd7bf8c12018-02-25 22:55:05 -050020@@ -56,7 +56,7 @@ install: lib-c lib-py crit/crit lib/c/criu.pc.in
21 $(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
22 $(Q) install -m 644 lib/c/criu.pc $(DESTDIR)$(LIBDIR)/pkgconfig
Brad Bishop6e60e8b2018-02-01 10:27:11 -050023 $(E) " INSTALL " crit
Brad Bishopd7bf8c12018-02-25 22:55:05 -050024- $(Q) $(PYTHON_BIN) scripts/crit-setup.py install --prefix=$(DESTDIR)$(PREFIX) --record $(CRIT_SETUP_FILES)
25+ $(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 -050026 .PHONY: install
27
28 uninstall: