This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: CT-NG 1.16.0: CONFIG_SHELL '' is not valid


Philipp, All,

On Sunday 05 August 2012 13:10:06 Philipp Burch wrote:
> I've just seen the new release CT-NG 1.16.0 and tried to build a 
> toolchain for a Stellaris microcontroller 
> (arm-bare_newlib_cortex_m3_nommu-eabi sample config). When typing
> 
> ct-ng build
> 
> in the new directory, the following messages appear:
[--SNIP--]
> [ERROR]  The CONFIG_SHELL '' is not valid

It works here for me:

  $ ./configure --enable-local
  [--SNIP--]
  $ make
  [--SNIP--]
  $ ./ct-ng arm-bare_newlib_cortex_m3_nommu-eabi
  [--SNIP--]
  Now configured for "arm-bare_newlib_cortex_m3_nommu-eabi"
  $ grep 'CT_CONFIG_SHELL=' .config
  CT_CONFIG_SHELL="${bash}"
  $ grep bash paths.sh 
  export bash="/bin/bash"
  $ ./ct-ng build
  [INFO ]  Performing some trivial sanity checks
  [INFO ]  Build started 20120805.162830
  [INFO ]  Building environment variables
  [EXTRA]  Preparing working directories
  [--SNIP--]

How do you use the sample? If you just copy the crosstool.config file from
the sample, as .config, it will not work, indeed.

To use a sample, you have to tell ct-ng to use that sample:
  $ ct-ng [sample-name]

That's because the samples are so-called defconfig files, which contain only
the non-default values from the config options. ct-ng does the needed things
to bring a defconfig into a complete .config, that it can then use.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]