From: "Steven Rostedt (VMware)" <rostedt@xxxxxxxxxxx> Add printing a nice message "BUILD libtracecmd.pc" when it is being created. And also add it to the .gitignore file. Signed-off-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx> --- .gitignore | 1 + scripts/utils.mk | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index ca6c9cb68f6f..1e8c1d4f5734 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ cscope* traceevent_plugin_dir trace_python_dir tracecmd_plugin_dir +libtracecmd.pc diff --git a/scripts/utils.mk b/scripts/utils.mk index 98549af9a774..e166c6ae3f9d 100644 --- a/scripts/utils.mk +++ b/scripts/utils.mk @@ -144,7 +144,8 @@ define do_install_pkgconfig_file endef define do_make_pkgconfig_file - cp -f $(srctree)/${PKG_CONFIG_SOURCE_FILE}.template ${PKG_CONFIG_FILE}; \ + $(print_app_build) + $(Q)cp -f $(srctree)/${PKG_CONFIG_SOURCE_FILE}.template ${PKG_CONFIG_FILE}; \ sed -i "s|INSTALL_PREFIX|${1}|g" ${PKG_CONFIG_FILE}; \ sed -i "s|LIB_VERSION|${LIBTRACECMD_VERSION}|g" ${PKG_CONFIG_FILE}; \ sed -i "s|LIB_DIR|$(libdir)|g" ${PKG_CONFIG_FILE}; \ -- 2.29.2