aboutsummaryrefslogtreecommitdiffstats
path: root/tools/mkimage/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* tools/mkimage: update to 2022.01Huangbin Zhan2022-03-011-16/+4
| | | | | | | | | | | | - enable dot config - enable openwrt verbose - add bison as dependency to avoid failure ``` bison -oscripts/kconfig/zconf.tab.c -t -l scripts/kconfig/zconf.y bison: /builder/shared-workdir/build/staging_dir/host/share/bison/m4sugar/m4sugar.m4: cannot open: No such file or directory ``` Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
* tools/mkimage: update to 2021.10Huangbin Zhan2021-12-271-2/+3
| | | | | | | | | | | | | | Changelog: - upstream now needs OpenSSL in order to be able to sign FITs. See: commit cb9faa6f98ae ("tools: Use a single target-independent config to enable OpenSSL") - removes upstream patches. Link: https://github.com/u-boot/u-boot/commit/cb9faa6f98ae56d70d59505dad290dd3d381cb7b Tested-by: Sergey V. Lobanov <sergey@lobanov.in> Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com> Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* tools/mkimage: pass --static via PKG_CONFIG_EXTRAARGSAndre Heider2021-11-061-0/+1
| | | | | | | | Remove the then unnecessary patch doing exactly that individually. See also 09465d80 "u-boot.mk: always link host libraries static". Signed-off-by: Andre Heider <a.heider@gmail.com>
* tools: mkimage: Update U-Boot to version 2021.01Hauke Mehrtens2021-02-081-2/+4
| | | | | | | | | | | | * The fit image is now created with 0666 permission in upstream U-Boot remove our patch switch creates it with 0744 * The generated/autoconf.h file is created now as an empty file, it is not needed to remove this include any more. * Upstream lib/rsa/rsa-sign.c now includes stdlib.h instead of malloc.h * ALIGN_MASK was moved to imagetool.h, own patch should not be needed any more. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* tools/mkimage: update to 2020.04Lucian Cristian2020-04-261-3/+6
| | | | | | | | | also change the download source to https and add a mirror drop merged patches Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com> [Add extra changes to compile on FreeBSD, merge two patches] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* tools/mkimage: Update U-Boot to version 2019.07Hauke Mehrtens2019-09-041-2/+4
| | | | | | | | | | | | | This updates the U-Boot which provides the host tools like mkimage to version 2019.07. The patches were cleaned up and it was checked if this still compiles on Linux and FreeBSD. CONFIG_FIT_SIGNATURE_MAX_SIZE is set to the default value. The patch for libressl was merged upstream. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* tools/mkimage: use http download server (fixes FS#2052)Felix Fietkau2019-03-071-3/+1
| | | | | | | Fixes timeouts with trying to access the FTP site. Also remove mirror2.openwrt.org, which does not keep current tarballs Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools: mkimage: provide dtc path during buildJo-Philipp Wich2018-04-191-0/+1
| | | | | | | | | | | | | | | | | The new mkimage version requires a CONFIG_MKIMAGE_DTC_PATH variable to be provided during build, in order to hardcode a path to a suitable DT compiler executable. Failure to do so will result in stray "sh: 1: -I: not found" errors when invoking mkimage for FIT image generation. Fix the issue by supplying "dtc" as CONFIG_MKIMAGE_DTC_PATH value during build. As we intend our host utilities to be relocatable and since we're already overriding PATH when invoking mkimage, an absolute path is not required. Fixes: b13e981d72 ("tools/mkimage: update to version 2018.03") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* tools/mkimage: update to version 2018.03Hauke Mehrtens2018-04-181-11/+10
| | | | | | | | This activates support for fit images and some other new mkimage features. Some of the patches were applied upstream and could be removed. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* tools/mkimage: copy mkenvimage to bin directoryEvgeniy Didin2018-02-131-0/+2
| | | | | | | | | | | | | | For some boards u-boot binary environment file is required, which is generated by mkenvimage utility. But in OpenWrt there is no separate support for mkenvimage, which is a part of u-boot tools. mkenvimage gets built in u-boot/tools as well as mkimage anyways. So lets just copy mkenvimage to the $(STAGING_DIR_HOST)/bin/ directory. Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com> CC: Alexey Brodkin <abrodkin@synopsys.com> CC: Hauke Mehrtens <hauke@hauke-m.de> CC: John Crispin <john@phrozen.org>
* tools: mkimage: pass crypto libraries through HOST_LOADLIBES (FS#381)Jo-Philipp Wich2017-01-111-2/+2
| | | | | | | | Since linker argument order is significant on modern host compilers, pass the required libcrypto libraries through the HOST_LOADLIBES variable in order to ensure proper order of the final linker command line. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* tools: mkimage: use pkg-config to discover libcrypto linker flagsJo-Philipp Wich2017-01-051-2/+2
| | | | | | | | | LibreSSL's libcrypto.so has an indirect dependency to librt for clock_gettime() on Linux. Use pkg-config to portably discover the required linker flags. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* treewide: clean up download hashesFelix Fietkau2016-12-161-1/+1
| | | | | | Replace *MD5SUM with *HASH, replace MD5 hashes with SHA256 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mkimage: cross compile fix: pass HOST_*FLAGS in to uboot's makefileFelix Fietkau2015-07-191-2/+2
| | | | | | | | | | The HOST_*FLAGS are for compiling programs which will run on the machine that is running the build. Setting these flags is frequently required for unusual cross-compiles. Signed-off-by: Lawrence D'Anna <larry@elder-gods.org> SVN-Revision: 46424
* tools: remove static linking supportJo-Philipp Wich2015-02-061-3/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44285
* mkimage: update to 2014.10Luka Perkov2014-11-291-3/+6
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 43428
* mkimage: update to 2014.07Luka Perkov2014-08-081-2/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 42082
* mkimage: update to 2014.04Luka Perkov2014-05-211-4/+7
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 40807
* mkimage: fix md5sum after r37361Luka Perkov2013-07-161-1/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 37366
* mkimage: update to 2013.07-rc1Luka Perkov2013-07-151-1/+1
| | | | | | | | also remove 100-dtc-binary.patch which was not accepted upstream Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 37361
* mkimage: update to 2013.04Luka Perkov2013-05-051-2/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 36550
* mkimage: upgrade to version 2013.01.01Luka Perkov2013-03-081-6/+6
| | | | SVN-Revision: 35905
* tools/mkimage: avoid picking up unrelated /usr/include headers with the same ↵Felix Fietkau2012-09-231-0/+7
| | | | | | name as internal header files (e.g. image.h), fixes #12232 SVN-Revision: 33519
* convert remaining tools to $(HOST_STATIC_LINKING) (#12012)Jo-Philipp Wich2012-08-121-1/+1
| | | | SVN-Revision: 33148
* mkimage: link staticallyJo-Philipp Wich2012-08-101-1/+1
| | | | SVN-Revision: 33096
* mkimage: update to 2012.04.01Luka Perkov2012-06-091-2/+2
| | | | SVN-Revision: 32143
* mkimage: update to 2011.12Florian Fainelli2012-04-021-3/+3
| | | | | | Signed-off-by: Luka Perkov <openwrt@lukaperkov.net> SVN-Revision: 31171
* use u-boot 2011.06 as sourceImre Kaloz2011-07-011-3/+3
| | | | SVN-Revision: 27336
* use u-boot v2010.12Imre Kaloz2010-12-231-4/+4
| | | | SVN-Revision: 24809
* ensure an empty BUILD_DIR variable is passed down u-boot's makefileMichael Büsch2010-11-031-1/+1
| | | | SVN-Revision: 23832
* mkimage: fix spurious build errors caused by its braindead build systemFelix Fietkau2010-03-081-0/+1
| | | | SVN-Revision: 20065
* upgrade and build from the u-boot sourceImre Kaloz2010-01-101-6/+13
| | | | SVN-Revision: 19091
* build system refactoring in preparation for allowing packages to do ↵Felix Fietkau2009-02-221-7/+7
| | | | | | host-build steps SVN-Revision: 14610
* build system cleanup/restructuring as described in ↵Felix Fietkau2007-08-071-7/+5
| | | | | | http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html SVN-Revision: 8362
* host-build.mk used incorrectlyMike Baker2007-05-101-1/+2
| | | | SVN-Revision: 7156
* fix missing PKG_NAMEFelix Fietkau2006-12-061-0/+1
| | | | SVN-Revision: 5703
* finally move buildroot-ng to trunkFelix Fietkau2016-03-201-0/+27