Don't build GDB in canadian build->target
Andrew Hsieh [Fri, 3 May 2013 07:58:01 +0000 (15:58 +0800)]
In canadian build->target is built first (eg. in order to build/run
executable on build system to generate table), then host->target.

Don't build GDB in build->target, because GDB doens't need it.  Besides,
--with-python= pointing to "host" header can fail "build"'s gcc.

Change-Id: Ic1a8a9d6fe5974a6747ca4342a336beea9987f47

Makefile.in

index 1aefec0..fdb4725 100644 (file)
@@ -253,8 +253,8 @@ stmp-config-canadian-tools:
          mkdir $(CANADIAN_ROOT)) && \
        ($(canadian_build_env) \
         cd $(CANADIAN_ROOT) && \
-        $(abs_srcdir)/configure $(baseargs) --build=$(cur_build) \
-               --host=$(cur_build) --target=$(cur_target)) && \
+        $(abs_srcdir)/configure $(baseargs) --with-gdb-version=none --build=$(cur_build) \
+               --host=$(cur_build) --target=$(cur_target))  && \
        $(STAMP) $@
 
 build-canadian-tools: stmp-build-canadian-tools