Go to file
Arnout Vandecappelle 503439f99a Makefile: unconfigured "make toolchain" should run report error
As reported by Alessandro Power on StackOverflow [1], the behaviour
of "make toolchain" in an unconfigured tree is misleading.

When .config doesn't exist, we don't read in the package .mk files, so
"make <package>" doesn't work:

    $ make busybox
    make: *** No rule to make target 'busybox'.  Stop.

However, for "linux" and "toolchain", the corresponding file (or
actually directory) already exists. So instead, we get:

    $ make linux
    make: Nothing to be done for 'linux'.

This is confusing, because it looks as if the build succeeded.

The obvious solution is to make linux and toolchain PHONY targets when
.config doesn't exist. However, that actually does the reverse, because
then a rule _does_ exist for them and since they don't have
dependencies, make will consider them to be ready.

Therefore, we also have to provide an explicit rule for them, and
explicitly error out. Thise behaviour is still different from other
packages, but at least it is much less confusing.

[1] https://stackoverflow.com/questions/44521150

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Luca Ceresoli <luca@lucaceresoli.net>
Tested-by: Luca Ceresoli <luca@lucaceresoli.net>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-07-01 10:10:22 +02:00
arch
board board: Add support for Engicam Is.IoT MX6UL SOM 2017-06-24 14:55:04 +02:00
boot boot/syslinux: drop patch 0008, not needed after gnu-efi update 2017-06-30 23:55:39 +02:00
configs board: Add support for Engicam Is.IoT MX6UL SOM 2017-06-24 14:55:04 +02:00
docs
fs
linux linux: bump default version to 4.11.7 2017-06-24 21:46:12 +02:00
package libgcrypt: security bump to version 1.7.8 2017-07-01 10:09:54 +02:00
support core: add "cmake3" to the list of cmake candidates 2017-06-24 21:26:20 +02:00
system
toolchain glibc: remove version choice 2017-06-24 17:42:50 +02:00
.defconfig
.gitignore
.gitlab-ci.yml board: Add support for Engicam Is.IoT MX6UL SOM 2017-06-24 14:55:04 +02:00
.gitlab-ci.yml.in
CHANGES
Config.in
Config.in.legacy package/beecrypt: remove c++ support 2017-06-24 16:50:16 +02:00
COPYING
DEVELOPERS DEVELOPERS: add Waldemar as a developer for the glibc package 2017-06-24 17:44:04 +02:00
Makefile Makefile: unconfigured "make toolchain" should run report error 2017-07-01 10:10:22 +02:00
Makefile.legacy
README

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.

If you would like to contribute patches, please read
https://buildroot.org/manual.html#submitting-patches