svn commit: trunk/buildroot/toolchain/gcc
Author: jacmet
Date: 2008-06-18 08:46:48 -0700 (Wed, 18 Jun 2008) New Revision: 22430
Log:
toolchain/gcc: use $(@D)
Modified:
trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
buildroot/toolchain/gcc/gcc-uclibc-4.x.mk +1 -1
@@ -152,7 +152,7 @@ mkdir -p $(TOOL_BUILD_DIR) rm -rf $(GCC_DIR) $(GCC_CAT) $(DL_DIR)/$(GCC_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) - - $(CONFIG_UPDATE) $(GCC_DIR) + $(CONFIG_UPDATE) $(@D) touch $@ gcc-patched: $(GCC_DIR)/.patched
Quoted 6 lines · jacmet at uclibc.org
Author: jacmet
Date: 2008-06-18 08:46:48 -0700 (Wed, 18 Jun 2008) New Revision: 22430Log:
toolchain/gcc: use $(@D)
Umm that's not very descriptive :) What does $(@D) do and why is it preferable to the previous value?
buildroot/toolchain/gcc/gcc-uclibc-4.x.mk line 156
Quoted 3 lines
buildroot/toolchain/gcc/gcc-uclibc-4.x.mk +1
-1- $(CONFIG_UPDATE) $(GCC_DIR) + $(CONFIG_UPDATE) $(@D) touch $@
thanks
Hamish
Signature · 1 line
Hamish Moffatt VK3SB <[email protected]> <[email protected]>
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Hamish" == Hamish Moffatt <[email protected]> writes:
Quoted 6 lines · jacmet at uclibc.org
Quoted 6 lines
Author: jacmet
Date: 2008-06-18 08:46:48 -0700 (Wed, 18 Jun 2008) New Revision: 22430Log:
toolchain/gcc: use $(@D)
Hamish> Umm that's not very descriptive :) What does $(@D) do and why is it Hamish> preferable to the previous value?
$(@D) is the directory part of the target, and it's preferable for the same reason we are replacing explicit target names with $@.
Would you rather have a commit message like:
toolchain/gcc: misc cleanup ?
It's not really important, but I'm running though the changes Bernhard has made to toolchain/gcc as I'm going to take the 4.3.x patches, and I'm applying the trivial fixes I see.
Signature · 1 line
Bye, Peter Korsgaard