summaryrefslogtreecommitdiffstats
path: root/package/uboot-tools
Commit message (Collapse)AuthorAgeFilesLines
* uboot-tools: force host CFLAGSBaruch Siach2018-08-101-0/+1
| | | | | | | | | | | | | | | | | | | U-Boot now adds -std=gnu11 when building its build utilities, like fixdep. This option is only supported since gcc version 4.7. https://gcc.gnu.org/gcc-4.7/changes.html Force usage of Buildroot HOST_CFLAGS, like we do already for host-uboot-tools, to avoid the -std=gnu11 option. Fixes: http://autobuild.buildroot.net/results/ea0/ea09b614a3c10d494939d9551c0c3bfca4626ece/ http://autobuild.buildroot.net/results/f8e/f8efd9af4d86c51fe4f5afe44db9abf9adc5718f/ http://autobuild.buildroot.net/results/c0a/c0ab35c3cb46f84863fe20c0ee92ecc2379578b6/ Cc: Matt Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* uboot-tools: bump to version 2018.07Marcin Niestroj2018-07-272-2/+2
| | | | | Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* uboot-tools: bump to version 2018.05Fabio Estevam2018-05-192-2/+2
| | | | | Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* uboot-tools: bump to version 2018.03Fabio Estevam2018-04-043-35/+2
| | | | | | | Drop patch 0004 as it is already applied upstream. Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* uboot-tools: backport patch fixing build failure with libfdt-devel installedThomas Petazzoni2018-03-101-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | U-Boot host programs fail to build when libfdt-devel is installed system-wide, with errors like this: HOSTCC tools/aisimage.o In file included from tools/../include/../lib/libfdt/libfdt.h:10:0, from tools/../include/libfdt.h:1, from tools/fdt_host.h:11, from tools/imagetool.h:24, from tools/aisimage.c:8: /usr/include/libfdt_env.h:70:30: error: conflicting types for ‘fdt64_t’ typedef uint64_t FDT_BITWISE fdt64_t; ^~~~~~~ In file included from <command-line>:0:0: ././include/libfdt_env.h:19:16: note: previous declaration of ‘fdt64_t’ was here typedef __be64 fdt64_t; ^~~~~~~ In file included from ././include/libfdt_env.h:12:0, from <command-line>:0: /usr/include/libfdt_env.h:90:24: error: expected ‘)’ before ‘x’ static inline uint32_t fdt32_to_cpu(fdt32_t x) ^ This commit backports an upstream patch that fixes this problem. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* uboot-tools: bump to version 2018.01Jörg Krause2018-01-123-65/+2
| | | | | | | | | | Drop patch 0004-uboot-tools-disable-pylibfdt.patch. The issue addressed by this patch has been fixed in upstream commit 15b97f5c5e6d88e0560c6928f3acd01c999a494d. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Tested-by: Matthew Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/*/Config.in: fix help text check-package warningsThomas Petazzoni2017-12-181-2/+2
| | | | | | | | | | | | | This commit fixes the warnings reported by check-package on the help text of all package Config.in files, related to the formatting of the help text: should start with a tab, then 2 spaces, then at most 62 characters. The vast majority of warnings fixed were caused by too long lines. A few warnings were related to spaces being used instead of a tab to indent the help text. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uboot-tools: fix dtc invocationYegor Yefremov2017-12-011-2/+2
| | | | | | | | | | | | | | Since uboot 2017.09 path to dtc will be configured via Kconfig. As BR skips this step for uboot-tools building one has to provide CONFIG_MKIMAGE_DTC_PATH=dtc on the build command line. Otherwise mkimage will not be able to create FIT images, i.e.: mkimage -f kernel-fit.its kernel-fit.itb will fail with very weird errors. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uboot-tools: bump to version 2017.11Fabio Estevam2017-11-153-58/+2
| | | | | | | Drop patch 0005 as it has already been applied upstream. Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uboot-tools: use local libfdt.hMatt Weber2017-11-061-0/+56
| | | | | | | | | | | | | | | | | | | | | The use of libfdt.h by u-boot is using the <system-path>. The libfdt part of uboot is expriencing a lot of change and this patch should be overcome by events post uboot-2017.11 release. Jan submitted the following upstream https://patchwork.ozlabs.org/patch/833760/ Resolves: http://autobuild.buildroot.net/results/347cde4b5c0e6ca76d354396385be4ec1294da73 http://autobuild.buildroot.net/results/2b429f82bed1f03d69021e0f959da4e2db2b5a0b http://autobuild.buildroot.net/results/b18012963926682ba192b9176bd3e35fb07cdf56 CC: Jan Kundrát <jan.kundrat@cesnet.cz> CC: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* uboot-tools: bump to version 2017.09Fabio Estevam2017-11-022-3/+3
| | | | | | | | | | The 'env' target has been renamed to 'envtools' so change it accordingly. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Tested-by: Jan Kundrát <jan.kundrat@cesnet.cz> Reviewed-by: Jan Kundrát <jan.kundrat@cesnet.cz> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uboot-tools: disable pylibfdtMatt Weber2017-11-021-0/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current U-Boot build system assumes that if swig is installed on the host system, it should build pylibfdt, without checking if other dependencies are available. This causes a number of build failures. This commit fixes that by using concepts from the future upstream fix (post 2017.11), which sets up a kconfig variable for pylibfdt and conditionally enables the swig wrapper creation (default=n). Relevant upstream patches under review: - https://patchwork.ozlabs.org/patch/826742/ - https://patchwork.ozlabs.org/patch/826752/ This patch only affects uboot-tools, in which we never need pylibfdt. The logic in the uboot package, with its BR2_TARGET_UBOOT_NEEDS_PYLIBFDT option, remains unchanged. Fixes (one of many): http://autobuild.buildroot.net/results/f9e13caae9b31c9dcde7d24caecc036324f269cc Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com> Tested-by: Jan Kundrát <jan.kundrat@cesnet.cz> Reviewed-by: Jan Kundrát <jan.kundrat@cesnet.cz> [Thomas: improved commit log.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uboot-tools: bump to version 2017.07Jörg Krause2017-07-213-51/+2
| | | | | | | | | | | Drop patch 0005 which has been fixed upstream in a different way [1] by only building the Python libfdt library when needed [2]. [1] https://patchwork.ozlabs.org/patch/757380/ [2] https://www.mail-archive.com/u-boot@lists.denx.de/msg251051.html Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Globally replace $(HOST_DIR)/usr/bin with $(HOST_DIR)/binArnout Vandecappelle2017-07-051-4/+4
| | | | | | | | | | | Since things are no longer installed in $(HOST_DIR)/usr, the callers should also not refer to it. This is a mechanical change with git grep -l '$(HOST_DIR)/usr/bin' | xargs sed -i 's%$(HOST_DIR)/usr/bin%$(HOST_DIR)/bin%g' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uboot-tools: drop unreferenced empty variableBaruch Siach2017-06-251-3/+0
| | | | | | | | | | | Commit log 0e0ea8cf5e2c57 (uboot-tools: install libubootenv to staging) mentions that installation is done in <pkg>_INSTALL_STAGING_CMDS directly, but forgot to remove the now empty UBOOT_TOOLS_INSTALL_LIBUBOOTENV. Cc: Jörg Krause <joerg.krause@embedded.rocks> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/uboot-tools: revert the removal of 0001-drop-configh-from-tools.patchRomain Naour2017-06-041-0/+47
| | | | | | | | | | | | | | | | Patch 0001-drop-configh-from-tools.patch is not upstream, instead it must be rebased on top of 2017.05 release since the code was moved by [1]. Fixes: http://autobuild.buildroot.net/results/949/94910513d1b14e3b02ec4aed34de89d1b1d7a12a [1] http://git.denx.de/?p=u-boot.git;a=commit;h=9d80b49a671c9922931adcd823aab0ed319a42d1 Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Fabio Estevam <festevam@gmail.com> Reviewed-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uboot-tools: bump to version 2017.05Fabio Estevam2017-05-234-82/+2
| | | | | | | | Bump to version 2017.05 and also remove the patches that have been upstreamed. Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uboot-tools: disable libfdt swig wrapperMatt Weber2017-05-042-0/+49
| | | | | | | | | | | | | | | | | | | The current tools build assumes the host system when trying to detect if swig/python are present. It then uses those tools from the path. The upstream RFC included this commit set's patch but offered up discussion on how to cleanly introduce a better method for detecting swig and using the tools. The tools build really needs to be sysroot and prefix/host dir tools aware. Upsteam submission for RFC: https://lists.denx.de/pipermail/u-boot/2017-May/289520.html Workaround for: http://autobuild.buildroot.net/results/6d52ac8bb71012aea6fc4c679691b31a3366728b Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, linux, package: use SPDX short identifier for GPLv2/GPLv2+Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uboot-tools: pass empty CFLAGS on invocation of libfdt/setup.pyMax Filippov2017-03-181-0/+36
| | | | | | | | | | | | | | | | | | | When building u-boot tools in cross-build environment CFLAGS environment variable set up for target is taken into an account when building code for host. Make it empty on invocation of python. This fixes the following build errors when cross-compiling for xtensa: cc1: error: unrecognized command line option "-mlongcalls" cc1: error: unrecognized command line option "-mauto-litpools" Fixes: http://autobuild.buildroot.net/results/439d6dacfaa7f9244bd15ca04990c12a25ff4777 http://autobuild.buildroot.net/results/e2fe36c20e75d01a01a6659ef11e888965a843b9 http://autobuild.buildroot.net/results/6f37ff347822a76571a9fe9cf3c491fe7e4164fa Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uboot-tools: bump to version 2017.03Fabio Estevam2017-03-142-2/+2
| | | | | Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* uboot-tools: bump to version 2017.01Fabio Estevam2017-01-092-2/+2
| | | | | Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* uboot-tools: bump to version 2016.11Fabio Estevam2016-11-142-2/+2
| | | | | Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uboot-tools: bump to version 2016.09.01Fabio Estevam2016-09-252-2/+2
| | | | | | | 2016.09.01 is a bugfix release, so bump to this version. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uboot-tools: bump to version 2016.09Fabio Estevam2016-09-123-6/+8
| | | | | Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/uboot-tols: fix dependency of comment about FIT supportYann E. MORIN2016-08-251-1/+1
| | | | | | | | | | | | | | | When commit 031130a4 added the dependency on shared libs for FIT support in uboot-tools, the dependency of the comment was added exactly as the dependency of the symbol. That means the comment is shown when FIT support is possible, and hidden when it is not, while we want it the other way around... Fix the dependency. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* uboot-tools: add missing !BR2_STATIC_LIBS dependency for FIT signatureThomas Petazzoni2016-08-111-0/+4
| | | | | | | | | | | BR2_PACKAGE_UBOOT_TOOLS_FIT_SUPPORT selects BR2_PACKAGE_DTC, but forgets to depends on !BR2_STATIC_LIBS like BR2_PACKAGE_DTC does. Fixes the following kconfig warning: arning: (BR2_PACKAGE_UBOOT_TOOLS_FIT_SUPPORT && BR2_PACKAGE_KVMTOOL && BR2_PACKAGE_UBOOT_TOOLS_MKIMAGE_FIT_SIGNATURE_SUPPORT) selects BR2_PACKAGE_DTC which has unmet direct dependencies (!BR2_STATIC_LIBS) Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uboot-tools: fix conditional build of FIT supportRicardo Martincoski2016-07-181-6/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The removal of the unconditional compilation and linking of some .o files were missed when porting the patch 0003 to the version 2016.07, leading to errors like these when FIT support is enabled: tools/fit_common.o: In function `fit_verify_header': fit_common.c:(.text+0x0): multiple definition of `fit_verify_header' tools/fit_common.o:fit_common.c:(.text+0x0): first defined here tools/fit_common.o: In function `fit_check_image_types': fit_common.c:(.text+0x10): multiple definition of `fit_check_image_types' When FIT support is disabled, the build does not fail but it includes FIT support. Fix the patch 0003 to be equivalent to the original one. Fixes: http://autobuild.buildroot.net/results/7494a5b22e3df1c05cdcc47670deaf54d9e04133 http://autobuild.buildroot.net/results/f98f30bbf9d4cdde37a96b9310873d83dd649c54 Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Reported-by: Masahiro Yamada <yamada.masahiro@socionext.com> CC: Fabio Estevam <festevam@gmail.com> CC: Carlos Santos <casantos@datacom.ind.br> Tested-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uboot-tools: bump to version 2016.07Fabio Estevam2016-07-123-23/+12
| | | | | Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* uboot-tools: fix minor typo in Config.in fileThomas Petazzoni2016-06-072-2/+2
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uboot-tools: fix FIT support and make it optionalCarlos Santos2016-06-074-34/+163
| | | | | | | | | | | | | | | | | | | | | | | | | | Fix several issues regarding the support for Flat Image Trees (FIT). - Add a patch to really allow turning FIT support on/off, which was not possible due to bugs in the code and in the tools Makefile. This patch has been sent upstream but not applied there, yet. - Use independent options to control FIT support on host and target packages. - Subordinate FIT signature support to the activation of FIT support, in the target package, not to mkimage installation. - Add a dependence on the dtc utilities because mkimage needs it when FIT is enabled; otherwise mkimage fails like this: $ mkimage -f firmware.its firmware.im sh: dtc: command not found - Add BR2_PACKAGE_UBOOT_TOOLS_MKIMAGE_FIT_SIGNATURE_SUPPORT to the Config.in.legacy file. Signed-off-by: Carlos Santos <casantos@datacom.ind.br> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uboot-tools: re-generate patches to match v2016.05Carlos Santos2016-06-012-16/+17
| | | | | | | | They were differences against Das U-Boot versions 2015.07 and 2015.04. Generating again helps to apply them with "git am". Signed-off-by: Carlos Santos <casantos@datacom.ind.br> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uboot-tools: improve the help text of existing optionsCarlos Santos2016-06-011-1/+9
| | | | | | | | Improve the descriptions of the knobs to install mkimage, mkenvimage, dumpimage, fw_printenv and fw_setenv. Signed-off-by: Carlos Santos <casantos@datacom.ind.br> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uboot-tools: use $(TARGET_STRIP) for target utilitiesCarlos Santos2016-06-011-0/+2
| | | | | | | Otherwise BR2_STRIP_xxxx setup is ignored and they are always stripped. Signed-off-by: Carlos Santos <casantos@datacom.ind.br> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uboot-tools: bump to version 2016.05Fabio Estevam2016-05-163-60/+2
| | | | | | | | | Bump to version 2016.05 and also remove patch 003-tools-env-bug-config-structs-must-be-defined-in-tool.patch, as it is upstreamed now. Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* uboot-tools: add patch to fix linking with libubootenvJörg Krause2016-05-061-0/+58
| | | | | | | | | | Backport a patch from upstream [1] to fix linking with libubootenv: fw_env.c:(.text+0x94): undefined reference to `common_args' [1] http://git.denx.de/?p=u-boot.git;a=commit;h=43cb65b7a00e4759427a6e4b8a02039e43dab5a5 Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uboot-tools: install libubootenv to stagingJörg Krause2016-05-061-0/+9
| | | | | | | | libubootenv is required by swupdate. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> [Thomas: do the installation directly in <pkg>_INSTALL_STAGING_CMDS.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uboot-tools: bump to version 2016.03Jörg Krause2016-04-152-2/+2
| | | | | Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uboot-tools: add option for dumpimagePaulo Zaneti2016-02-252-0/+14
| | | | | | | | | | | The tool dumpimage extracts data from U-Boot images. U-Boot added dumpimage tool on release 2014.01. This commit allows installation on target and host. Signed-off-by: Paulo Zaneti <paulo.zaneti@datacom.ind.br> Tested-by: Carlos Santos <casantos@datacom.ind.br> Signed-off-by: Carlos Santos <casantos@datacom.ind.br> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/uboot-tools: bump to version 2016.01Jörg Krause2016-01-172-2/+2
| | | | | Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* uboot-tools: fix hash for 2015.10 versionYegor Yefremov2015-10-261-1/+1
| | | | | | | Fixes: http://autobuild.buildroot.net/results/c452507b1619fdc3fbde014f6b0bda5965a4b93d/ Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* uboot-tools: bump to 2015.10Peter Korsgaard2015-10-251-1/+1
| | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/uboot-tools: bump to version 2015.07Jörg Krause2015-08-085-115/+24
| | | | | | | | | Also: - update patch #1 - remove patch #3 and #4 -> applied upstream Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uboot-tools: fix dynamic linking against OpenSSLThomas Petazzoni2015-05-161-4/+4
| | | | | | | | | | | Commit 95f9a5c3df8e4226b99438efccf0bf21eecb573d fixed the static linking issue of uboot-tools mkimage against OpenSSL, but in the process broke the dynamic linking case. This commit adjusts the uboot-tools patch to make sure both static and dynamic linking work. An updated version of the patch has been submitted upstream. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uboot-tools: fix static linking with OpenSSLThomas Petazzoni2015-05-132-3/+42
| | | | | | | | | | | | | | | | | | Add a patch to U-Boot to use pkg-config to get the OpenSSL link flags when pkg-config is available. This allows to make sure that static linking works properly. The patch requires adding $(TARGET_MAKE_ENV) so that the Buildroot provided pkg-config is used instead of the host one. The U-Boot patch has been submitted upstream. Fixes: http://autobuild.buildroot.org/results/a9f/a9f316cd076a74b8730ce4cdcdb8176da4ed9eb3/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Gergely Imreh <imrehg@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/uboot-tools: bump to version 2015.04Jörg Krause2015-04-187-63/+178
| | | | | | | | | | | | | | | | | | | | | | | | Bump to version 2015.04: * Enable optional support for FIT Signature Verification * Remove patch 0002-nostrip, it's upstream * Add musl patch * Add hash file This patch supersedes "package/uboot-tools: bump to version 2015.01" http://patchwork.ozlabs.org/patch/440396/ [Thomas: - Rewrap Config.in help text. - Move the paragraph about potential license compatibility issue from Config.in.host to Config.in, since it's really on the target package that such issues can be a problem. - Use += instead of = when adding the dependency on openssl, so that if other dependencies get added later, we don't overwrite them mistakenly.] Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: all salute the passing of avr32Yann E. MORIN2015-02-141-2/+2
| | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/*: rename patches according to the new policyPeter Korsgaard2015-02-032-0/+0
| | | | | | | Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345) Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* .mk files: bulk aligment and whitespace cleanup of assignmentsThomas De Schampheleire2014-10-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Buildroot coding style defines one space around make assignments and does not align the assignment symbols. This patch does a bulk fix of offending packages. The package infrastructures (or more in general assignments to calculated variable names, like $(2)_FOO) are not touched. Alignment of line continuation characters (\) is kept as-is. The sed command used to do this replacement is: find * -name "*.mk" | xargs sed -i \ -e 's#^\([A-Z0-9a-z_]\+\)\s*\([?:+]\?=\)\s*$#\1 \2#' -e 's#^\([A-Z0-9a-z_]\+\)\s*\([?:+]\?=\)\s*\([^\\]\+\)$#\1 \2 \3#' -e 's#^\([A-Z0-9a-z_]\+\)\s*\([?:+]\?=\)\s*\([^\\ \t]\+\s*\\\)\s*$#\1 \2 \3#' -e 's#^\([A-Z0-9a-z_]\+\)\s*\([?:+]\?=\)\(\s*\\\)#\1 \2\3#' Brief explanation of this command: ^\([A-Z0-9a-z_]\+\) a regular variable at the beginning of the line \([?:+]\?=\) any assignment character =, :=, ?=, += \([^\\]\+\) any string not containing a line continuation \([^\\ \t]\+\s*\\\) string, optional whitespace, followed by a line continuation character \(\s*\\\) optional whitespace, followed by a line continuation character Hence, the first subexpression handles empty assignments, the second handles regular assignments, the third handles regular assignments with line continuation, and the fourth empty assignments with line continuation. This expression was tested on following test text: (initial tab not included) FOO = spaces before FOO = spaces before and after FOO = tab before FOO = tab and spaces before FOO = tab after FOO = tab and spaces after FOO = spaces and tab after FOO = \ FOO = bar \ FOO = bar space \ FOO = \ GENIMAGE_DEPENDENCIES = host-pkgconf libconfuse FOO += spaces before FOO ?= spaces before and after FOO := FOO = FOO = FOO = FOO = $(MAKE1) CROSS_COMPILE=$(TARGET_CROSS) -C AT91BOOTSTRAP3_DEFCONFIG = \ AXEL_DISABLE_I18N=--i18n=0 After this bulk change, following manual fixups were done: - fix line continuation alignment in cegui06 and spice (the sed expression leaves the number of whitespace between the value and line continuation character intact, but the whitespace before that could have changed, causing misalignment. - qt5base was reverted, as this package uses extensive alignment which actually makes the code more readable. Finally, the end result was manually reviewed. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Cc: Yann E. Morin <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* uboot-tools: add patch to fix (no)stripping on non-ELF platformsThomas Petazzoni2014-08-271-0/+61
| | | | | | | | | | | | | On Blackfin FLAT, stripping does not exist, but recent U-Boot versions nonetheless try to strip and fail if they cannot do so. This commit adds a U-Boot patch (submitted upstream) that solves this issue. Fixes: http://autobuild.buildroot.org/results/153/1530f8247d1652da5779994f298141b1572ce74f/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
OpenPOWER on IntegriCloud