summaryrefslogtreecommitdiffstats
path: root/rules/libselinux.make
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2013-02-18 11:24:03 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2013-02-18 11:29:08 +0100
commitff8c3786f8b0369d1fe6f21d647b4d31b21dbe73 (patch)
tree5bb090c19ff3770e6f2afea2cd6ba91d92623e4b /rules/libselinux.make
parent245f79f14c452c79cdb5990a281ec89ef53e53eb (diff)
downloadptxdist-ff8c3786f8b0369d1fe6f21d647b4d31b21dbe73.tar.gz
ptxdist-ff8c3786f8b0369d1fe6f21d647b4d31b21dbe73.tar.xz
libselinux: fix parallel building issue
Analogue to: "245f79f libsemanage: don't add 'all' to the make options" It's implicit if nothing else is given, and 'pywrap' depends on anything that is needed. If both 'all' and 'pywrap' are explicitly added libsemanage.so.1 and it files a build twice. This can cause random build error for parallel building. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'rules/libselinux.make')
-rw-r--r--rules/libselinux.make5
1 files changed, 1 insertions, 4 deletions
diff --git a/rules/libselinux.make b/rules/libselinux.make
index dc0ba70c6..0b8ed0f7a 100644
--- a/rules/libselinux.make
+++ b/rules/libselinux.make
@@ -36,13 +36,10 @@ LIBSELINUX_MAKE_ENV = \
CFLAGS="-O2 -Wall -g" \
PYTHON=$(CROSS_PYTHON)
LIBSELINUX_MAKE_OPT := \
- LIBDIR=$(PTXDIST_SYSROOT_TARGET)/usr/lib \
- all
+ LIBDIR=$(PTXDIST_SYSROOT_TARGET)/usr/lib
LIBSELINUX_INSTALL_OPT := \
install
-LIBSELINUX_MAKE_PAR := NO
-
ifdef PTXCONF_LIBSELINUX_PYTHON
LIBSELINUX_MAKE_OPT += pywrap
LIBSELINUX_INSTALL_OPT += install-pywrap