Skip to contentSkip to conversation

sunxi-mali-mainline-driver: set parallel build according to buildroot

PATCH New Giulio Benetti 2 participants 3 messages Feb 20, 2018 – Feb 22, 2018 Arm/Allwinner sunXi SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sunxi-mali-mainline-driver: set parallel build according to buildroot

sunxi-mali-mainline-driver builds using parallel compilation by default, using -j $(nproc), but this could be not wanted.

Pass -j $(PARALLEL_JOBS) to build using jobs configured in buildroot.

---
 package/sunxi-mali-mainline-driver/sunxi-mali-mainline-driver.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
package/sunxi-mali-mainline-driver/sunxi-mali-mainline-driver.mk +2 -2
index 9123c42..cde76e2 100644
@@ -23,12 +23,12 @@ SUNXI_MALI_MAINLINE_DRIVER_POST_PATCH_HOOKS += SUNXI_MALI_MAINLINE_DRIVER_USE_AP
 
 define SUNXI_MALI_MAINLINE_DRIVER_BUILD_CMDS
 	cd $(@D) && $(SUNXI_MALI_MAINLINE_DRIVER_MAKE_OPTS) \
-		$(SHELL) ./build.sh -r $(SUNXI_MALI_MAINLINE_REV) -b
+		$(SHELL) ./build.sh -r $(SUNXI_MALI_MAINLINE_REV) -j $(PARALLEL_JOBS) -b
 endef
 
 define SUNXI_MALI_MAINLINE_DRIVER_INSTALL_TARGET_CMDS
 	cd $(@D) && $(SUNXI_MALI_MAINLINE_DRIVER_MAKE_OPTS) \
-		$(SHELL) ./build.sh -r $(SUNXI_MALI_MAINLINE_REV) -i
+		$(SHELL) ./build.sh -r $(SUNXI_MALI_MAINLINE_REV) -j $(PARALLEL_JOBS) -i
 endef
 
 $(eval $(generic-package))
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 sunxi-mali-mainline-driver: set parallel build according to buildroot

Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Giulio" == Giulio Benetti <[email protected]> writes:

sunxi-mali-mainline-driver builds using parallel compilation by default, using -j $(nproc), but this could be not wanted.

Pass -j $(PARALLEL_JOBS) to build using jobs configured in buildroot.

Committed to next, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw

PATCH 1/1 sunxi-mali-mainline-driver: set parallel build according to buildroot

Thank you,

I've also noticed that I sould tag patch as [for-next] for next patches.

Signature · 12 lines
Giulio Benetti
CTO

MICRONOVA SRL
Sede: Via A. Niedda 3 - 35010 Vigonza (PD)
Tel. 049/8931563 - Fax 049/8931346
Cod.Fiscale - P.IVA 02663420285
Capitale Sociale ? 26.000 i.v.
Iscritta al Reg. Imprese di Padova N. 02663420285
Numero R.E.A. 258642

Il 21/02/2018 22:47, Peter Korsgaard ha scritto:
Quoted 11 lines
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Giulio" == Giulio Benetti <[email protected]> writes:

sunxi-mali-mainline-driver builds using parallel compilation by default, using -j $(nproc), but this could be not wanted.

Pass -j $(PARALLEL_JOBS) to build using jobs configured in buildroot.

Committed to next, thanks.