worst part about linux kernel is the configuration how TF is a person new to the kernel supposed to figure out which CONFIG_FOOBAR variable to turn on? i haven't the faintest clue
-
-
Replying to @hugelgupf
Back when I had the time to compile my own kernels there was a terminal GUI that I used to configure it. Is that gone now?
2 replies 0 retweets 0 likes -
Replying to @andrioid
sure, there's menuconfig. I wouldn't call that user-friendly...
1 reply 0 retweets 0 likes -
-
Replying to @hugelgupf @andrioid
and the dependencies are oh-so-often so wrong all you get is a compilation error then you have to dig into code to see what broke and what might supply that dependency which means you gotta know how the Kconfig build system actually works (
#define and the makefiles)1 reply 0 retweets 0 likes -
Replying to @hugelgupf
Sounds like the Linux kernel could benefit from lowering this barrier to get some new developers to the project Maybe the
@linuxfoundation should sponsor that effort?1 reply 0 retweets 1 like -
Replying to @andrioid @linuxfoundation
tbh i don't have any good ideas on how to make it better right now just a frustration i had starting out, and one i see in everyone we onboard to LinuxBoot internally
1 reply 0 retweets 1 like -
seriously make menuconfig is WAY better than anything else out there in the autotools/CMake/NIHbuildSytem world for complex projects
2 replies 0 retweets 0 likes -
Replying to @acruiz @hugelgupf and
I don't think that
@hugelgupf was complaining about the tooling (I agree that Kbuild is way better than most build systems) but rather the fact that it's common for option dependencies to not be properly defined in the Kconfig files. What's hard is to figure out the implicit deps1 reply 0 retweets 1 like -
Replying to @martinezjavier @hugelgupf and
To me that's a slightly different problem than the setup being hard for newcomers. Rather than the setup being buggy and those bugs being specially harming for newcomers. It's not like those bugs don't hit seasoned developers either.
2 replies 0 retweets 0 likes
Agreed. But seasoned devs already know how Kbuild/Kconfig works so can figure out what should be enabled. I do believe that we need better tooling though, for example AFAIK there isn't a tool that tells what are all the option needed to be enabled as dependencies for CONFIG_FOO.
-
-
Replying to @martinezjavier @acruiz and
menuconfig tells you when searching for a config symbol with / but that's not scriptable and IIRC it only shows you the first level of dependencies, I don't think that traverses recursively the dependency tree.
0 replies 0 retweets 1 likeThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.