Просмотр исходного кода

make debugging: With V=1, output when including each Makefile.projbuild

also enable V=1 on CI builds
Angus Gratton 9 лет назад
Родитель
Сommit
f605e03344
2 измененных файлов с 2 добавлено и 1 удалено
  1. 1 1
      .gitlab-ci.yml
  2. 1 0
      make/project.mk

+ 1 - 1
.gitlab-ci.yml

@@ -23,7 +23,7 @@ build_template_app:
     # branch
     - git checkout ${CI_BUILD_REF_NAME} || echo "Using esp-idf-template default branch..."
     - make defconfig
-    - make all
+    - make all V=1
 
 test_nvs_on_host:
   stage: test

+ 1 - 0
make/project.mk

@@ -193,6 +193,7 @@ APP_BIN:=$(APP_ELF:.elf=.bin)
 # Include any Makefile.projbuild file letting components add
 # configuration at the project level
 define includeProjBuildMakefile
+$(if $(V),$(if $(wildcard $(1)/Makefile.projbuild),$(info including $(1)/Makefile.projbuild...)))
 COMPONENT_PATH := $(1)
 -include $(1)/Makefile.projbuild
 endef