Go to file
Yann E. MORIN 21a231e104 linux: ensure images/ exist before creating files there
When using an initramfs, on the first-pass build, we create a dummy cpio
so that the build succeeeds. The real cpio will come later, and we'll do
a second-pass build to use the actual cpio.

However, when we touch that dummy cpio, the images/ directory may not
yet exist, since commit d0f4f95e39 (Makefile: rework main directory
creation logic) removed its creation at the begining of the build, to
only at the moment we need it, i.e. during the *_INSTALL_IMAGES_CMDS
steps.

However, the linux build is not a _INSTALL_IMAGES_CMDS step, so there is
no guarantee that images/ already exist at that time.

Fix that by explicitly creating images/ before touching the dummy cpio.

Reported-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Matthew Weber <matthew.weber@rockwellcollins.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 524fb10bbe)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-12-16 16:01:21 +01:00
arch arch: add Atom CPUs as Silvermont Architecture target 2018-01-01 13:05:16 +01:00
board configs/imx6sabre: Create distinct pre-processed mkimage config files 2018-11-26 17:57:09 +01:00
boot boot/uboot: fix environment image generation on big endian systems 2018-10-24 13:56:27 +02:00
configs configs/armadeus_apf27: fix U-Boot configuration 2018-11-26 18:02:03 +01:00
docs docs/manual: add external.desc to list of files needed for BR2_EXTERNAL 2018-11-14 23:28:39 +01:00
fs fs/tar: add support for xattrs (thus capabilties) 2018-11-26 17:24:45 +01:00
linux linux: ensure images/ exist before creating files there 2018-12-16 16:01:21 +01:00
package package/libiscsi: do not built the manpages 2018-12-16 15:53:57 +01:00
support support/graph-depends: fix package names starting with a non-alpha 2018-11-26 18:49:35 +01:00
system skeleton: PAGER without blank and unset at end of for loop 2018-06-17 17:19:52 +02:00
toolchain toolchain/buildroot: fix default of C library choice 2018-05-28 16:12:14 +02:00
utils utils/genrandconfig: add missing new line when creating the configuration 2018-11-26 12:48:13 +01:00
.defconfig
.flake8 .flake8: add config file for Python code style 2017-10-06 19:05:18 +02:00
.gitignore
.gitlab-ci.yml .gitlab-ci.yml: do runtime tests only on explicit trigger 2018-10-26 21:38:10 +02:00
.gitlab-ci.yml.in .gitlab-ci.yml: do runtime tests only on explicit trigger 2018-10-26 21:38:10 +02:00
CHANGES Update for 2018.02.8 2018-11-26 23:41:24 +01:00
Config.in Config.in: security hardening: disable FORTIFY_SOURCE for gcc < 6 2018-11-25 21:48:40 +01:00
Config.in.legacy package/transmission: remove BR2_PACKAGE_TRANSMISSION_REMOTE 2018-06-11 22:57:19 +02:00
COPYING
DEVELOPERS woff2: new package 2018-10-05 15:17:08 +02:00
Makefile Update for 2018.02.8 2018-11-26 23:41:24 +01: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