mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 16:01:54 -09:00
c1e8190d16fbffe18d249573c3c0118a9386b883
Since the bump of xxhash from 0.8.2 to 0.8.3 in Buildroot commit4b8f2f3a5e, the host of host-php fails when host-xxhash has been built before. This is due to the fact that host-xxhash installs HOST_DIR/include/xxhash.h, and the PHP code has an internal xxhash.h, but due to the order of CFLAGS, the one from HOST_DIR/include/xxhash.h gets included instead of the internal xxhash.h from PHP. We initially tried to fix the order of CFLAGS, but that has proven to be challenging within the complicated PHP build system. Then, we opted for renaming the internal xxhash.h header of PHP, which we had implemented and were about to submit upstream. But while rebasing this fix on PHP's master, it turned out that PHP has an upstream commit "Sync headers installation", merged for PHP 8.4.0, which has the side effect of avoiding the issue. This commit moves xxhash.h into a subfolder, so it gets included as #include "xxhash/xxhash.h" now, which avoids the conflict with HOST_DIR/include/xxhash.h. Maybe not the best fix, but it does fix the issue and it's upstream. Since this patch is tweaking the PHP build system, we need to do the equivalent of "autoreconf" but in the PHP world. It was already done for the target package, we simply add the same logic for the host package. Fixes: http://autobuild.buildroot.net/results/583c054a564f90b8c884565070c5e17b43b89674/ Cc: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Julien Olivain <ju.o@free.fr> (cherry picked from commit3a20dfb426) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
…
…
…
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%