Linus Torvalds writes: (Summary) Thinking about it some more, I really would prefer just "$(shell
...)" everywhere.
...)" everywhere.
But it would be nice if perhaps the error handling would match the context somehow.
context somehow.
I'm wondering if this might tie into the whole quoting discussion in the other thread.
the other thread.
Because the rule could be:
Because the rule could be:
(a) unquoted $(shell ) is a bool, and failing is ok (and turns into y/n depending on whether successful or failing)
y/n depending on whether successful or failing)
So
So
config CC_IS_GCC
bool
...)" everywhere.
But it would be nice if perhaps the error handling would match the context somehow.
context somehow.
I'm wondering if this might tie into the whole quoting discussion in the other thread.
the other thread.
Because the rule could be:
Because the rule could be:
(a) unquoted $(shell ) is a bool, and failing is ok (and turns into y/n depending on whether successful or failing)
y/n depending on whether successful or failing)
So
So
config CC_IS_GCC
bool
default $(shell $CC --version |