aboutsummaryrefslogtreecommitdiffstats
path: root/tools/mkimage
Commit message (Collapse)AuthorAgeFilesLines
* tools: mkimage: sync include/linux/compiler*.h with u-boot masterLuka Perkov2016-06-192-87/+702
| | | | | | | | Fixes build with GCC 6. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49343 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mkimage: backport SOURCE_DATE_EPOCH for reproducible buildsFelix Fietkau2016-01-284-12/+88
| | | | | | | | | | | | | | | | This pulls in Paul Kocialkowski's SOURCE_DATE_EPOCH support patch for u-boot, which landed upstream circa July 2015. Note that this "host" u-boot repo is only used to compile the 'mkimage' utility, and isn't used to actually compile a bootloader for any target. This patch could be removed if/when the host u-boot package is updated to a contemporary version (but there doesn't seem to be any motivation/need to do so). Signed-off-by: bryan newbold <bnewbold@robocracy.org> Signed-off-by: Felix Fietkau <nbd@openwrt.org> [fix portability error, refresh patches] git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48542 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46424 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mkimage: backport gcc5 compatibility, patchHauke Mehrtens2015-05-191-0/+93
| | | | | | | | | | | | | | | | | | | | | | Fedora 22 includes gcc5 by default build leads to error: include/linux/compiler-gcc.h:114:30: fatal error: linux/compiler-gcc5.h: No such file or directory backport upstream patch: "Add linux/compiler-gcc5.h to fix builds with gcc5" id: 478b02f1a7043b673565075ea5016376f3293b23 Issue was reported at https://forum.openwrt.org/viewtopic.php?id=56853 & replicated in a VM created, flashed and tested ar71xx image successfully as test Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45703 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: remove static linking supportJo-Philipp Wich2015-02-061-3/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44285 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: Fix mkimage build on FreeBSD 10.1Jo-Philipp Wich2015-02-051-0/+14
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44280 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mkimage: remove check for miscompiled __weakFelix Fietkau2014-12-011-0/+16
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43458 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mkimage: fix build errors (#18445)Felix Fietkau2014-11-301-0/+52
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43441 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] mkimage: update to 2014.10Luka Perkov2014-11-296-26/+21
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43428 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] mkimage: update to 2014.07Luka Perkov2014-08-084-5/+5
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42082 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] mkimage: update to 2014.04Luka Perkov2014-05-218-46/+35
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40807 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mkimage: avoid a linux specific return codeFelix Fietkau2013-07-161-0/+11
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37368 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] mkimage: fix md5sum after r37361Luka Perkov2013-07-161-1/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37366 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] mkimage: update to 2013.07-rc1Luka Perkov2013-07-157-99/+13
| | | | | | | | also remove 100-dtc-binary.patch which was not accepted upstream Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37361 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mkimage: add back a fixed version of 040-include_order.patch to fix ↵Felix Fietkau2013-06-181-0/+14
| | | | | | | | build errors on some systems (#12232) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36967 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mkimage: unbreak non-linux build againFelix Fietkau2013-05-061-0/+35
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36556 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] mkimage: update to 2013.04Luka Perkov2013-05-056-24/+96
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36550 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mkimage: unbreak build on non-linux systemsFelix Fietkau2013-03-091-0/+31
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35909 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] mkimage: upgrade to version 2013.01.01Luka Perkov2013-03-085-19/+18
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35905 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: BSD compile fixesFelix Fietkau2013-03-071-0/+19
| | | | | | | | | | | | | | | | following patch allows to build images for Qemu ARM on OpenBSD 5.2 amd64 and FreeBSD 9.1 amd64. Mostly small pieces of code changes to get things right on the specific platform. Updated the README to describe better, which tools on the host are required. Added some kind of prepare scripts to install needed tools on BSD via packages. Signed-off-by: Waldemar Brodkorb <mail@waldemar-brodkorb.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35900 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mkimage: avoid picking up unrelated /usr/include headers with the same ↵Felix Fietkau2012-09-232-0/+21
| | | | | | name as internal header files (e.g. image.h), fixes #12232 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33519 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] convert remaining tools to $(HOST_STATIC_LINKING) (#12012)Jo-Philipp Wich2012-08-121-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33148 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] mkimage: link staticallyJo-Philipp Wich2012-08-101-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33096 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] mkimage: update to 2012.04.01Luka Perkov2012-06-092-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32143 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] mkimage: update to 2011.12Florian Fainelli2012-04-023-34/+12
| | | | | | Signed-off-by: Luka Perkov <openwrt@lukaperkov.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31171 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mkimage: allow to use different magic in uImagesGabor Juhos2011-12-051-0/+63
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29442 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] mkimage/getline.h - Mac OS X 10.7 (Lion) fixLars-Peter Clausen2011-08-051-0/+22
| | | | | | | | | | This mends mkimage for getline() in Mac OS X 10.7. Signed-off-by: Joe Roback <openwrt-devel at roback.cc> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27917 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools/mkimage]: use u-boot 2011.06 as sourceImre Kaloz2011-07-011-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27336 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mkimage: fix r24887Alexandros C. Couloumbis2011-01-031-46/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24890 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mkimage: fix compilation on FreeBSDAlexandros C. Couloumbis2011-01-032-0/+59
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24887 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mkimage: remove the broken portability patch, it is no longer ↵Felix Fietkau2010-12-301-46/+0
| | | | | | necessary with the new version git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24857 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools/mkimage]: use u-boot v2010.12Imre Kaloz2010-12-232-7/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24809 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ensure an empty BUILD_DIR variable is passed down u-boot's makefileMichael Büsch2010-11-031-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23832 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] mkimage: fix compilation on FreeBSDJo-Philipp Wich2010-07-221-1/+16
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22344 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mkimage: fix spurious build errors caused by its braindead build systemFelix Fietkau2010-03-081-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20065 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mkimage: fix compile errors on non-glibc systemsFelix Fietkau2010-01-101-0/+31
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19095 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools/mkimage]: upgrade and build from the u-boot sourceImre Kaloz2010-01-104-1122/+13
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19091 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build system refactoring in preparation for allowing packages to do ↵Felix Fietkau2009-02-221-7/+7
| | | | | | host-build steps git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14610 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mkimage: Include sys/types.h on Darwin/BSD.Felix Fietkau2007-12-051-1/+1
| | | | | | | Signed-off-by: Andy Boyett <agb-openwrt@padded-cell.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9658 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build system cleanup/restructuring as described in ↵Felix Fietkau2007-08-071-7/+5
| | | | | | http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8362 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add lzma compression format to mkimage (will be used on infineon amazon)Felix Fietkau2007-06-242-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7718 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix ar7 image generation with MacOSXFlorian Fainelli2007-06-121-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7592 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix mkimage compileImre Kaloz2007-05-231-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7307 3c298f89-4303-0410-b956-a3cf2f4a3e73
* upgrade mkimage the current git versionImre Kaloz2007-05-233-11/+21
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7306 3c298f89-4303-0410-b956-a3cf2f4a3e73
* host-build.mk used incorrectlyMike Baker2007-05-101-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7156 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix missing PKG_NAMEFelix Fietkau2006-12-061-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5703 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add portability fixes for toolchain/tools (full tools/toolchain build works ↵Felix Fietkau2006-09-271-2/+2
| | | | | | on osx now) git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4867 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move tools from toolchain/ to tools/Felix Fietkau2006-09-274-0/+1126
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4866 3c298f89-4303-0410-b956-a3cf2f4a3e73