Dear Wiki user, You have subscribed to a wiki page or wiki category on "Fedora Project Wiki" for change notification. The following page has been changed by KarstenWade: http://fedoraproject.org/wiki/Docs/Beats/Kernel ------------------------------------------------------------------------------ Enter the `root` password when prompted. == Preparing for Kernel Development == - Fedora Core [[GetVal(DocsDict,BeatsVer)]] does not include the kernel-source package provided by older versions since only the kernel-devel package is required now to build external modules. Configured sources are available, as described in this kernel flavors section. @@ -168, +167 @@ == Building Only Kernel Modules == - An exploded source tree is not required to build a kernel module, such as your own device driver, against the currently in-use kernel. Only the kernel-devel package is required to build external modules. If you havent selected it during installation, you can use Pirut, Applications=> Add/Remove software or yum to install it. Run the following command to install the kernel-devel package using yum. + An exploded source tree is not required to build a kernel module, such as your own device driver, against the currently in-use kernel. Only the `kernel-devel` package is required to build external modules. If you did not select it during installation, use '''Pirut''' to install it, going to '''Applications > Add/Remove''' software or use {{{yum}}} to install it. Run the following command to install the `kernel-devel` package using {{{yum}}}. - {{{ + {{{ - - su -c 'yum install kernel-devel' + su -c 'yum install kernel-devel' - }}} For example, to build the `foo.ko` module, create the following `Makefile` in the directory containing the `foo.c` file: