Go to file
Yann E. MORIN 1273636fc6 core/legal-info: also save patches
Currently, the legal-info infra only saves the source archive of a
package. However, that's not enough as we may apply some patches on
packages sources.

We do suggest users to also redistribute the Buildroot sources as part
of their compliance distribution, so the patches bundled in Buildroot
would indeed be included in the compliance distribution.

However, that's still not enough, since we may download some patches, or
the user may use a global patch directory. Patches in there might not
end up in the compliance distribution, and there are risks of
non-conformity.

So, always include patches alongside the source archive.

To ensure reproducibility, we also generate a series file, so patches
can be re-applied in the correct order.

We get the list of patches to include from the list of patches that were
applied by the package infrastructure (via the apply-patches support
script). So, we need to get packages properly extracted and patched
before we can save their legal-info, not just in the case they define
_LICENSE_FILES.

Update the legal-info header accordingly.

Note: this means that, when a package is not patched and defines no
LICENSE_FILES, we will extract and patch it for nothing. There is no
easy way to know whether we have to patch a package or not. We can only
either duplicate the logic to detect patches (bad) or rely on the infra
actually patching the package. Also, a vast majority of packages are
either patched, or define _LICENSE_FILES, so it is best and easiest to
always extract and patch them prior to legal-info.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Luca Ceresoli <luca@lucaceresoli.net>
Tested-by: Luca Ceresoli <luca@lucaceresoli.net>
Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-06-24 16:18:16 +02:00
arch m68k: remove BR2_GCC_TARGET_ARCH 2016-06-07 13:11:59 +02:00
board configs/toradex_apalis_imx6_defconfig: new board 2016-06-15 23:23:41 +02:00
boot barebox: bump to version 2016.06.0 2016-06-23 21:07:17 +02:00
configs configs/toradex_apalis_imx6_defconfig: new board 2016-06-15 23:23:41 +02:00
docs scanpypi: new utility 2016-06-11 16:13:31 +02:00
fs fs: add sha-bang to fakeroot script 2016-06-07 23:13:36 +02:00
linux linux: allow the selection of the architecture's default configuration 2016-06-18 15:05:15 +02:00
package core/legal-info: also save patches 2016-06-24 16:18:16 +02:00
support core/legal-info: also save patches 2016-06-24 16:18:16 +02:00
system system: add help entry to "none" init system 2016-05-28 10:58:34 +02:00
toolchain toolchain-external: hook for Codescape toolchain side-by-side layout 2016-06-07 23:41:36 +02:00
.defconfig arch/x86: remove support for i386 2016-04-18 23:38:34 +02:00
.gitignore
CHANGES Update for 2016.05 2016-05-31 23:52:36 +02:00
Config.in Config.in: Add BR2_DEPRECATED_SINCE_2016_08 2016-06-18 15:36:10 +02:00
Config.in.legacy imx-vpuwrap: rename from libfslvpuwrap and bump version to 1.0.65 2016-06-15 22:48:40 +02:00
COPYING
Makefile build: fix umask test 2016-06-20 22:48:42 +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