Skip to content

Commit

Permalink
pciutils: work around race condition in make install with high BR2_JL…
Browse files Browse the repository at this point in the history
…EVEL

Fixes http://autobuild.buildroot.net/results/908d7368c8dc8e320fd33f3193039f5925adc352

make install and install-lib can race against eachother causing 'install'
to fail. Work around it using MAKE1.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
  • Loading branch information
jacmet committed Dec 17, 2012
1 parent 4f452a8 commit 8286d71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package/pciutils/pciutils.mk
Expand Up @@ -48,12 +48,12 @@ endef

# Ditch install-lib if SHARED is an option in the future
define PCIUTILS_INSTALL_TARGET_CMDS
$(MAKE) BUILDDIR=$(@D) -C $(@D) PREFIX=$(TARGET_DIR)/usr \
$(MAKE1) BUILDDIR=$(@D) -C $(@D) PREFIX=$(TARGET_DIR)/usr \
SHARED=$(PCIUTILS_SHARED) install install-lib
endef

define PCIUTILS_INSTALL_STAGING_CMDS
$(MAKE) BUILDDIR=$(@D) -C $(@D) PREFIX=$(STAGING_DIR)/usr \
$(MAKE1) BUILDDIR=$(@D) -C $(@D) PREFIX=$(STAGING_DIR)/usr \
SHARED=$(PCIUTILS_SHARED) install install-lib
endef

Expand Down

0 comments on commit 8286d71

Please sign in to comment.