mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 08:14:09 -09:00
cbf3ead4c8d8fdb8787a4a4c74221687b1dfe5cf
Since64ac719952("apply-patches.sh: add recursivity when scanning patchdir"), patches with the .dpatch file extension are simply ignored. Unfortunately, setserial package stopped applying the patches after that commit. Sadly, 0002-tiocghayesesp-build-fix.patch is breaking the patch context for patch 18 in the debian diff because we are currently applying patches from within Buildroot tree before applying the ones we download from Debian. Instead of doing some hacks, let's apply Debian patches before Buildroot's. However, this requires a few changes. First, we need to migrate away from the SETSERIAL_PATCH mechanism because currently _PRE_PATCH_HOOKS runs before this is applied and _POST_PATCH_HOOKS runs after the Buildroot patches are applied. Instead, let's use an _EXTRA_DOWNLOADS we manually extract à-la package/android-tools/android-tools.mk. Then in the _PRE_PATCH_HOOKS, we apply the big diff the _EXTRA_DOWNLOADS contains so that the patches from within can be applied afterwards. Because the big diff still contains only patches with the *.dpatch extensions that are not supported anymore, we need to either rename all patches or use the 00list file that lists all patches in the order they need to be applied. Fortunately, Buildroot already supports applying patches with `patch` regardless of their extension if they are within such a file. Unfortunately, it needs to be called "series", hence the renaming. Because patch 18 from the big diff is now applied before 0002-tiocghayesesp-build-fix.patch from Buildroot tree, the latter will fail if left unmodified, so this commit also rebases it. Finally, we keep the removal of 01_makefile.dpatch for now even though it only exists because it generates a conflict with 0001-build-system-fix.patch from Buildroot tree. It'll be rebased in a later commit though. Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit534147af94) Signed-off-by: Thomas Perale <thomas.perale@mind.be>
…
…
…
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 OFTC IRC. If you would like to contribute patches, please read https://buildroot.org/manual.html#submitting-patches
Description
Languages
Makefile
62.5%
Python
19%
C
8.5%
Shell
6.1%
PHP
1.4%
Other
2.1%