package/libnss: enable parallel building
authorGiulio Benetti <giulio.benetti@benettiengineering.com>
Sat, 4 Jul 2020 22:18:26 +0000 (00:18 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 5 Jul 2020 13:12:23 +0000 (15:12 +0200)
Enable parallel building by substituting $(MAKE1) with $(MAKE) in
libnss.mk. Parallel Makefile building has been added after version 3.53
so now it's time to enable it in Buildroot to save building time.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libnss/libnss.mk

index 8b318923535f859b0d5ebd9a6bafc3c5701af387..3e4529baaae0e5f66f18432e6c3f04acaf979386 100644 (file)
@@ -69,12 +69,12 @@ endif
 endif
 
 define LIBNSS_BUILD_CMDS
-       $(TARGET_CONFIGURE_OPTS) $(MAKE1) -C $(@D)/nss coreconf \
+       $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)/nss coreconf \
                SOURCE_MD_DIR=$(@D)/$(LIBNSS_DISTDIR) \
                DIST=$(@D)/$(LIBNSS_DISTDIR) \
                CHECKLOC= \
                $(LIBNSS_BUILD_VARS)
-       $(TARGET_CONFIGURE_OPTS) $(MAKE1) -C $(@D)/nss lib/dbm all \
+       $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)/nss lib/dbm all \
                SOURCE_MD_DIR=$(@D)/$(LIBNSS_DISTDIR) \
                DIST=$(@D)/$(LIBNSS_DISTDIR) \
                CHECKLOC= \
@@ -127,12 +127,12 @@ HOST_LIBNSS_BUILD_VARS += USE_64=1
 endif
 
 define HOST_LIBNSS_BUILD_CMDS
-       $(HOST_CONFIGURE_OPTS) $(MAKE1) -C $(@D)/nss coreconf \
+       $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D)/nss coreconf \
                SOURCE_MD_DIR=$(@D)/$(LIBNSS_DISTDIR) \
                DIST=$(@D)/$(LIBNSS_DISTDIR) \
                CHECKLOC= \
                $(HOST_LIBNSS_BUILD_VARS)
-       $(HOST_CONFIGURE_OPTS) $(MAKE1) -C $(@D)/nss lib/dbm all \
+       $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D)/nss lib/dbm all \
                SOURCE_MD_DIR=$(@D)/$(LIBNSS_DISTDIR) \
                DIST=$(@D)/$(LIBNSS_DISTDIR) \
                CHECKLOC= \