pciutils: simplify
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 11 Jun 2012 20:42:29 +0000 (22:42 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 11 Jun 2012 20:42:29 +0000 (22:42 +0200)
No need for two seperate make invocations for installation.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/pciutils/pciutils.mk

index 7de5fd7b428ae900a6a1a5929cf46c8e7847b155..d1c8db509c215d37071cd42d7005e22d18ad47bd 100644 (file)
@@ -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))