Go to file
Yann E. MORIN 273031ca02 core/pkg-kconfig: do not override @D
Currently, we override @D for the kconfig configurators, so the fixup
commands can use $(@D); otherwise @D would be simply '.' because it is
not a real file in the package build dir.

However, this breaks the soon-to-be-introduced linux-backports package,
which needs to have a dependency on the linux package to be configured.

The underlying reason is that @D is an automatic variable that is always
set by make to the directory part of the target of the rule. However,
automatic variables loose their "automatic" property when they are
manually set.

Furthermore, a variable that is defined for a rule is inherited by all
dependencies of that rule, so our manually-set @D is inherited all the
way down the dependency chain of linux-backports, down to the linux' own
.config rule, which is thus run with @D pointing to linux-backports'
build dir, not linux'.

Fix that by using a "static pattern rule", redirecting the configurators
to an intermediate stamp-like file which path is in the package build
dir, so we get a valid @D from the onset, without having to manually
fiddle with it.

Thanks to Arnout for suggesting that in the first place. Sorry I did
reject it as "too complex" when it was in fact the best solution.

Suggested-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
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-07-22 17:25:11 +02:00
arch ARC: allow selection of MMU page size 2015-07-18 14:07:35 +02:00
board zedboard: Switch to U-Boot 2015.07 2015-07-22 14:31:55 +02:00
boot uboot: mark Freescale i.MX28 specific formats as such 2015-07-19 14:50:01 +02:00
configs zedboard: Switch to U-Boot 2015.07 2015-07-22 14:31:55 +02:00
docs docs/manual: add U-Boot configuration 2015-07-19 14:47:11 +02:00
fs fs: build host-mkpasswd when BR2_ROOTFS_USERS_TABLES is used 2015-07-21 23:12:52 +02:00
linux linux: bump default to version 4.1.3 2015-07-22 17:24:31 +02:00
package core/pkg-kconfig: do not override @D 2015-07-22 17:25:11 +02:00
support core/out-of-tree: fix Makefile wrapper 2015-07-16 23:38:52 +02:00
system skeleton: New package 2015-07-14 18:08:23 +02:00
toolchain trivial: fix typo optimazation 2015-07-17 19:39:19 +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 CHANGES: add release note for the permissions 2015-07-13 17:03:13 +02:00
Config.in core: fix download menu 2015-07-14 09:46:51 +02:00
Config.in.legacy package/perf: migrate perf to use the new linux-tools infrastructure 2015-07-14 23:28:06 +02:00
COPYING clarify license and fix website license link 2009-05-08 09:29:41 +02:00
Makefile Makefile: fix performance regression caused by the umask handling 2015-07-18 11:31:38 +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.