From: Peter Korsgaard Date: Mon, 11 Jun 2012 20:42:29 +0000 (+0200) Subject: pciutils: simplify X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=83f43bab374535fe39d93547fb03c52fa45ab0a8;p=buildroot.git pciutils: simplify No need for two seperate make invocations for installation. Signed-off-by: Peter Korsgaard --- diff --git a/package/pciutils/pciutils.mk b/package/pciutils/pciutils.mk index 7de5fd7b42..d1c8db509c 100644 --- a/package/pciutils/pciutils.mk +++ b/package/pciutils/pciutils.mk @@ -46,16 +46,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 \ - SHARED=$(PCIUTILS_SHARED) install - $(MAKE) BUILDDIR=$(@D) -C $(@D) PREFIX=$(TARGET_DIR)/usr \ - SHARED=$(PCIUTILS_SHARED) install-lib + SHARED=$(PCIUTILS_SHARED) install install-lib endef define PCIUTILS_INSTALL_STAGING_CMDS $(MAKE) BUILDDIR=$(@D) -C $(@D) PREFIX=$(STAGING_DIR)/usr \ - SHARED=$(PCIUTILS_SHARED) install - $(MAKE) BUILDDIR=$(@D) -C $(@D) PREFIX=$(STAGING_DIR)/usr \ - SHARED=$(PCIUTILS_SHARED) install-lib + SHARED=$(PCIUTILS_SHARED) install install-lib endef $(eval $(call GENTARGETS))