diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2014-06-09 12:32:33 -0700 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2014-06-09 12:32:33 -0700 |
commit | 9f5d554890c871d58bd4f505ee03c3370e1f4e90 (patch) | |
tree | 6af03009c7deb33666aefb4f0cc36b8fb9021500 /utils.mk | |
parent | 11027cc3b9039a50d529520d93d768887bf440ae (diff) |
340.17340.17
Diffstat (limited to 'utils.mk')
-rw-r--r-- | utils.mk | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -230,7 +230,7 @@ NV_MODULE_LOGGING_NAME ?= ifeq ($(NV_VERBOSE),0) quiet_cmd = @$(PRINTF) \ - " $(if $(NV_MODULE_LOGGING_NAME),[ %-17.17s ]) $(quiet_$(1))\n" \ + " $(if $(NV_MODULE_LOGGING_NAME),[ %-17.17s ],%s) $(quiet_$(1))\n" \ "$(NV_MODULE_LOGGING_NAME)" && $($(1)) else quiet_cmd = $($(1)) @@ -343,11 +343,12 @@ define DEFINE_STAMP_C_RULE $$(call BUILD_OBJECT_LIST,$$(STAMP_C)),$(1)) \ $$(VERSION_MK) @ $$(RM) $$@ - @ $$(PRINTF) "const char NV_ID[] = \"nvidia id: " >> $$@ - @ $$(PRINTF) "$(2): " >> $$@ - @ $$(PRINTF) "version $$(NVIDIA_VERSION) " >> $$@ - @ $$(PRINTF) "($$(shell $$(WHOAMI))@$$(shell $$(HOSTNAME_CMD))) " >> $$@ - @ $$(PRINTF) "$$(shell $(DATE))\";\n" >> $$@ - @ $$(PRINTF) "const char *pNV_ID = NV_ID + 11;\n" >> $$@ + @ $$(PRINTF) "%s" "const char NV_ID[] = \"nvidia id: " >> $$@ + @ $$(PRINTF) "%s" "$(2): " >> $$@ + @ $$(PRINTF) "%s" "version $$(NVIDIA_VERSION) " >> $$@ + @ $$(PRINTF) "%s" "($$(shell $$(WHOAMI))" >> $$@ + @ $$(PRINTF) "%s" "@$$(shell $$(HOSTNAME_CMD))) " >> $$@ + @ $$(PRINTF) "%s\n" "$$(shell $(DATE))\";" >> $$@ + @ $$(PRINTF) "%s\n" "const char *pNV_ID = NV_ID + 11;" >> $$@ endef |