diff mbox

Allow CC_EXTRA_CONFIG_ARRAY on baremetal

Message ID 22181e546ba746202489.1399688067@localhost
State Accepted
Commit 4876ff97e039
Headers show

Commit Message

Cody P Schafer May 10, 2014, 2:14 a.m. UTC
# HG changeset patch
# User Cody Schafer <dev@codyps.com>
# Date 1399688029 25200
#      Fri May 09 19:13:49 2014 -0700
# Node ID 22181e546ba746202489cda96887be0356be19c1
# Parent  2cc5b5a97e93a0f28a5801b3da34dc00aea74bba
Allow CC_EXTRA_CONFIG_ARRAY on baremetal



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

Comments

Cody P Schafer May 11, 2014, 12:16 a.m. UTC | #1
On 05/09/2014 07:14 PM, Cody Schafer wrote:
> # HG changeset patch
> # User Cody Schafer <dev@codyps.com>
> # Date 1399688029 25200
> #      Fri May 09 19:13:49 2014 -0700
> # Node ID 22181e546ba746202489cda96887be0356be19c1
> # Parent  2cc5b5a97e93a0f28a5801b3da34dc00aea74bba
> Allow CC_EXTRA_CONFIG_ARRAY on baremetal
>

Signed-off-by: Cody P Schafer <dev@codyps.com>

> diff --git a/config/cc/gcc.in.2 b/config/cc/gcc.in.2
> --- a/config/cc/gcc.in.2
> +++ b/config/cc/gcc.in.2
> @@ -29,7 +29,6 @@
>       string
>       prompt "gcc extra config"
>       default ""
> -    depends on ! BARE_METAL
>       help
>         Extra flags to pass onto ./configure when configuring gcc.
>
>
>
> --
> For unsubscribe information see http://sourceware.org/lists.html#faq
>

--
For unsubscribe information see http://sourceware.org/lists.html#faq
Yann E. MORIN May 11, 2014, 11:07 a.m. UTC | #2
Cody, All,

On 2014-05-09 19:14 -0700, Cody Schafer spake thusly:
> # HG changeset patch
> # User Cody Schafer <dev@codyps.com>
> # Date 1399688029 25200
> #      Fri May 09 19:13:49 2014 -0700
> # Node ID 22181e546ba746202489cda96887be0356be19c1
> # Parent  2cc5b5a97e93a0f28a5801b3da34dc00aea74bba
> Allow CC_EXTRA_CONFIG_ARRAY on baremetal
> 
> diff --git a/config/cc/gcc.in.2 b/config/cc/gcc.in.2
> --- a/config/cc/gcc.in.2
> +++ b/config/cc/gcc.in.2
> @@ -29,7 +29,6 @@
>      string
>      prompt "gcc extra config"
>      default ""
> -    depends on ! BARE_METAL
>      help
>        Extra flags to pass onto ./configure when configuring gcc.

Although I understand the idea behind this change, I'm afraid it will
not do what you expect it to do.

The bare-metal compiler is built using the core backend, not the final
backend. Thus it uses the CC_CORE_EXTRA_CONFIG_ARRAY variable.

Setting the CC_EXTRA_CONFIG_ARRAY variable will thus havve no impact on
the bare-metal compiler.

I'll see what we can do, but it will be a bit more involved than just
enabling this variable in the menuconfig.

Regards,
Yann E. MORIN.
Yann E. MORIN May 11, 2014, 5:58 p.m. UTC | #3
Cody, All,

Your patch:
    cc/gcc: allow CC_EXTRA_CONFIG_ARRAY on baremetal

has been applied as: #4876ff97e039
    http://crosstool-ng.org/hg/crosstool-ng/rev/4876ff97e039

Thank you!

Regards,
Yann E. MORIN.



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

Patch

diff --git a/config/cc/gcc.in.2 b/config/cc/gcc.in.2
--- a/config/cc/gcc.in.2
+++ b/config/cc/gcc.in.2
@@ -29,7 +29,6 @@ 
     string
     prompt "gcc extra config"
     default ""
-    depends on ! BARE_METAL
     help
       Extra flags to pass onto ./configure when configuring gcc.