make, cmake: display ulp assembler version

This commit is contained in:
Renz Christian Bagaporo
2018-11-27 19:31:46 +08:00
parent b35c745c4f
commit bec3bb3ba4
2 changed files with 6 additions and 0 deletions

View File

@@ -28,6 +28,9 @@ ULP_PREPROCESSOR_ARGS := \
include $(IDF_PATH)/components/ulp/toolchain_ulp_version.mk
ULP_AS_VER := $(shell $(ULP_AS) --version | sed -E -n 's|GNU assembler \(GNU Binutils\) ([a-z0-9\.-]+)|\1|gp')
$(info Building ULP app $(ULP_APP_NAME))
$(info ULP assembler version: $(ULP_AS_VER))
ifeq (,$(findstring $(ULP_AS_VER), $(SUPPORTED_ULP_ASSEMBLER_VERSION)))
$(info WARNING: ULP assembler version $(ULP_AS_VER) is not supported.)
$(info Expected to see version: $(SUPPORTED_ULP_ASSEMBLER_VERSION))