]> granicus.if.org Git - esp-idf/commitdiff
make, cmake: display ulp assembler version
authorRenz Christian Bagaporo <renz@espressif.com>
Tue, 27 Nov 2018 11:31:46 +0000 (19:31 +0800)
committerRenz Christian Bagaporo <renz@espressif.com>
Tue, 27 Nov 2018 11:40:50 +0000 (19:40 +0800)
components/ulp/cmake/CMakeLists.txt
components/ulp/component_ulp_common.mk

index 7eeef033e861d9b553fdebb75b0048d91e764fcb..b4cfcd4bafe969ba80904e48634b50b1b23e793f 100644 (file)
@@ -14,6 +14,9 @@ execute_process(
 string(REGEX MATCH "GNU assembler \\(GNU Binutils\\) (${version_pattern})" as_version ${as_output})
 set(as_version ${CMAKE_MATCH_1})
 
+message(STATUS "Building ULP app ${ULP_APP_NAME}")
+message(STATUS "ULP assembler version: ${as_version}")
+
 # Check the supported assembler version
 file(STRINGS ${IDF_PATH}/components/ulp/toolchain_ulp_version.mk version_file_contents)
 string(REGEX MATCH "SUPPORTED_ULP_ASSEMBLER_VERSION = (${version_pattern})" as_supported_version ${version_file_contents})
index ba566e9df1f4d7ea5ef0733a2d9dca3cc08d9dd2..a4174d1e1de2578d2fc9ade393b54baf5058d57e 100644 (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))