svn commit: trunk/busybox/scripts
aldot at busybox.net
aldot at busybox.net
Mon Jun 25 03:41:01 PDT 2007
Author: aldot
Date: 2007-06-25 03:41:01 -0700 (Mon, 25 Jun 2007)
New Revision: 18921
Log:
- need to pass the PATH down to the gcc-version check to be able to find the correct cc.
Fixes make PATH="$CROSS_BIN:$PATH" CROSS_COMPILE=foo- like invocations that previously failed to resolve since the information about the path set by the user was lost.
Modified:
trunk/busybox/scripts/Kbuild.include
Changeset:
Modified: trunk/busybox/scripts/Kbuild.include
===================================================================
--- trunk/busybox/scripts/Kbuild.include 2007-06-25 10:40:32 UTC (rev 18920)
+++ trunk/busybox/scripts/Kbuild.include 2007-06-25 10:41:01 UTC (rev 18921)
@@ -79,7 +79,7 @@
# cc-version
# Usage gcc-ver := $(call cc-version, $(CC))
-cc-version = $(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-version.sh \
+cc-version = $(shell PATH="$(PATH)" $(CONFIG_SHELL) $(srctree)/scripts/gcc-version.sh \
$(if $(1), $(1), $(CC)))
# cc-ifversion
More information about the busybox-cvs
mailing list