Browse Source

gemini: fix parallel build

Due to the missing PROFILES all images are build, regardless of the
selected (or currently processed in case of a multi profile build).

Because of the race condition builds with eight parallel jobs fail,
which can be seen on the build bots as well.

Add the PROFILES variable for now, till the root cause is identified.

Signed-off-by: Mathias Kresin <[email protected]>
Mathias Kresin 7 years ago
parent
commit
ec0d58ede4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      target/linux/gemini/image/Makefile

+ 1 - 0
target/linux/gemini/image/Makefile

@@ -71,6 +71,7 @@ endef
 
 
 # All DTB files are prefixed with "gemini-"
 # All DTB files are prefixed with "gemini-"
 define Device/Default
 define Device/Default
+	PROFILES := Default
 	DEVICE_DTS := $(patsubst %.dtb,%,$(notdir $(wildcard $(if $(IB),$(KDIR),$(DTS_DIR))/*-$(1).dtb)))
 	DEVICE_DTS := $(patsubst %.dtb,%,$(notdir $(wildcard $(if $(IB),$(KDIR),$(DTS_DIR))/*-$(1).dtb)))
 	KERNEL_DEPENDS = $$(wildcard $(DTS_DIR)/$$(DEVICE_DTS).dts)
 	KERNEL_DEPENDS = $$(wildcard $(DTS_DIR)/$$(DEVICE_DTS).dts)
 	KERNEL_NAME := zImage
 	KERNEL_NAME := zImage