From 5598b1b7626ea1e8a54baa17f83ba81e4a3bc86a Mon Sep 17 00:00:00 2001 From: NADAL Jean-Baptiste Date: Wed, 5 Dec 2018 23:24:57 +0100 Subject: [PATCH] Bump buildroot to version 2018.02.8 --- bsp/buildroot/CHANGES | 74 ++ bsp/buildroot/Config.in | 7 + bsp/buildroot/Makefile | 19 +- bsp/buildroot/VERSION | 2 +- ...nct-pre-processed-mkimage-config-fil.patch | 89 ++ ...-failure-when-no-IVT-offset-is-found.patch | 55 -- bsp/buildroot/boot/uboot/uboot.mk | 2 +- .../configs/armadeus_apf27_defconfig | 5 +- .../configs/at91sam9x5ek_dev_defconfig | 1 - .../configs/at91sam9x5ek_mmc_dev_defconfig | 1 - .../atmel_sama5d27_som1_ek_mmc_dev_defconfig | 1 - .../atmel_sama5d2_xplained_mmc_dev_defconfig | 1 - .../atmel_sama5d3_xplained_dev_defconfig | 1 - .../atmel_sama5d3_xplained_mmc_dev_defconfig | 1 - .../atmel_sama5d4_xplained_dev_defconfig | 1 - .../atmel_sama5d4_xplained_mmc_dev_defconfig | 1 - .../configs/imx6-sabresd_qt5_defconfig | 1 + .../manual/customize-directory-structure.txt | 1 + bsp/buildroot/docs/manual/manual.html | 23 +- bsp/buildroot/docs/manual/manual.pdf | Bin 523936 -> 523864 bytes bsp/buildroot/docs/manual/manual.text | 7 +- bsp/buildroot/fs/common.mk | 2 +- bsp/buildroot/fs/tar/tar.mk | 2 +- bsp/buildroot/linux/linux.mk | 7 +- .../attr/0002-Switch-back-to-syscall.patch | 126 +++ ...0001-Fix-audispd-path-in-auditd.conf.patch | 32 + .../package/audit/{S01auditd => S02auditd} | 0 bsp/buildroot/package/audit/audit.hash | 2 +- bsp/buildroot/package/audit/audit.mk | 4 +- .../{0002-cross.patch => 0001-cross.patch} | 0 .../0003-Rename-ptrsize-to-ptr_size.patch | 74 -- bsp/buildroot/package/bind/bind.hash | 4 +- bsp/buildroot/package/bind/bind.mk | 2 +- .../2.27/0100-elf32-arm-no-data-fix.patch | 22 - .../package/binutils/2.27/0120-sh-conf.patch | 46 - ....c-fixup-xg_reverse_shift_count-typo.patch | 33 - ...-memory-corruption-by-broken-sysregs.patch | 42 - .../binutils/2.27/0300-ld-makefile.patch | 41 - .../2.27/0301-check-ldrunpath-length.patch | 36 - .../0500-add-sysroot-fix-from-bug-3049.patch | 52 -- .../2.27/0600-poison-system-directories.patch | 306 ------- ...dynamic-tag-VMA-and-size-from-dynami.patch | 36 - .../2.27/0906-microblaze-pr21180.patch | 33 - ...able-CRC-instructions-on-supported-A.patch | 88 -- bsp/buildroot/package/binutils/Config.in.host | 6 + ...g-BUILD_SHARED_LIBS-to-choose-static.patch | 16 +- ...-CMake-to-not-check-for-a-C-compiler.patch | 31 - bsp/buildroot/package/brotli/brotli.hash | 2 +- bsp/buildroot/package/brotli/brotli.mk | 2 +- .../ca-certificates/ca-certificates.mk | 12 +- .../package/cups-filters/cups-filters.mk | 3 +- .../0001-easydbus-is-a-C-project-file.patch | 33 + ...able-disable-progs-configure-option.patch} | 0 ...mplementation-of-the-fts_-functions.patch} | 0 ...-Werror-conditional-to-BUILD_WERROR.patch} | 10 +- .../package/elfutils/0004-disable-po.patch | 24 - .../package/elfutils/0006-memcpy-def.patch | 26 - bsp/buildroot/package/elfutils/elfutils.hash | 8 +- bsp/buildroot/package/elfutils/elfutils.mk | 4 +- bsp/buildroot/package/erlang/Config.in | 1 + bsp/buildroot/package/erlang/erlang.mk | 3 +- bsp/buildroot/package/file/file.mk | 1 + bsp/buildroot/package/freetype/freetype.mk | 18 - .../package/gauche/0004-rfc-needs-srfi.patch | 35 + ...a-don-t-force-PIC-for-uclinux-target.patch | 41 + ...a-don-t-force-PIC-for-uclinux-target.patch | 41 + .../package/gcc/gcc-final/gcc-final.mk | 5 + bsp/buildroot/package/giflib/giflib.mk | 2 + bsp/buildroot/package/git/git.hash | 2 +- bsp/buildroot/package/git/git.mk | 2 +- bsp/buildroot/package/glibc/Config.in | 5 +- bsp/buildroot/package/gpsd/gpsd.mk | 1 + bsp/buildroot/package/gvfs/gvfs.mk | 4 +- bsp/buildroot/package/jasper/jasper.hash | 1 + bsp/buildroot/package/jasper/jasper.mk | 2 +- bsp/buildroot/package/lcdproc/lcdproc.mk | 4 +- .../leveldb/0003-fix-parallel-build.patch | 36 + ...sible-for-empty-strings-to-make-fuzz.patch | 42 - ...660-validate-directory-record-length.patch | 78 -- ...-by-one-error-for-UTF16-names-in-RAR.patch | 34 - ...A-archive-entries-with-negative-size.patch | 32 - .../package/libarchive/libarchive.hash | 3 +- .../package/libarchive/libarchive.mk | 2 +- bsp/buildroot/package/libcurl/libcurl.hash | 4 +- bsp/buildroot/package/libcurl/libcurl.mk | 9 +- ...ng-message-that-includes-target-name.patch | 29 + .../libiscsi/0003-avoid-fallthrough.patch | 24 + bsp/buildroot/package/libiscsi/libiscsi.hash | 3 + bsp/buildroot/package/libkcapi/libkcapi.mk | 4 + .../libnfs/0001-Fix-include-sys-time.h.patch | 41 + .../package/libnspr/0001-nios2.patch | 14 +- .../package/libnspr/0002-microblaze.patch | 10 +- bsp/buildroot/package/libnspr/libnspr.hash | 4 +- bsp/buildroot/package/libnspr/libnspr.mk | 2 +- .../libnss/0001-fix-uclibc-build.patch | 22 + .../package/libnss/0001-uclibc.patch | 20 - ...d-stringop-truncation-warning-r-fran.patch | 33 - bsp/buildroot/package/libnss/libnss.hash | 4 +- bsp/buildroot/package/libnss/libnss.mk | 10 +- .../package/libsemanage/libsemanage.mk | 3 +- bsp/buildroot/package/libssh/libssh.hash | 10 +- bsp/buildroot/package/libssh/libssh.mk | 7 +- bsp/buildroot/package/liburiparser/Config.in | 2 +- .../package/liburiparser/liburiparser.hash | 6 +- .../package/liburiparser/liburiparser.mk | 4 +- bsp/buildroot/package/lighttpd/lighttpd.hash | 4 +- bsp/buildroot/package/lighttpd/lighttpd.mk | 4 +- .../package/linux-headers/Config.in.host | 6 +- ...config-file-for-the-shared-libraries.patch | 66 ++ bsp/buildroot/package/live555/live555.hash | 4 +- bsp/buildroot/package/live555/live555.mk | 2 +- bsp/buildroot/package/ljlinenoise/Config.in | 2 +- .../0001-Fix-build-with-curl-7.62.0.patch | 58 ++ bsp/buildroot/package/mariadb/mariadb.hash | 12 +- bsp/buildroot/package/mariadb/mariadb.mk | 8 +- .../0002-fix-overlapping-with-strncpy.patch | 44 + ...-length-calculation-in-mg_handle_cgi.patch | 46 + ...bsockets.c-unbreak-build-without-TLS.patch | 49 - .../package/mosquitto/mosquitto.hash | 2 +- bsp/buildroot/package/mosquitto/mosquitto.mk | 9 +- bsp/buildroot/package/musl/Config.in | 3 +- bsp/buildroot/package/mysql/Config.in | 6 + ...tic-linking-with-libedit-or-readline.patch | 45 + bsp/buildroot/package/neardal/neardal.mk | 7 - bsp/buildroot/package/netplug/S29netplug | 2 +- ...ate-the-hard-coded-libnl-3-include-p.patch | 300 ------ ...figure-static-linking-Fix-SSL-checks.patch | 142 +++ .../0002-configure-Fix-lcrypto-lz-test.patch | 41 + ..._CHECK_FUNCS-EVP_sha224-EVP_sha384-..patch | 39 + ..._CHECK_FUNCS-TLS_method-TLSv1_method.patch | 39 + bsp/buildroot/package/netsnmp/netsnmp.hash | 9 +- bsp/buildroot/package/netsnmp/netsnmp.mk | 4 +- ...we-have-enough-space-for-the-DHCP6-o.patch | 38 + ...de-sys-sysmacros.h-where-appropriate.patch | 50 + ...ture_run_force_result-for-each-featu.patch | 56 +- ...auto-lib-libxslt-conf-use-pkg-config.patch | 14 +- ...auto-lib-openssl-conf-use-pkg-config.patch | 251 ++++- ...7-auto-lib-libgd-conf-use-pkg-config.patch | 12 +- ...x-PCRE-condition-WRT-the-http-and-ht.patch | 33 - bsp/buildroot/package/nginx/nginx.hash | 4 +- bsp/buildroot/package/nginx/nginx.mk | 2 +- bsp/buildroot/package/nmap/Config.in | 1 + bsp/buildroot/package/nmap/nmap.mk | 6 +- bsp/buildroot/package/nodejs/nodejs.mk | 1 + .../package/ntp/0003-fix-nommu.patch | 29 + .../0004-fix-work-fork-without-droproot.patch | 26 + bsp/buildroot/package/ntp/ntp.hash | 6 +- bsp/buildroot/package/ntp/ntp.mk | 2 +- .../package/open-plc-utils/open-plc-utils.mk | 8 +- bsp/buildroot/package/openocd/openocd.mk | 1 + bsp/buildroot/package/openswan/openswan.hash | 4 +- bsp/buildroot/package/openswan/openswan.mk | 4 +- bsp/buildroot/package/p11-kit/p11-kit.mk | 6 + bsp/buildroot/package/pkg-download.mk | 4 +- bsp/buildroot/package/pkg-generic.mk | 1 + bsp/buildroot/package/poco/poco.mk | 5 + .../package/postgresql/postgresql.hash | 4 +- .../package/postgresql/postgresql.mk | 2 +- bsp/buildroot/package/prosody/prosody.hash | 7 +- bsp/buildroot/package/prosody/prosody.mk | 2 +- bsp/buildroot/package/psmisc/psmisc.mk | 2 +- ...name-EVP_MD_CTX-into-PTPD_EVP_MD_CTX.patch | 46 + ...emoving-type-U64-from-net-snmp-relat.patch | 28 + .../package/python-enum34/python-enum34.mk | 1 + ...age-of-mcontext-structure-on-ARM-uCl.patch | 8 +- .../qemu/0002-memfd-fix-configure-test.patch | 58 -- bsp/buildroot/package/qemu/Config.in | 2 + bsp/buildroot/package/qemu/Config.in.host | 42 +- bsp/buildroot/package/qemu/qemu.hash | 2 +- bsp/buildroot/package/qemu/qemu.mk | 254 ++--- bsp/buildroot/package/qt/Config.in | 4 + bsp/buildroot/package/qt/qt.mk | 2 +- bsp/buildroot/package/qt5/qt5base/qt5base.mk | 15 +- bsp/buildroot/package/rpm/rpm.mk | 4 +- bsp/buildroot/package/ruby/ruby.hash | 6 +- bsp/buildroot/package/ruby/ruby.mk | 2 +- bsp/buildroot/package/samba4/samba4.mk | 11 +- bsp/buildroot/package/setools/setools.mk | 1 + .../spice-protocol/spice-protocol.hash | 2 +- .../package/spice-protocol/spice-protocol.mk | 2 +- ...-DoS-attempts-during-protocol-handsh.patch | 60 -- ...teger-overflows-in-capability-checks.patch | 43 - ...vent-overflow-reading-messages-from-.patch | 33 - ...when-receiving-overly-big-ClientMoni.patch | 75 -- ...er-overflows-handling-monitor-config.patch | 31 - ...r-overflows-handling-monitor-configu.patch | 48 - bsp/buildroot/package/spice/spice.hash | 2 +- bsp/buildroot/package/spice/spice.mk | 14 +- ...e-endofName-never-exceeds-tagEnd-130.patch | 35 - ...logging-for-transactions-without-a-c.patch | 31 - bsp/buildroot/package/squid/squid.hash | 8 +- bsp/buildroot/package/squid/squid.mk | 5 +- .../package/supertuxkart/0001-Fix-3091.patch | 59 ++ ...we-have-enough-space-for-the-DHCP6-o.patch | 30 + bsp/buildroot/package/tar/Config.in | 1 + bsp/buildroot/package/tinc/tinc.hash | 4 +- bsp/buildroot/package/tinc/tinc.mk | 2 +- bsp/buildroot/package/trace-cmd/trace-cmd.mk | 2 +- .../package/traceroute/traceroute.mk | 2 +- ...001-Fix-static-linking-with-libmagic.patch | 228 +++++ ...stemp64-clear-flags-as-mkostemp-does.patch | 38 + bsp/buildroot/package/uclibc/Config.in | 1 + .../package/usb_modeswitch/usb_modeswitch.mk | 2 + bsp/buildroot/package/ustr/ustr.mk | 7 + bsp/buildroot/package/vtun/Config.in | 3 - ...ightingNEON.cpp-fails-due-to-missing.patch | 41 - bsp/buildroot/package/webkitgtk/Config.in | 15 + .../package/webkitgtk/webkitgtk.hash | 8 +- bsp/buildroot/package/webkitgtk/webkitgtk.mk | 13 +- .../package/wireshark/wireshark.hash | 4 +- bsp/buildroot/package/wireshark/wireshark.mk | 2 +- .../0001-Remove-call-to-LoaderGetOS.patch | 53 ++ ...ANDR-initialization-for-xserver-1.20.patch | 35 + .../x11r7/xlib_libfontenc/xlib_libfontenc.mk | 4 +- .../xproto_inputproto/xproto_inputproto.mk | 2 + ...and-modulepath-when-running-with-ele.patch | 52 ++ bsp/buildroot/support/scripts/graph-depends | 5 +- bsp/buildroot/support/scripts/mkmakefile | 9 +- bsp/buildroot/utils/brmake | 42 + bsp/buildroot/utils/check-package | 144 +++ .../utils/checkpackagelib/__init__.py | 0 bsp/buildroot/utils/checkpackagelib/base.py | 16 + bsp/buildroot/utils/checkpackagelib/lib.py | 54 ++ .../utils/checkpackagelib/lib_config.py | 137 +++ .../utils/checkpackagelib/lib_hash.py | 55 ++ bsp/buildroot/utils/checkpackagelib/lib_mk.py | 246 +++++ .../utils/checkpackagelib/lib_patch.py | 61 ++ .../utils/checkpackagelib/readme.txt | 73 ++ bsp/buildroot/utils/config | 206 +++++ bsp/buildroot/utils/diffconfig | 138 +++ bsp/buildroot/utils/genrandconfig | 436 +++++++++ bsp/buildroot/utils/get-developers | 109 +++ bsp/buildroot/utils/getdeveloperlib.py | 212 +++++ bsp/buildroot/utils/readme.txt | 45 + bsp/buildroot/utils/scancpan | 864 ++++++++++++++++++ bsp/buildroot/utils/scanpypi | 706 ++++++++++++++ bsp/buildroot/utils/size-stats-compare | 127 +++ bsp/buildroot/utils/test-pkg | 195 ++++ 238 files changed, 6567 insertions(+), 2450 deletions(-) create mode 100644 bsp/buildroot/board/freescale/imx6sabre/patches/uboot/0002-imx-Create-distinct-pre-processed-mkimage-config-fil.patch delete mode 100644 bsp/buildroot/board/freescale/imx6sabre/patches/uboot/0002-imximage-Remove-failure-when-no-IVT-offset-is-found.patch create mode 100644 bsp/buildroot/package/attr/0002-Switch-back-to-syscall.patch create mode 100644 bsp/buildroot/package/audit/0001-Fix-audispd-path-in-auditd.conf.patch rename bsp/buildroot/package/audit/{S01auditd => S02auditd} (100%) rename bsp/buildroot/package/bind/{0002-cross.patch => 0001-cross.patch} (100%) delete mode 100644 bsp/buildroot/package/bind/0003-Rename-ptrsize-to-ptr_size.patch delete mode 100644 bsp/buildroot/package/binutils/2.27/0100-elf32-arm-no-data-fix.patch delete mode 100644 bsp/buildroot/package/binutils/2.27/0120-sh-conf.patch delete mode 100644 bsp/buildroot/package/binutils/2.27/0130-tc-xtensa.c-fixup-xg_reverse_shift_count-typo.patch delete mode 100644 bsp/buildroot/package/binutils/2.27/0131-xtensa-fix-memory-corruption-by-broken-sysregs.patch delete mode 100644 bsp/buildroot/package/binutils/2.27/0300-ld-makefile.patch delete mode 100644 bsp/buildroot/package/binutils/2.27/0301-check-ldrunpath-length.patch delete mode 100644 bsp/buildroot/package/binutils/2.27/0500-add-sysroot-fix-from-bug-3049.patch delete mode 100644 bsp/buildroot/package/binutils/2.27/0600-poison-system-directories.patch delete mode 100644 bsp/buildroot/package/binutils/2.27/0900-Revert-part-Set-dynamic-tag-VMA-and-size-from-dynami.patch delete mode 100644 bsp/buildroot/package/binutils/2.27/0906-microblaze-pr21180.patch delete mode 100644 bsp/buildroot/package/binutils/2.27/0907-Automatically-enable-CRC-instructions-on-supported-A.patch delete mode 100644 bsp/buildroot/package/brotli/0001-Tell-CMake-to-not-check-for-a-C-compiler.patch create mode 100644 bsp/buildroot/package/easydbus/0001-easydbus-is-a-C-project-file.patch rename bsp/buildroot/package/elfutils/{0002-disable-progs.patch => 0001-Add-a-enable-disable-progs-configure-option.patch} (100%) rename bsp/buildroot/package/elfutils/{0003-fts.patch => 0002-Add-an-implementation-of-the-fts_-functions.patch} (100%) rename bsp/buildroot/package/elfutils/{0005-really-make-werror-conditional-to-build-werror.patch => 0003-Really-make-Werror-conditional-to-BUILD_WERROR.patch} (80%) delete mode 100644 bsp/buildroot/package/elfutils/0004-disable-po.patch delete mode 100644 bsp/buildroot/package/elfutils/0006-memcpy-def.patch create mode 100644 bsp/buildroot/package/gauche/0004-rfc-needs-srfi.patch create mode 100644 bsp/buildroot/package/gcc/6.4.0/0004-gcc-xtensa-don-t-force-PIC-for-uclinux-target.patch create mode 100644 bsp/buildroot/package/gcc/7.3.0/0005-gcc-xtensa-don-t-force-PIC-for-uclinux-target.patch create mode 100644 bsp/buildroot/package/leveldb/0003-fix-parallel-build.patch delete mode 100644 bsp/buildroot/package/libarchive/0001-Do-something-sensible-for-empty-strings-to-make-fuzz.patch delete mode 100644 bsp/buildroot/package/libarchive/0002-iso9660-validate-directory-record-length.patch delete mode 100644 bsp/buildroot/package/libarchive/0003-Avoid-a-read-off-by-one-error-for-UTF16-names-in-RAR.patch delete mode 100644 bsp/buildroot/package/libarchive/0004-Reject-LHA-archive-entries-with-negative-size.patch create mode 100644 bsp/buildroot/package/libiscsi/0002-avoid-truncation-when-logging-message-that-includes-target-name.patch create mode 100644 bsp/buildroot/package/libiscsi/0003-avoid-fallthrough.patch create mode 100644 bsp/buildroot/package/libnfs/0001-Fix-include-sys-time.h.patch create mode 100644 bsp/buildroot/package/libnss/0001-fix-uclibc-build.patch delete mode 100644 bsp/buildroot/package/libnss/0001-uclibc.patch delete mode 100644 bsp/buildroot/package/libnss/0004-Bug-1438426-Avoid-stringop-truncation-warning-r-fran.patch create mode 100644 bsp/buildroot/package/live555/0001-Add-a-pkg-config-file-for-the-shared-libraries.patch create mode 100644 bsp/buildroot/package/lua-curl/0001-Fix-build-with-curl-7.62.0.patch create mode 100644 bsp/buildroot/package/mmc-utils/0002-fix-overlapping-with-strncpy.patch create mode 100644 bsp/buildroot/package/mongoose/0001-Fix-body-length-calculation-in-mg_handle_cgi.patch delete mode 100644 bsp/buildroot/package/mosquitto/0001-websockets.c-unbreak-build-without-TLS.patch create mode 100644 bsp/buildroot/package/neardal/0001-fix-static-linking-with-libedit-or-readline.patch delete mode 100644 bsp/buildroot/package/netsnmp/0001-configure-Eliminate-the-hard-coded-libnl-3-include-p.patch create mode 100644 bsp/buildroot/package/netsnmp/0001-configure-static-linking-Fix-SSL-checks.patch create mode 100644 bsp/buildroot/package/netsnmp/0002-configure-Fix-lcrypto-lz-test.patch create mode 100644 bsp/buildroot/package/netsnmp/0003-configure-fix-AC_CHECK_FUNCS-EVP_sha224-EVP_sha384-..patch create mode 100644 bsp/buildroot/package/netsnmp/0004-configure-fix-AC_CHECK_FUNCS-TLS_method-TLSv1_method.patch create mode 100644 bsp/buildroot/package/network-manager/0001-dhcp6-make-sure-we-have-enough-space-for-the-DHCP6-o.patch create mode 100644 bsp/buildroot/package/nfs-utils/0006-Include-sys-sysmacros.h-where-appropriate.patch delete mode 100644 bsp/buildroot/package/nginx/0009-auto-lib-conf-fix-PCRE-condition-WRT-the-http-and-ht.patch create mode 100644 bsp/buildroot/package/ntp/0003-fix-nommu.patch create mode 100644 bsp/buildroot/package/ntp/0004-fix-work-fork-without-droproot.patch create mode 100644 bsp/buildroot/package/ptpd2/0002-ntp_isc_md5-rename-EVP_MD_CTX-into-PTPD_EVP_MD_CTX.patch create mode 100644 bsp/buildroot/package/ptpd2/0003-Solve-issue-25-Removing-type-U64-from-net-snmp-relat.patch delete mode 100644 bsp/buildroot/package/qemu/0002-memfd-fix-configure-test.patch delete mode 100644 bsp/buildroot/package/spice/0001-Prevent-possible-DoS-attempts-during-protocol-handsh.patch delete mode 100644 bsp/buildroot/package/spice/0002-Prevent-integer-overflows-in-capability-checks.patch delete mode 100644 bsp/buildroot/package/spice/0003-main-channel-Prevent-overflow-reading-messages-from-.patch delete mode 100644 bsp/buildroot/package/spice/0004-reds-Disconnect-when-receiving-overly-big-ClientMoni.patch delete mode 100644 bsp/buildroot/package/spice/0005-reds-Avoid-integer-overflows-handling-monitor-config.patch delete mode 100644 bsp/buildroot/package/spice/0006-reds-Avoid-buffer-overflows-handling-monitor-configu.patch delete mode 100644 bsp/buildroot/package/squid/0003-ESI-make-sure-endofName-never-exceeds-tagEnd-130.patch delete mode 100644 bsp/buildroot/package/squid/0004-Fix-indirect-IP-logging-for-transactions-without-a-c.patch create mode 100644 bsp/buildroot/package/supertuxkart/0001-Fix-3091.patch create mode 100644 bsp/buildroot/package/systemd/0005-dhcp6-make-sure-we-have-enough-space-for-the-DHCP6-o.patch create mode 100644 bsp/buildroot/package/twolame/0001-Fix-static-linking-with-libmagic.patch create mode 100644 bsp/buildroot/package/uclibc/0004-mkostemp64-clear-flags-as-mkostemp-does.patch delete mode 100644 bsp/buildroot/package/webkitgtk/0001-ARM-Building-FELightingNEON.cpp-fails-due-to-missing.patch create mode 100644 bsp/buildroot/package/x11r7/xdriver_xf86-video-geode/0001-Remove-call-to-LoaderGetOS.patch create mode 100644 bsp/buildroot/package/x11r7/xdriver_xf86-video-geode/0002-gx-Fix-RANDR-initialization-for-xserver-1.20.patch create mode 100644 bsp/buildroot/package/x11r7/xserver_xorg-server/1.19.6/0005-Disable-logfile-and-modulepath-when-running-with-ele.patch create mode 100755 bsp/buildroot/utils/brmake create mode 100755 bsp/buildroot/utils/check-package create mode 100644 bsp/buildroot/utils/checkpackagelib/__init__.py create mode 100644 bsp/buildroot/utils/checkpackagelib/base.py create mode 100644 bsp/buildroot/utils/checkpackagelib/lib.py create mode 100644 bsp/buildroot/utils/checkpackagelib/lib_config.py create mode 100644 bsp/buildroot/utils/checkpackagelib/lib_hash.py create mode 100644 bsp/buildroot/utils/checkpackagelib/lib_mk.py create mode 100644 bsp/buildroot/utils/checkpackagelib/lib_patch.py create mode 100644 bsp/buildroot/utils/checkpackagelib/readme.txt create mode 100755 bsp/buildroot/utils/config create mode 100755 bsp/buildroot/utils/diffconfig create mode 100755 bsp/buildroot/utils/genrandconfig create mode 100755 bsp/buildroot/utils/get-developers create mode 100644 bsp/buildroot/utils/getdeveloperlib.py create mode 100644 bsp/buildroot/utils/readme.txt create mode 100755 bsp/buildroot/utils/scancpan create mode 100755 bsp/buildroot/utils/scanpypi create mode 100755 bsp/buildroot/utils/size-stats-compare create mode 100755 bsp/buildroot/utils/test-pkg diff --git a/bsp/buildroot/CHANGES b/bsp/buildroot/CHANGES index cdf68216..cf35c540 100644 --- a/bsp/buildroot/CHANGES +++ b/bsp/buildroot/CHANGES @@ -1,3 +1,77 @@ +2018.02.8, Released November 26th, 2018 + + Important / security related fixes. + + fs: Drop intermediate tarball from the filesystem handling to + fix an issue with xattrs handling related to fakeroot. Ensure + tarball target includes xattrs. + + download: Fix confusion in git submodule handling if dl/ is a + symlink. + + toolchain: Only allow enabling stack protection on + architectures with control flow integrity (CFI) support. Only + allow FORTIFY_SOURCE support on gcc >= 6. + + genrandconfig: Fix missing newline in BR2_WGET handling, + causing the following line to be ignored. This would affect + BR2_ENABLE_DEBUG, BR2_INIT_BUSYBOX, BR2_INIT_SYSTEMD, + BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV, BR2_STATIC_LIBS or + BR2_PACKAGE_PYTHON_PY_ONLY depending on the randomization. + + show-build-order: Also include the dependencies of + rootfs-common. + + Defconfigs: Fixes for Armadeus APF27, imx6sabre. + + graph-depends: Fix for package names starting with a non-alpha + character. + + Updated/fixed packages: attr, audit, bind, brotli, easydbus, + elfutils, gauche, gcc, giflib, gpsd, lcdproc, libcurl, + libiscsi, libnfs, libnspr, libnss, libkcapi, libsemanage, + liburiparser, lighttpd, linux, lua-curl, mariadb, mmc-utils, + mosquitto, mysql, neardal, netplug, network-manager, + nfs-utils, nginx, openocd, openswan, p11-kit, postgresql, + prosody, qemu, qt, rpm, ruby, samba4, squid, supertuxkart, + systemd, tar, trace-cmd, traceroute, twolame, uclibc, + usb_modeswitch, vtun, webkitgtk, xdriver_xf86-video-geode, + xlib_libfontenc, xproto_inputproto, xserver_xorg-server + + Issues resolved (http://bugs.uclibc.org): + + #11086: download/git submodule breaks on symlinked dl folder + #11251: Util scanpypi failes when package change - to _ in.. + #11476: stdio2.h error invalid use of __builtin_va_arg_pack + #11481: Docs: Is external.desc required? + +2018.02.7, Released October 25th, 2018 + + Important / security related fixes. + + Detect and reject build paths containing '@', as this confuses + a number of packages, including GCC. + + utils/get-developers: Add -e option for use with git + send-email. + + utils/diffconfig: Make it work for (non-Buildroot) config + files not using the BR2_ prefix. + + u-boot: Fix for environment image handling on big endian + systems. + + Updated/fixed packages: binutils, ca-certificates, + cups-filters, erlang, libarchive, libcurl, libssh, live555, + ljlinenoise, file, freetype, gcc, git, gvfs, leveldb, mariadb, + mongoose, netsnmp, nmap, nodejs, ntp, open-plc-utils, poco, + psmisc, qptpd2, python-enum34, qemu, qt, qt5base, spice, + spice-protocols, setools, tinc, ustr, wireshark + + Issues resolved (http://bugs.uclibc.org): + + #11396: uboot environment image checksum invalid if target is big endian + 2018.02.6, Released October 7th, 2018 Important / security related fixes. diff --git a/bsp/buildroot/Config.in b/bsp/buildroot/Config.in index 52fb53bc..102c8010 100644 --- a/bsp/buildroot/Config.in +++ b/bsp/buildroot/Config.in @@ -67,6 +67,9 @@ config BR2_HOST_GCC_AT_LEAST_8 default y if BR2_HOST_GCC_VERSION = "8" select BR2_HOST_GCC_AT_LEAST_7 +# When adding new entries above, be sure to update +# the HOSTCC_MAX_VERSION variable in the Makefile. + # Hidden boolean selected by packages in need of Java in order to build # (example: kodi) config BR2_NEEDS_HOST_JAVA @@ -795,6 +798,8 @@ config BR2_FORTIFY_SOURCE_NONE config BR2_FORTIFY_SOURCE_1 bool "Conservative" + # gcc bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61164 + depends on !BR2_TOOLCHAIN_BUILDROOT || BR2_TOOLCHAIN_GCC_AT_LEAST_6 help This option sets _FORTIFY_SOURCE to 1 and only introduces checks that shouldn't change the behavior of conforming @@ -802,6 +807,8 @@ config BR2_FORTIFY_SOURCE_1 config BR2_FORTIFY_SOURCE_2 bool "Aggressive" + # gcc bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61164 + depends on !BR2_TOOLCHAIN_BUILDROOT || BR2_TOOLCHAIN_GCC_AT_LEAST_6 help This option sets _FORTIFY_SOURCES to 2 and some more checking is added, but some conforming programs might fail. diff --git a/bsp/buildroot/Makefile b/bsp/buildroot/Makefile index 36614a8c..989d86f1 100644 --- a/bsp/buildroot/Makefile +++ b/bsp/buildroot/Makefile @@ -60,6 +60,11 @@ override O := $(patsubst %/,%,$(patsubst %.,%,$(O))) # avoid empty CANONICAL_O in case on non-existing entry. CANONICAL_O := $(shell mkdir -p $(O) >/dev/null 2>&1)$(realpath $(O)) +# gcc fails to build when the srcdir contains a '@' +ifneq ($(findstring @,$(CANONICAL_O)),) +$(error The build directory can not contain a '@') +endif + CANONICAL_CURDIR = $(realpath $(CURDIR)) REQ_UMASK = 0022 @@ -87,9 +92,9 @@ all: .PHONY: all # Set and export the version string -export BR2_VERSION := 2018.02.6 +export BR2_VERSION := 2018.02.8 # Actual time the release is cut (for reproducible builds) -BR2_VERSION_EPOCH = 1538896000 +BR2_VERSION_EPOCH = 1543272000 # Save running make version since it's clobbered by the make package RUNNING_MAKE_VERSION := $(MAKE_VERSION) @@ -355,8 +360,14 @@ export HOSTARCH := $(shell LC_ALL=C $(HOSTCC_NOCCACHE) -v 2>&1 | \ -e 's/macppc/powerpc/' \ -e 's/sh.*/sh/' ) -HOSTCC_VERSION := $(shell $(HOSTCC_NOCCACHE) --version | \ - sed -n -r 's/^.* ([0-9]*)\.([0-9]*)\.([0-9]*)[ ]*.*/\1 \2/p') +# When adding a new host gcc version in Config.in, +# update the HOSTCC_MAX_VERSION variable: +HOSTCC_MAX_VERSION := 8 + +HOSTCC_VERSION := $(shell V=$$($(HOSTCC_NOCCACHE) --version | \ + sed -n -r 's/^.* ([0-9]*)\.([0-9]*)\.([0-9]*)[ ]*.*/\1 \2/p'); \ + [ "$${V%% *}" -le $(HOSTCC_MAX_VERSION) ] || V=$(HOSTCC_MAX_VERSION); \ + printf "%s" "$${V}") # For gcc >= 5.x, we only need the major version. ifneq ($(firstword $(HOSTCC_VERSION)),4) diff --git a/bsp/buildroot/VERSION b/bsp/buildroot/VERSION index e5a2805c..1d909543 100644 --- a/bsp/buildroot/VERSION +++ b/bsp/buildroot/VERSION @@ -1 +1 @@ -buildroot 2018_02_6 +buildroot 2018_02_8 diff --git a/bsp/buildroot/board/freescale/imx6sabre/patches/uboot/0002-imx-Create-distinct-pre-processed-mkimage-config-fil.patch b/bsp/buildroot/board/freescale/imx6sabre/patches/uboot/0002-imx-Create-distinct-pre-processed-mkimage-config-fil.patch new file mode 100644 index 00000000..b8989cb9 --- /dev/null +++ b/bsp/buildroot/board/freescale/imx6sabre/patches/uboot/0002-imx-Create-distinct-pre-processed-mkimage-config-fil.patch @@ -0,0 +1,89 @@ +From 27a2cd6a1980adf3002412678c8fdec6528dc47d Mon Sep 17 00:00:00 2001 +From: Trent Piepho +Date: Fri, 6 Apr 2018 17:11:27 -0700 +Subject: [PATCH] imx: Create distinct pre-processed mkimage config files + +Each imx image is created by a separate sub-make and during this process +the mkimage config file is run though cpp. + +The cpp output is to the same file no matter what imx image is being +created. + +This means if two imx images are generated in parallel they will attempt +to independently produce the same pre-processed mkimage config file at +the same time. + +Avoid the problem by making the pre-processed config file name unique +based on the imx image it will be used in. This way each image will +create a unique config file and they won't clobber each other when run +in parallel. + +This should fixed the build bug referenced in b5b0e4e3 ("imximage: +Remove failure when no IVT offset is found"). + +Cc: Breno Lima +Cc: Thomas Petazzoni +Cc: Fabio Estevam +Signed-off-by: Trent Piepho +Tested-by: Fabio Estevam +[fabio: Adapted to imx_v2017.03_4.9.11_1.0.0_ga] +Signed-off-by: Fabio Estevam +--- + arch/arm/imx-common/Makefile | 15 ++++++++------- + 1 file changed, 8 insertions(+), 7 deletions(-) + +diff --git a/arch/arm/imx-common/Makefile b/arch/arm/imx-common/Makefile +index d862258..f1bae8d 100644 +--- a/arch/arm/imx-common/Makefile ++++ b/arch/arm/imx-common/Makefile +@@ -69,9 +69,11 @@ endif + quiet_cmd_cpp_cfg = CFGS $@ + cmd_cpp_cfg = $(CPP) $(cpp_flags) -x c -o $@ $< + +-IMX_CONFIG = $(CONFIG_IMX_CONFIG:"%"=%).cfgtmp ++# mkimage source config file ++IMX_CONFIG = $(CONFIG_IMX_CONFIG:"%"=%) + +-$(IMX_CONFIG): %.cfgtmp: % FORCE ++# How to create a cpp processed config file, they all use the same source ++%.cfgout: $(IMX_CONFIG) FORCE + $(Q)mkdir -p $(dir $@) + $(call if_changed_dep,cpp_cfg) + +@@ -79,7 +81,7 @@ MKIMAGEFLAGS_u-boot.imx = -n $(filter-out $(PLUGIN).bin $< $(PHONY),$^) -T imxim + -e $(CONFIG_SYS_TEXT_BASE) + u-boot.imx: MKIMAGEOUTPUT = u-boot.imx.log + +-u-boot.imx: u-boot.bin $(IMX_CONFIG) $(PLUGIN).bin FORCE ++u-boot.imx: u-boot.bin u-boot.cfgout $(PLUGIN).bin FORCE + $(call if_changed,mkimage) + + ifeq ($(CONFIG_OF_SEPARATE),y) +@@ -87,16 +89,15 @@ MKIMAGEFLAGS_u-boot-dtb.imx = -n $(filter-out $(PLUGIN).bin $< $(PHONY),$^) -T i + -e $(CONFIG_SYS_TEXT_BASE) + u-boot-dtb.imx: MKIMAGEOUTPUT = u-boot-dtb.imx.log + +-u-boot-dtb.imx: u-boot-dtb.bin $(IMX_CONFIG) $(PLUGIN).bin FORCE ++u-boot-dtb.imx: u-boot-dtb.bin u-boot-dtb.cfgout $(PLUGIN).bin FORCE + $(call if_changed,mkimage) + endif + + MKIMAGEFLAGS_SPL = -n $(filter-out $(PLUGIN).bin $< $(PHONY),$^) -T imximage \ + -e $(CONFIG_SPL_TEXT_BASE) +- + SPL: MKIMAGEOUTPUT = SPL.log + +-SPL: spl/u-boot-spl.bin $(IMX_CONFIG) $(PLUGIN).bin FORCE ++SPL: spl/u-boot-spl.bin spl/u-boot-spl.cfgout $(PLUGIN).bin FORCE + $(call if_changed,mkimage) + + MKIMAGEFLAGS_u-boot.uim = -A arm -O U-Boot -a $(CONFIG_SYS_TEXT_BASE) \ +@@ -124,4 +125,4 @@ cmd_u-boot-nand-spl_imx = (printf '\000\000\000\000\106\103\102\040\001' && \ + spl/u-boot-nand-spl.imx: SPL FORCE + $(call if_changed,u-boot-nand-spl_imx) + +-targets += $(addprefix ../../../,$(IMX_CONFIG) SPL u-boot.uim spl/u-boot-nand-spl.imx) ++targets += $(addprefix ../../../,SPL spl/u-boot-spl.cfgout u-boot-dtb.cfgout u-boot.cfgout u-boot.uim spl/u-boot-nand-spl.imx) +-- +2.7.4 + diff --git a/bsp/buildroot/board/freescale/imx6sabre/patches/uboot/0002-imximage-Remove-failure-when-no-IVT-offset-is-found.patch b/bsp/buildroot/board/freescale/imx6sabre/patches/uboot/0002-imximage-Remove-failure-when-no-IVT-offset-is-found.patch deleted file mode 100644 index 92eff757..00000000 --- a/bsp/buildroot/board/freescale/imx6sabre/patches/uboot/0002-imximage-Remove-failure-when-no-IVT-offset-is-found.patch +++ /dev/null @@ -1,55 +0,0 @@ -From 24ba28680abe868e8db3442a9bf523ad3af1febd Mon Sep 17 00:00:00 2001 -From: Fabio Estevam -Date: Fri, 9 Mar 2018 08:25:00 -0300 -Subject: [PATCH] imximage: Remove failure when no IVT offset is found - -Sometimes imximage throws the following error: - - CFGS board/freescale/vf610twr/imximage.cfg.cfgtmp - CFGS board/freescale/vf610twr/imximage.cfg.cfgtmp - MKIMAGE u-boot-dtb.imx -Error: No BOOT_FROM tag in board/freescale/vf610twr/imximage.cfg.cfgtmp -arch/arm/mach-imx/Makefile:100: recipe for target 'u-boot-dtb.imx' failed - -Later on, when running mkimage for the u-boot.imx it will succeed in -finding the IVT offset. - -Looks like some race condition happening during parallel build when -processing mkimage for u-boot-dtb.imx and u-boot.imx. - -A proper fix still needs to be implemented, but as a workaround let's -remove the error when the IVT offset is not found. - -It is useful to have such message, especially during bring-up phase, -but the build error that it causes is severe, so better avoid the -build error for now. - -The error checking can be re-implemented later when we have a proper -fix. - -Reported-by: Breno Lima -Reported-by: Thomas Petazzoni -Signed-off-by: Fabio Estevam ---- - tools/imximage.c | 5 ----- - 1 file changed, 5 deletions(-) - -diff --git a/tools/imximage.c b/tools/imximage.c -index 0c43196..bef56f8 100644 ---- a/tools/imximage.c -+++ b/tools/imximage.c -@@ -765,11 +765,6 @@ static uint32_t parse_cfg_file(struct imx_header *imxhdr, char *name) - (*set_dcd_rst)(imxhdr, dcd_len, name, lineno); - fclose(fd); - -- /* Exit if there is no BOOT_FROM field specifying the flash_offset */ -- if (imximage_ivt_offset == FLASH_OFFSET_UNDEFINED) { -- fprintf(stderr, "Error: No BOOT_FROM tag in %s\n", name); -- exit(EXIT_FAILURE); -- } - return dcd_len; - } - --- -2.7.4 - diff --git a/bsp/buildroot/boot/uboot/uboot.mk b/bsp/buildroot/boot/uboot/uboot.mk index 27946d99..14fe3702 100644 --- a/bsp/buildroot/boot/uboot/uboot.mk +++ b/bsp/buildroot/boot/uboot/uboot.mk @@ -262,7 +262,7 @@ define UBOOT_GENERATE_ENV_IMAGE >$(@D)/buildroot-env.txt $(HOST_DIR)/bin/mkenvimage -s $(BR2_TARGET_UBOOT_ENVIMAGE_SIZE) \ $(if $(BR2_TARGET_UBOOT_ENVIMAGE_REDUNDANT),-r) \ - $(if $(filter BIG,$(BR2_ENDIAN)),-b) \ + $(if $(filter "BIG",$(BR2_ENDIAN)),-b) \ -o $(BINARIES_DIR)/uboot-env.bin \ $(@D)/buildroot-env.txt endef diff --git a/bsp/buildroot/configs/armadeus_apf27_defconfig b/bsp/buildroot/configs/armadeus_apf27_defconfig index 6f78b74d..457a14b0 100644 --- a/bsp/buildroot/configs/armadeus_apf27_defconfig +++ b/bsp/buildroot/configs/armadeus_apf27_defconfig @@ -28,4 +28,7 @@ BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx27-apf27dev" # U-boot BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="apf27" +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2018.09" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="apf27" diff --git a/bsp/buildroot/configs/at91sam9x5ek_dev_defconfig b/bsp/buildroot/configs/at91sam9x5ek_dev_defconfig index 3af4ba74..3f711ffe 100644 --- a/bsp/buildroot/configs/at91sam9x5ek_dev_defconfig +++ b/bsp/buildroot/configs/at91sam9x5ek_dev_defconfig @@ -60,7 +60,6 @@ BR2_PACKAGE_DTC_PROGRAMS=y BR2_PACKAGE_BLUEZ_UTILS=y BR2_PACKAGE_BRIDGE_UTILS=y BR2_PACKAGE_CAN_UTILS=y -BR2_PACKAGE_DROPBEAR=y BR2_PACKAGE_ETHTOOL=y BR2_PACKAGE_IPERF=y BR2_PACKAGE_IPROUTE2=y diff --git a/bsp/buildroot/configs/at91sam9x5ek_mmc_dev_defconfig b/bsp/buildroot/configs/at91sam9x5ek_mmc_dev_defconfig index 931cf7de..73c90a49 100644 --- a/bsp/buildroot/configs/at91sam9x5ek_mmc_dev_defconfig +++ b/bsp/buildroot/configs/at91sam9x5ek_mmc_dev_defconfig @@ -63,7 +63,6 @@ BR2_PACKAGE_DTC_PROGRAMS=y BR2_PACKAGE_BLUEZ_UTILS=y BR2_PACKAGE_BRIDGE_UTILS=y BR2_PACKAGE_CAN_UTILS=y -BR2_PACKAGE_DROPBEAR=y BR2_PACKAGE_ETHTOOL=y BR2_PACKAGE_IPERF=y BR2_PACKAGE_IPROUTE2=y diff --git a/bsp/buildroot/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig b/bsp/buildroot/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig index 37521292..0c041501 100644 --- a/bsp/buildroot/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig +++ b/bsp/buildroot/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig @@ -52,7 +52,6 @@ BR2_PACKAGE_DTC_PROGRAMS=y BR2_PACKAGE_BLUEZ_UTILS=y BR2_PACKAGE_BRIDGE_UTILS=y BR2_PACKAGE_CAN_UTILS=y -BR2_PACKAGE_DROPBEAR=y BR2_PACKAGE_ETHTOOL=y BR2_PACKAGE_IPERF=y BR2_PACKAGE_IPROUTE2=y diff --git a/bsp/buildroot/configs/atmel_sama5d2_xplained_mmc_dev_defconfig b/bsp/buildroot/configs/atmel_sama5d2_xplained_mmc_dev_defconfig index 23a25820..4563ed11 100644 --- a/bsp/buildroot/configs/atmel_sama5d2_xplained_mmc_dev_defconfig +++ b/bsp/buildroot/configs/atmel_sama5d2_xplained_mmc_dev_defconfig @@ -66,7 +66,6 @@ BR2_PACKAGE_DTC_PROGRAMS=y BR2_PACKAGE_BLUEZ_UTILS=y BR2_PACKAGE_BRIDGE_UTILS=y BR2_PACKAGE_CAN_UTILS=y -BR2_PACKAGE_DROPBEAR=y BR2_PACKAGE_ETHTOOL=y BR2_PACKAGE_IPERF=y BR2_PACKAGE_IPROUTE2=y diff --git a/bsp/buildroot/configs/atmel_sama5d3_xplained_dev_defconfig b/bsp/buildroot/configs/atmel_sama5d3_xplained_dev_defconfig index f403e230..6a5ed375 100644 --- a/bsp/buildroot/configs/atmel_sama5d3_xplained_dev_defconfig +++ b/bsp/buildroot/configs/atmel_sama5d3_xplained_dev_defconfig @@ -62,7 +62,6 @@ BR2_PACKAGE_DTC_PROGRAMS=y BR2_PACKAGE_BLUEZ_UTILS=y BR2_PACKAGE_BRIDGE_UTILS=y BR2_PACKAGE_CAN_UTILS=y -BR2_PACKAGE_DROPBEAR=y BR2_PACKAGE_ETHTOOL=y BR2_PACKAGE_IPERF=y BR2_PACKAGE_IPROUTE2=y diff --git a/bsp/buildroot/configs/atmel_sama5d3_xplained_mmc_dev_defconfig b/bsp/buildroot/configs/atmel_sama5d3_xplained_mmc_dev_defconfig index a3351482..37112ce4 100644 --- a/bsp/buildroot/configs/atmel_sama5d3_xplained_mmc_dev_defconfig +++ b/bsp/buildroot/configs/atmel_sama5d3_xplained_mmc_dev_defconfig @@ -65,7 +65,6 @@ BR2_PACKAGE_DTC_PROGRAMS=y BR2_PACKAGE_BLUEZ_UTILS=y BR2_PACKAGE_BRIDGE_UTILS=y BR2_PACKAGE_CAN_UTILS=y -BR2_PACKAGE_DROPBEAR=y BR2_PACKAGE_ETHTOOL=y BR2_PACKAGE_IPERF=y BR2_PACKAGE_IPROUTE2=y diff --git a/bsp/buildroot/configs/atmel_sama5d4_xplained_dev_defconfig b/bsp/buildroot/configs/atmel_sama5d4_xplained_dev_defconfig index 7ebfde17..266411ff 100644 --- a/bsp/buildroot/configs/atmel_sama5d4_xplained_dev_defconfig +++ b/bsp/buildroot/configs/atmel_sama5d4_xplained_dev_defconfig @@ -63,7 +63,6 @@ BR2_PACKAGE_DTC_PROGRAMS=y BR2_PACKAGE_BLUEZ_UTILS=y BR2_PACKAGE_BRIDGE_UTILS=y BR2_PACKAGE_CAN_UTILS=y -BR2_PACKAGE_DROPBEAR=y BR2_PACKAGE_ETHTOOL=y BR2_PACKAGE_IPERF=y BR2_PACKAGE_IPROUTE2=y diff --git a/bsp/buildroot/configs/atmel_sama5d4_xplained_mmc_dev_defconfig b/bsp/buildroot/configs/atmel_sama5d4_xplained_mmc_dev_defconfig index c31f15a1..a2958319 100644 --- a/bsp/buildroot/configs/atmel_sama5d4_xplained_mmc_dev_defconfig +++ b/bsp/buildroot/configs/atmel_sama5d4_xplained_mmc_dev_defconfig @@ -66,7 +66,6 @@ BR2_PACKAGE_DTC_PROGRAMS=y BR2_PACKAGE_BLUEZ_UTILS=y BR2_PACKAGE_BRIDGE_UTILS=y BR2_PACKAGE_CAN_UTILS=y -BR2_PACKAGE_DROPBEAR=y BR2_PACKAGE_ETHTOOL=y BR2_PACKAGE_IPERF=y BR2_PACKAGE_IPROUTE2=y diff --git a/bsp/buildroot/configs/imx6-sabresd_qt5_defconfig b/bsp/buildroot/configs/imx6-sabresd_qt5_defconfig index 8e6065db..6e178eed 100644 --- a/bsp/buildroot/configs/imx6-sabresd_qt5_defconfig +++ b/bsp/buildroot/configs/imx6-sabresd_qt5_defconfig @@ -43,6 +43,7 @@ BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-sabresd imx6dl-sabresd imx6qp-sabresd" BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/freescale/imx6-sabresd/linux_qt5.fragment" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y # GL driver BR2_PACKAGE_MESA3D=y diff --git a/bsp/buildroot/docs/manual/customize-directory-structure.txt b/bsp/buildroot/docs/manual/customize-directory-structure.txt index b177319f..a3a7ad4c 100644 --- a/bsp/buildroot/docs/manual/customize-directory-structure.txt +++ b/bsp/buildroot/docs/manual/customize-directory-structure.txt @@ -50,6 +50,7 @@ to you. | +-- Config.in (if using a br2-external tree) +-- external.mk (if using a br2-external tree) ++-- external.desc (if using a br2-external tree) ------ Details on the files shown above are given further in this chapter. diff --git a/bsp/buildroot/docs/manual/manual.html b/bsp/buildroot/docs/manual/manual.html index 5bfb0f96..01b8258e 100644 --- a/bsp/buildroot/docs/manual/manual.html +++ b/bsp/buildroot/docs/manual/manual.html @@ -1,8 +1,8 @@ -The Buildroot user manual

The Buildroot user manual


Table of Contents

I. Getting started
1. About Buildroot
2. System requirements
2.1. Mandatory packages
2.2. Optional packages
3. Getting Buildroot
4. Buildroot quick start
5. Community resources
II. User guide
6. Buildroot configuration
6.1. Cross-compilation toolchain
6.2. /dev management
6.3. init system
7. Configuration of other components
8. General Buildroot usage
8.1. make tips
8.2. Understanding when a full rebuild is necessary
8.3. Understanding how to rebuild packages
8.4. Offline builds
8.5. Building out-of-tree
8.6. Environment variables
8.7. Dealing efficiently with filesystem images
8.8. Graphing the dependencies between packages
8.9. Graphing the build duration
8.10. Graphing the filesystem size contribution of packages
8.11. Integration with Eclipse
8.12. Advanced usage
9. Project-specific customization
9.1. Recommended directory structure
9.2. Keeping customizations outside of Buildroot
9.3. Storing the Buildroot configuration
9.4. Storing the configuration of other components
9.5. Customizing the generated target filesystem
9.6. Adding custom user accounts
9.7. Customization after the images have been created
9.8. Adding project-specific patches
9.9. Adding project-specific packages
9.10. Quick guide to storing your project-specific customizations
10. Frequently Asked Questions & Troubleshooting
10.1. The boot hangs after Starting network…
10.2. Why is there no compiler on the target?
10.3. Why are there no development files on the target?
10.4. Why is there no documentation on the target?
10.5. Why are some packages not visible in the Buildroot config menu?
10.6. Why not use the target directory as a chroot directory?
10.7. Why doesn’t Buildroot generate binary packages (.deb, .ipkg…)?
10.8. How to speed-up the build process?
11. Known issues
12. Legal notice and licensing
12.1. Complying with open source licenses
12.2. Complying with the Buildroot license
13. Beyond Buildroot
13.1. Boot the generated images
13.2. Chroot
III. Developer guide
14. How Buildroot works
15. Coding style
15.1. Config.in file
15.2. The .mk file
15.3. The documentation
15.4. Support scripts
16. Adding support for a particular board
17. Adding new packages to Buildroot
17.1. Package directory
17.2. Config files
17.3. The .mk file
17.4. The .hash file
17.5. Infrastructure for packages with specific build systems
17.6. Infrastructure for autotools-based packages
17.7. Infrastructure for CMake-based packages
17.8. Infrastructure for Python packages
17.9. Infrastructure for LuaRocks-based packages
17.10. Infrastructure for Perl/CPAN packages
17.11. Infrastructure for virtual packages
17.12. Infrastructure for packages using kconfig for configuration files
17.13. Infrastructure for rebar-based packages
17.14. Infrastructure for Waf-based packages
17.15. Integration of Meson-based packages
17.16. Integration of Cargo-based packages
17.17. Infrastructure for packages building kernel modules
17.18. Infrastructure for asciidoc documents
17.19. Infrastructure specific to the Linux kernel package
17.20. Hooks available in the various build steps
17.21. Gettext integration and interaction with packages
17.22. Tips and tricks
17.23. Conclusion
18. Patching a package
18.1. Providing patches
18.2. How patches are applied
18.3. Format and licensing of the package patches
18.4. Integrating patches found on the Web
19. Download infrastructure
20. Debugging Buildroot
21. Contributing to Buildroot
21.1. Reproducing, analyzing and fixing bugs
21.2. Analyzing and fixing autobuild failures
21.3. Reviewing and testing patches
21.4. Work on items from the TODO list
21.5. Submitting patches
21.6. Reporting issues/bugs or getting help
22. DEVELOPERS file and get-developers
IV. Appendix
23. Makedev syntax documentation
24. Makeusers syntax documentation
25. Migrating from older Buildroot versions
25.1. Migrating to 2016.11
25.2. Migrating to 2017.08

Buildroot 2018.02.6 manual generated on 2018-10-07 -07:20:36 UTC from git revision 67d61cbef5

The Buildroot manual is written by the Buildroot developers. +The Buildroot user manual

The Buildroot user manual


Table of Contents

I. Getting started
1. About Buildroot
2. System requirements
2.1. Mandatory packages
2.2. Optional packages
3. Getting Buildroot
4. Buildroot quick start
5. Community resources
II. User guide
6. Buildroot configuration
6.1. Cross-compilation toolchain
6.2. /dev management
6.3. init system
7. Configuration of other components
8. General Buildroot usage
8.1. make tips
8.2. Understanding when a full rebuild is necessary
8.3. Understanding how to rebuild packages
8.4. Offline builds
8.5. Building out-of-tree
8.6. Environment variables
8.7. Dealing efficiently with filesystem images
8.8. Graphing the dependencies between packages
8.9. Graphing the build duration
8.10. Graphing the filesystem size contribution of packages
8.11. Integration with Eclipse
8.12. Advanced usage
9. Project-specific customization
9.1. Recommended directory structure
9.2. Keeping customizations outside of Buildroot
9.3. Storing the Buildroot configuration
9.4. Storing the configuration of other components
9.5. Customizing the generated target filesystem
9.6. Adding custom user accounts
9.7. Customization after the images have been created
9.8. Adding project-specific patches
9.9. Adding project-specific packages
9.10. Quick guide to storing your project-specific customizations
10. Frequently Asked Questions & Troubleshooting
10.1. The boot hangs after Starting network…
10.2. Why is there no compiler on the target?
10.3. Why are there no development files on the target?
10.4. Why is there no documentation on the target?
10.5. Why are some packages not visible in the Buildroot config menu?
10.6. Why not use the target directory as a chroot directory?
10.7. Why doesn’t Buildroot generate binary packages (.deb, .ipkg…)?
10.8. How to speed-up the build process?
11. Known issues
12. Legal notice and licensing
12.1. Complying with open source licenses
12.2. Complying with the Buildroot license
13. Beyond Buildroot
13.1. Boot the generated images
13.2. Chroot
III. Developer guide
14. How Buildroot works
15. Coding style
15.1. Config.in file
15.2. The .mk file
15.3. The documentation
15.4. Support scripts
16. Adding support for a particular board
17. Adding new packages to Buildroot
17.1. Package directory
17.2. Config files
17.3. The .mk file
17.4. The .hash file
17.5. Infrastructure for packages with specific build systems
17.6. Infrastructure for autotools-based packages
17.7. Infrastructure for CMake-based packages
17.8. Infrastructure for Python packages
17.9. Infrastructure for LuaRocks-based packages
17.10. Infrastructure for Perl/CPAN packages
17.11. Infrastructure for virtual packages
17.12. Infrastructure for packages using kconfig for configuration files
17.13. Infrastructure for rebar-based packages
17.14. Infrastructure for Waf-based packages
17.15. Integration of Meson-based packages
17.16. Integration of Cargo-based packages
17.17. Infrastructure for packages building kernel modules
17.18. Infrastructure for asciidoc documents
17.19. Infrastructure specific to the Linux kernel package
17.20. Hooks available in the various build steps
17.21. Gettext integration and interaction with packages
17.22. Tips and tricks
17.23. Conclusion
18. Patching a package
18.1. Providing patches
18.2. How patches are applied
18.3. Format and licensing of the package patches
18.4. Integrating patches found on the Web
19. Download infrastructure
20. Debugging Buildroot
21. Contributing to Buildroot
21.1. Reproducing, analyzing and fixing bugs
21.2. Analyzing and fixing autobuild failures
21.3. Reviewing and testing patches
21.4. Work on items from the TODO list
21.5. Submitting patches
21.6. Reporting issues/bugs or getting help
22. DEVELOPERS file and get-developers
IV. Appendix
23. Makedev syntax documentation
24. Makeusers syntax documentation
25. Migrating from older Buildroot versions
25.1. Migrating to 2016.11
25.2. Migrating to 2017.08

Buildroot 2018.02.8 manual generated on 2018-11-26 +22:42:29 UTC from git revision d047c4032b

The Buildroot manual is written by the Buildroot developers. It is licensed under the GNU General Public License, version 2. Refer to the -COPYING +COPYING file in the Buildroot sources for the full text of this license.

Copyright © 2004-2018 The Buildroot developers

logo.png

Part I. Getting started

Chapter 1. About Buildroot

Buildroot is a tool that simplifies and automates the process of building a complete Linux system for an embedded system, using cross-compilation.

In order to achieve this, Buildroot is able to generate a @@ -16,8 +16,8 @@ processors everyone is used to having in his PC. They can be PowerPC processors, MIPS processors, ARM processors, etc.

Buildroot supports numerous processors and their variants; it also comes with default configurations for several boards available off-the-shelf. Besides this, a number of third-party projects are based on, -or develop their BSP [1] or -SDK [2] on top of Buildroot.



[1] BSP: Board Support Package

[2] SDK: Software Development Kit

Chapter 2. System requirements

Buildroot is designed to run on Linux systems.

While Buildroot itself will build most host packages it needs for the +or develop their BSP [1] or +SDK [2] on top of Buildroot.



[1] BSP: Board Support Package

[2] SDK: Software Development Kit

Chapter 2. System requirements

Buildroot is designed to run on Linux systems.

While Buildroot itself will build most host packages it needs for the compilation, certain standard Linux utilities are expected to be already installed on the host system. Below you will find an overview of the mandatory and optional packages (note that package names may vary @@ -272,7 +272,7 @@ processor. Under most Linux systems, the compilation toolchain uses the GNU libc (glibc) as the C standard library. This compilation toolchain is called the "host compilation toolchain". The machine on which it is running, and on which you’re working, is called the "host -system" [3].

The compilation toolchain is provided by your distribution, and +system" [3].

The compilation toolchain is provided by your distribution, and Buildroot has nothing to do with it (other than using it to build a cross-compilation toolchain and other tools that are run on the development host).

As said above, the compilation toolchain that comes with your system @@ -547,7 +547,7 @@ The third solution is systemd. http://www.freedesktop.org/wiki/Software/systemd.

The solution recommended by Buildroot developers is to use the BusyBox init as it is sufficient for most embedded -systems. systemd can be used for more complex situations.



[3] This terminology differs from what is used by GNU +systems. systemd can be used for more complex situations.



[3] This terminology differs from what is used by GNU configure, where the host is the machine on which the application will run (which is usually the same as target)

Chapter 7. Configuration of other components

Before attempting to modify any of the components below, make sure you have already configured Buildroot itself, and have enabled the @@ -1147,7 +1147,8 @@ to you.

+-- board/
 |           +-- package2.mk
 |
 +-- Config.in (if using a br2-external tree)
-+-- external.mk (if using a br2-external tree)

Details on the files shown above are given further in this chapter.

Note: if you choose to place this structure outside of the Buildroot ++-- external.mk (if using a br2-external tree) ++-- external.desc (if using a br2-external tree)

Details on the files shown above are given further in this chapter.

Note: if you choose to place this structure outside of the Buildroot tree but in a br2-external tree, the <company> and possibly <boardname> components may be superfluous and can be left out.

9.1.1. Implementing layered customizations

It is quite common for a user to have several related projects that partly need the same customizations. Instead of duplicating these @@ -2629,7 +2630,7 @@ flags. The argument to be given to LIBFOO_CONFIG_SCRIPTS is the file name(s) of the shell script(s) needing fixing. All these names are relative to $(STAGING_DIR)/usr/bin and if needed multiple names can be given.

In addition, the scripts listed in LIBFOO_CONFIG_SCRIPTS are removed -from $(TARGET_DIR)/usr/bin, since they are not needed on the target.

Example 17.1. Config script: divine package

Package divine installs shell script $(STAGING_DIR)/usr/bin/divine-config.

So its fixup would be:

DIVINE_CONFIG_SCRIPTS = divine-config

Example 17.2. Config script: imagemagick package:

Package imagemagick installs the following scripts: +from $(TARGET_DIR)/usr/bin, since they are not needed on the target.

Example 17.1. Config script: divine package

Package divine installs shell script $(STAGING_DIR)/usr/bin/divine-config.

So its fixup would be:

DIVINE_CONFIG_SCRIPTS = divine-config

Example 17.2. Config script: imagemagick package:

Package imagemagick installs the following scripts: $(STAGING_DIR)/usr/bin/{Magick,Magick++,MagickCore,MagickWand,Wand}-config

So it’s fixup would be:

IMAGEMAGICK_CONFIG_SCRIPTS = \
    Magick-config Magick++-config \
    MagickCore-config MagickWand-config Wand-config

On line 14, we specify the list of dependencies this package relies @@ -4803,7 +4804,7 @@ large number of commits in the series;

  • deep impact of the changes in the rest of the project;
  • -RFC [4]; +RFC [4];
  • whenever you feel it will help presenting your work, your choices, the review process, etc. @@ -4885,7 +4886,7 @@ pastebin service. Note that not all available pastebin services will preserve Unix-style line terminators when downloading raw pastes. Following pastebin services are known to work correctly: - https://gist.github.com/ -- http://code.bulix.org/



  • [4] RFC: (Request for comments) change proposal

    Chapter 22. DEVELOPERS file and get-developers

    The main Buildroot directory contains a file named DEVELOPERS that +- http://code.bulix.org/



    [4] RFC: (Request for comments) change proposal

    Chapter 22. DEVELOPERS file and get-developers

    The main Buildroot directory contains a file named DEVELOPERS that lists the developers involved with various areas of Buildroot. Thanks to this file, the get-developer tool allows to: