From patchwork Thu Feb 14 21:40:04 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: arptables: defeat multi-job for install Date: Thu, 14 Feb 2013 21:40:04 -0000 From: Joe Slater X-Patchwork-Id: 44685 Message-Id: <1360878004-11267-1-git-send-email-jslater@windriver.com> To: CQID: 399299 The make install target is not parallel job safe, but doesn't do all that much, so we limit make to one job for that. The make target is of the form install: x y z Unfortunately, z depends on y, so if z is started before y (almost) completes, we will fail. Signed-off-by: Joe Slater --- recipes-support/arptables/arptables_0.0.3-4.bb | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/recipes-support/arptables/arptables_0.0.3-4.bb b/recipes-support/arptables/arptables_0.0.3-4.bb index 2faccec..de3f62d 100644 --- a/recipes-support/arptables/arptables_0.0.3-4.bb +++ b/recipes-support/arptables/arptables_0.0.3-4.bb @@ -3,6 +3,8 @@ PRIORITY = "optional" LICENSE = "GPL-2.0" SECTION = "console/network" +PR = "r2" + RDEPENDS_${PN} += "perl" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" @@ -20,6 +22,11 @@ do_compile () { oe_runmake } +# the install target is not multi-job safe, but it doesn't do much +# so we just install seriatim +# +PARALLEL_MAKEINST = "-j1" + fakeroot do_install () { oe_runmake 'BINDIR=${sbindir}' 'MANDIR=${mandir}/' 'DESTDIR=${D}' install }