Buildroot fork.
Go to file
Yann E. MORIN 53785a2c77 linux: fix extensions
Since the move to the kconfig-package infra, linux extensions are
broken.

In our linux package, extensions are applied as pre-patch hooks.

Before the kconfig-package infra, we had custom rules for the
linux-*config targets, which were of the form:

    linux-menuconfig: linux-configure
        $(MAKE) -C $(LINUX_DIR) menuconfig

This caused the linux tree to be fully configured before running the
configurators, and thus linux dependencies were entirely fullfilled, and
extensions were properly applied.

Since we migrated (in dff25ea), the kconfig-package infra introduces a
(hidden, internal) intermediate step 'kconfig-fixup' and decorelates the
kconfig-part of the configuration from the actual package-part of the
configuration:

    linux-configure -------> kconfig-fixup --> .config --> $(LINUX_CONFIG_FILE)
                        /
    linux-menuconfig --'

As thus, this (very useful!) use-case breaks (starting from a clean
Buildroot tree):

    make menuconfig
        -> enable a kernel and at least one extension
        -> save and exit
    make linux-menuconfig
        -> extensions are not available

Fix that by using the newly-introduced patch-dependencies, so that
extensions are available before we try to patch the linux kernel.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-04-09 22:52:20 +02:00
arch arch/sparc: doesn't have atomics 2015-03-30 23:30:28 +02:00
board Fix typos in comment blocks 2015-04-08 22:44:43 +02:00
boot Fix typos in comment blocks 2015-04-08 22:44:43 +02:00
configs configs/raspberrypi2: kernel version does not exist anymore 2015-04-08 21:28:08 +02:00
docs docs/manual: add _PATCH_DEPENDENCIES 2015-04-09 22:48:21 +02:00
fs fs/common: build host-xz when xz compression is used 2015-03-09 14:10:13 +01:00
linux linux: fix extensions 2015-04-09 22:52:20 +02:00
package package infra: add patch-dependencies 2015-04-09 22:47:30 +02:00
support Fix typos in comment blocks 2015-04-08 22:44:43 +02:00
system systemd: needs 3.10+ kernel headers 2015-04-05 11:22:44 +02:00
toolchain toolchain/external: do not accept distro-class toolchains 2015-04-04 17:02:46 +02:00
.defconfig arch: kill avr32 2015-02-14 17:39:50 +01:00
.gitignore update gitignore 2013-05-04 12:41:55 +02:00
CHANGES Update for 2015.02 2015-03-01 22:26:12 +01:00
Config.in Config.in: remove BR2_DEPRECATED_SINCE_2014_02 2015-03-04 22:13:40 +01:00
Config.in.legacy package/gtk2-themes: remove 2015-04-01 22:39:02 +02:00
COPYING clarify license and fix website license link 2009-05-08 09:29:41 +02:00
Makefile Makefile: delete HOSTFC and FC_FOR_BUILD 2015-04-09 21:44:41 +02:00
Makefile.legacy Makefile.legacy: fix recursive invocation with BUILDROOT_DL_DIR and _CONFIG 2014-02-11 08:14:57 +01:00
README README: mention 'make list-defconfigs' 2015-04-04 15:19:43 +02:00

Buildroot is a simple, efficient and easy-to-use tool to generate embedded
Linux systems through cross-compilation.

The documentation can be found in docs/manual. You can generate a text
document with 'make manual-text' and read output/docs/manual/manual.text.
Online documentation can be found at http://buildroot.org/docs.html

To build and use the buildroot stuff, do the following:

1) run 'make menuconfig'
2) select the target architecture and the packages you wish to compile
3) run 'make'
4) wait while it compiles
5) find the kernel, bootloader, root filesystem, etc. in output/images

You do not need to be root to build or run buildroot.  Have fun!

Buildroot comes with a basic configuration for a number of boards. Run
'make list-defconfigs' to view the list of provided configurations.

Please feed suggestions, bug reports, insults, and bribes back to the
buildroot mailing list: buildroot@buildroot.org
You can also find us on #buildroot on Freenode IRC.