summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiulio Benetti <giulio.benetti@micronovasrl.com>2018-02-20 12:22:08 (GMT)
committerPeter Korsgaard <peter@korsgaard.com>2018-02-21 21:47:33 (GMT)
commit4de24dc4a9a8f9e2aec09764d608f37635e220a9 (patch)
tree0a82338c5fc944da1067121a40e0f94e6b0d4c09
parente10f1eb5b1309366a8309f2c0d63dd5a755f7fd8 (diff)
downloadbuildroot-4de24dc4a9a8f9e2aec09764d608f37635e220a9.tar.gz
buildroot-4de24dc4a9a8f9e2aec09764d608f37635e220a9.tar.bz2
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. Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/sunxi-mali-mainline-driver/sunxi-mali-mainline-driver.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/sunxi-mali-mainline-driver/sunxi-mali-mainline-driver.mk b/package/sunxi-mali-mainline-driver/sunxi-mali-mainline-driver.mk
index 9123c42..cde76e2 100644
--- a/package/sunxi-mali-mainline-driver/sunxi-mali-mainline-driver.mk
+++ b/package/sunxi-mali-mainline-driver/sunxi-mali-mainline-driver.mk
@@ -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))