1
00:00:00,005 --> 00:00:03,001
- [Instructor] Let's look at an alternative tool

2
00:00:03,001 --> 00:00:07,009
for configuring your kernel, and that's xconfig.

3
00:00:07,009 --> 00:00:10,005
So like with menu config, you need to make it,

4
00:00:10,005 --> 00:00:13,002
so stuff has to get compiled.

5
00:00:13,002 --> 00:00:16,000
You might have to install some additional packages

6
00:00:16,000 --> 00:00:17,007
to be able to use it,

7
00:00:17,007 --> 00:00:23,008
maybe G++, some QT, Package, and so forth.

8
00:00:23,008 --> 00:00:26,005
It will let you know what's missing.

9
00:00:26,005 --> 00:00:27,006
Or you might have to do a little bit

10
00:00:27,006 --> 00:00:30,002
of web searching there to get that going.

11
00:00:30,002 --> 00:00:31,002
Might be worth it.

12
00:00:31,002 --> 00:00:34,003
You might prefer it, it's a more modern interface.

13
00:00:34,003 --> 00:00:36,002
You get to use your mouse.

14
00:00:36,002 --> 00:00:39,005
One thing though, I like about make menu config,

15
00:00:39,005 --> 00:00:43,007
'cause it's not mouse oriented, I can run it over SSH

16
00:00:43,007 --> 00:00:45,005
with make xconfig,

17
00:00:45,005 --> 00:00:48,002
you need a GUI environment.

18
00:00:48,002 --> 00:00:51,000
So you can click around on things.

19
00:00:51,000 --> 00:00:54,008
It has a window to show you the help.

20
00:00:54,008 --> 00:01:00,009
You click to expand and contract sub menus.

21
00:01:00,009 --> 00:01:02,007
And in the interface,

22
00:01:02,007 --> 00:01:06,008
if next to a choice is a dot,

23
00:01:06,008 --> 00:01:09,007
that means it's chosen as a module.

24
00:01:09,007 --> 00:01:13,000
If it's a check mark, that means it's chosen

25
00:01:13,000 --> 00:01:16,005
to be statically linked into the kernel image.

26
00:01:16,005 --> 00:01:21,008
And if it's empty, that means that choice is not chosen.

27
00:01:21,008 --> 00:01:25,005
Xconfig is pretty nice for searching.

28
00:01:25,005 --> 00:01:27,007
If I need to search for stuff,

29
00:01:27,007 --> 00:01:31,008
I'll generally start up xconfig instead of menu config.

30
00:01:31,008 --> 00:01:34,006
Underneath the edit menu is fine

31
00:01:34,006 --> 00:01:37,009
and you can type in a string, type in as much

32
00:01:37,009 --> 00:01:40,009
of the config name as you can

33
00:01:40,009 --> 00:01:44,000
because it's going to show you all the config options

34
00:01:44,000 --> 00:01:45,001
that include the string.

35
00:01:45,001 --> 00:01:49,004
And sometimes the string you put is the subset

36
00:01:49,004 --> 00:01:54,002
of other ones and you get a big list that matches.

37
00:01:54,002 --> 00:01:57,001
And then from the result you can click on that

38
00:01:57,001 --> 00:01:59,007
and right there you can choose the configuration,

39
00:01:59,007 --> 00:02:02,007
so it's pretty convenient.

40
00:02:02,007 --> 00:02:05,008
If you want to see the config names instead

41
00:02:05,008 --> 00:02:09,000
of just a list of the boxes,

42
00:02:09,000 --> 00:02:14,005
then in the option menu up above, choose show name,

43
00:02:14,005 --> 00:02:19,001
so that's pretty nice when you want to see listed there

44
00:02:19,001 --> 00:02:21,007
the name of the config variable.

45
00:02:21,007 --> 00:02:22,008
Or if you want to see,

46
00:02:22,008 --> 00:02:27,005
just want to see what the config variable names are.

47
00:02:27,005 --> 00:02:30,000
The help in xconfig is extra nice

48
00:02:30,000 --> 00:02:32,009
'cause it just shows up as you're clicking on things

49
00:02:32,009 --> 00:02:35,003
in that lower window.

50
00:02:35,003 --> 00:02:38,007
I really like that, I read the help a lot.

51
00:02:38,007 --> 00:02:41,006
and they have one of those mysterious icons

52
00:02:41,006 --> 00:02:46,001
that looks like a floppy disk thing that you click on

53
00:02:46,001 --> 00:02:47,008
to save your config.

54
00:02:47,008 --> 00:02:50,007
It's also possible to load a different config,

55
00:02:50,007 --> 00:02:53,002
but when you hit the save it writes it out to .config,

56
00:02:53,002 --> 00:02:54,007
which is probably what you want

57
00:02:54,007 --> 00:02:57,008
and you probably don't need to load one from the file menu.

58
00:02:57,008 --> 00:02:59,008
You start up make xconfig

59
00:02:59,008 --> 00:03:02,000
and it starts with your .config.

