Quantcast
Channel: lkml.org : Shesha Sreenivasamurthy
Viewing all articles
Browse latest Browse all 1267

Re: [RFC PATCH 4/7] kconfig: support new special property shell=

$
0
0
Linus Torvalds writes: (Summary) Ok, so this really ended up bothering me.
Ok, so this really ended up bothering me.
I was hoping to really just unify all the stupid compiler flag testing in just the Kconfig files and hoping we could really just use in just the Kconfig files and hoping we could really just use config CC_xyz
bool
option cc_option "-fwhatever-xyz"
option cc_option "-fwhatever-xyz"
to set them, and then build Kconfig rules from that: to set them, and then build Kconfig rules from that: config USE_xyz
bool "Some question that needs xyz"
depends on CC_xyz
depends on CC_xyz
and have a nice simple
and have a nice simple
ccflags-$(CONFIG_USE_xyz) += -fwhataver-xyz
ccflags-$(CONFIG_USE_xyz) += -fwhataver-xyz
in the Makefiles.
in the Makefiles.
And one thought I had was "hey, if we need a script for -fstack-protector, maybe we can simply standardize on _everything_ using a script".
using

Viewing all articles
Browse latest Browse all 1267

Trending Articles