package/libnss: enable parallel building
authorGiulio Benetti <giulio.benetti@benettiengineering.com>
Mon, 16 Aug 2021 17:45:53 +0000 (19:45 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 19 Aug 2021 20:34:41 +0000 (22:34 +0200)
Parallel Makefile building has been fixed with version 3.62 on commit
[1], so enable parallel building by substituting $(MAKE1) with $(MAKE)
in libnss.mk.

[1]: https://hg.mozilla.org/projects/nss/rev/a5c857139b37476ca10032504ea876b97e066424

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

index 0db543e34ba0b58a2f074b3759d6dce9c8a28bd6..100ce2f8aaa9da0bc635ab5e92ee52db0a765ca1 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= \
@@ -129,12 +129,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= \