Commit Graph

237 Commits

Author SHA1 Message Date
Sergey Sergeev
17ee6bb8f3 tools: add kernel2minor utility for Mikrotik devices
This patch adds support of Mikrotik yaffs2 filesystem image for kernel file
and tools/kernel2minor package.
We neede this to boot kernel through RouterBoot on new Mikrotik NOR flash devices.

Signed-off-by: Sergey Sergeev <adron@yapic.net>
2016-07-05 22:59:14 +02:00
Alexander Couzens
719fd09d91 tools: build msdostools for omap
omap requires msdos partition to boot from sdcard.
Prepare for upcoming full sdcard image generation.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2016-06-14 22:57:30 -07:00
Waldemar Brodkorb
f7fb6e49f2 build: allow to build LEDE on latest MacOS X
Latest Xcode doesn't include openssl anymore. To compile
mkimage from u-boot source you need SSL headers on your host.
This patch provides libressl host package for any Darwin
compilation. Unfortunately openssl from MacPorts can not be
used, as the installed headers in /opt/local are breaking
GDB compilation. Tested with a RB532 image build and resulting
kernel booted on a device via TFTP.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name> [fixes, dependencies]
2016-06-07 08:58:41 +02:00
Felix Fietkau
1e568fd4bc tools: compile flock before everything else
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48413
2016-01-20 21:31:34 +00:00
Felix Fietkau
a960fcef29 mac80211: move b43legacy firmware to a separate package
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48184
2016-01-10 16:37:01 +00:00
Felix Fietkau
3d41dbae65 tools: add isl (used for graphite on GCC 5)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47464
2015-11-13 11:35:37 +00:00
Zoltan Herpai
ac65377bf7 tools: add sdimage for mxs
This tool is used for SD card generation on Freescale i.MX23/i.MX28
platforms. These CPU's ROM need a tiny header of front of a boot stream.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 47020
2015-09-21 21:08:08 +00:00
Felix Fietkau
caddbf5431 tools: add tar host build, required for --sort=name which was only added in the latest version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46876
2015-09-11 18:38:02 +00:00
Felix Fietkau
9402cb747e tools: drop circular dependency between patch and ccache, build patch without ccache (fixes #20132)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46434
2015-07-20 10:50:46 +00:00
Felix Fietkau
ae706ea6b6 tools: add expat library (to be used by gdb)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46297
2015-07-10 19:42:05 +00:00
Jo-Philipp Wich
0ee9504911 all: replace genext2fs with make_ext4fs
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 45517
2015-04-20 13:57:43 +00:00
Felix Fietkau
62231a8404 tools: build ccache when building the sdk (fixes #13949)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45266
2015-04-03 19:42:38 +00:00
Felix Fietkau
55c5d10ca9 tools: replace ipkg-utils with a reduced ipkg-build variant in scripts/
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45129
2015-03-29 07:35:26 +00:00
Zoltan Herpai
c60d0f7d40 tools: build mtools and dosfstools for mxs
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 45055
2015-03-27 02:21:20 +00:00
Felix Fietkau
ccaaab1c04 tools: add back and update mm-macros, it is required for libsigc++
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44905
2015-03-20 11:34:47 +00:00
Felix Fietkau
7502d65294 tools: remove leftover dependency line
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44870
2015-03-17 10:11:04 +00:00
Felix Fietkau
e9dd838d86 tools: remove a bunch of unused automake macros
The feeds that use them have been unmaintained for a long time, and
something similar can easily be added as a regular host build package.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44869
2015-03-17 10:11:00 +00:00
Felix Fietkau
808c460250 toolchain: remove leftovers from old llvm-gcc experiments
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44783
2015-03-15 12:03:01 +00:00
Jo-Philipp Wich
572b943080 tools: add patchelf host build
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44376
2015-02-10 15:48:32 +00:00
Jo-Philipp Wich
a546f511f2 tools: remove PrepareCommand macros
They're part of prereq-build.mk now.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44274
2015-02-05 16:57:35 +00:00
Jo-Philipp Wich
6dec519be7 tools: add dummy scripts for help2man and makeinfo
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 43957
2015-01-13 07:48:52 +00:00
Jo-Philipp Wich
1070fec51f tools: change automake depends to libtool depends
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 43956
2015-01-13 07:48:37 +00:00
Jo-Philipp Wich
eca61e8c44 tools: make libtool depend on automake, not vice versa
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 43955
2015-01-13 07:48:24 +00:00
Felix Fietkau
1403ce960c tools: build libtool after autoconf, not before (fixes #18659)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43793
2014-12-28 21:55:21 +00:00
Felix Fietkau
2311cfeed4 gengetopt: fix parallel build issues (#18442)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43440
2014-11-30 20:12:07 +00:00
Imre Kaloz
5ec23daa26 add gengetopt
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43437
2014-11-30 09:51:48 +00:00
Felix Fietkau
4aa8c512b0 findutils: add dependency on bison
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43064
2014-10-26 11:26:54 +00:00
Felix Fietkau
d225f614bd tools: revert faulty dependency on package stuff
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42996
2014-10-20 09:18:02 +00:00
John Crispin
6e1637f8fa firmware-utils: restore compilation of mkhilinkfw.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 42989
2014-10-20 06:29:38 +00:00
Felix Fietkau
03586d23a3 tools: add missing ldconfig make dependency on the staging area
Signed-off-by: John Szakmeister <john@szakmeister.net>

SVN-Revision: 42576
2014-09-16 16:46:20 +00:00
Felix Fietkau
e2864e9990 tools: install a fake empty ldconfig script to prevent the system ldconfig from messing around with the toolchain (fixes disappearing musl symlink issue)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42480
2014-09-11 23:13:29 +00:00
Felix Fietkau
76ca87a060 tools: fix mtools/dosfstools related build system warnings
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42442
2014-09-08 16:09:57 +00:00
Zoltan Herpai
d932a2bd62 tools: build dosfstools and mtools for sunxi
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42435
2014-09-07 23:38:03 +00:00
Felix Fietkau
607f00d273 tools/libtool: add missing dependency on m4
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42322
2014-08-29 11:37:28 +00:00
Felix Fietkau
b3d10005c1 tools/bc: add missing dependency on bison
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42309
2014-08-27 09:20:28 +00:00
John Crispin
76133009c9 sparse: add as a new package selectable from the config
This change does multiple things, all related to enable sparse usage as
a static analysis tool selectable from the OpenWrt configuration:
*add a KERNEL_SPARSE option in the config to add sparse to the kernel
 build (through the C=1 option usage)
*add sparse as a new host tools. It will get selected automatically when
 the above option will be enabled

Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>

SVN-Revision: 40490
2014-04-12 21:21:49 +00:00
Felix Fietkau
8087fa9e04 flex: fix build error due to undefined library symbols
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39888
2014-03-12 10:47:31 +00:00
Felix Fietkau
b544fd922a tools: fix stampfile dependency handling when the list of build dirs changes (#15186)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39845
2014-03-08 17:15:45 +00:00
Zoltan Herpai
07043a853a imx23: rename imx23 to mxs for upcoming imx23/28 support
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 38394
2013-10-14 19:01:23 +00:00
Luka Perkov
a6f15f7321 patch: other tools might depend on this one
Signed-off-by: Markus Stenberg <markus.stenberg@iki.fi>

SVN-Revision: 38236
2013-09-27 12:49:34 +00:00
Luka Perkov
dc3d2f715b quilt: add findutils as dependency
Signed-off-by: Markus Stenberg <markus.stenberg@iki.fi>

SVN-Revision: 38235
2013-09-27 12:32:18 +00:00
Luka Perkov
473b747b1a sdcc: drop tool, it is not used since r31227
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38167
2013-09-24 16:21:30 +00:00
Felix Fietkau
80dd55228e tools: make padjffs2 depend on findutils
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37599
2013-07-29 09:38:24 +00:00
Felix Fietkau
8cfd4d8350 tools: remove stale reference to the find PrepareCommand Target
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37215
2013-07-09 13:36:36 +00:00
Felix Fietkau
44b17b9ef2 tools: add a package for findutils, Linux 3.10 need GNU xargs
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37212
2013-07-09 12:52:08 +00:00
Zoltan Herpai
f18bb17fad add bc as required by kernels 3.9+
- bc is required by the kernel to compute timeconsts files
 - fixes #13767.

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 37197
2013-07-08 08:45:03 +00:00
Zoltan Herpai
82ae24602a tools: add tools for i.MX23 boards
SVN-Revision: 37035
2013-06-26 10:15:29 +00:00
Felix Fietkau
1f77bfff96 build: BSD compile fixes
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>

SVN-Revision: 35900
2013-03-07 17:32:29 +00:00
Luka Perkov
dbe806ec61 mklibs: upgrade to 0.1.35
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 35818
2013-02-26 21:49:11 +00:00
Felix Fietkau
f403e2dcca tools: add a symlink for gnu awk to fix kernel build errors on some platforms
SVN-Revision: 34736
2012-12-17 15:11:34 +00:00
John Crispin
1a7334a874 rename patch-cmdline and add code for patching DTB files into kernel images
SVN-Revision: 34058
2012-11-02 20:06:45 +00:00
Hauke Mehrtens
8086b7a750 mac80211: brcmsmac: use firmware extracted from proprietary driver
The firmware from linux-firmware does not support the rev 17 core found
in a bcm4716. The firmware extracted from the proprietary driver
supports this core. Use this firmware instead by default.

SVN-Revision: 33669
2012-10-08 20:18:27 +00:00
Hauke Mehrtens
d14c6b29eb tools: add b43-tools
Move the b43-tools build from the mac80211 Makefile into an own package in tools and use the newest version of b43-tools.

SVN-Revision: 33668
2012-10-08 20:15:42 +00:00
Felix Fietkau
3f88c1b95f tools: flex depends on m4
SVN-Revision: 33520
2012-09-23 09:03:53 +00:00
John Crispin
25482a60b3 add mktools and dosfstools which are needed for the raspberry pi
Signed-off-by: Ian Ridge <ianridge [at] gmail.com>

SVN-Revision: 32824
2012-07-24 20:39:00 +00:00
Felix Fietkau
ba71c3ac00 tools: prefer gmd5sum if present
SVN-Revision: 32761
2012-07-17 11:28:30 +00:00
Felix Fietkau
ad19192d3a tools: sdcc depends on bison
SVN-Revision: 32521
2012-06-29 00:32:43 +00:00
Felix Fietkau
d8bea7da9a tools: add a python symlink that prefers python2
SVN-Revision: 32164
2012-06-10 16:32:15 +00:00
Felix Fietkau
f479efbdf4 tools: add scons (patch by Dave Taht)
This makes it more possible to build scons based applications
for openwrt.

SVN-Revision: 31618
2012-05-05 17:37:34 +00:00
Gabor Juhos
1570caeb75 tools: add xz dependency to automake
SVN-Revision: 31413
2012-04-21 16:09:04 +00:00
Jo-Philipp Wich
12df76d065 tools: add sdcc subdir to Makefile
SVN-Revision: 31228
2012-04-09 15:24:47 +00:00
Felix Fietkau
d5234a74b6 tools: fix stat symlink if destination already exists
SVN-Revision: 31072
2012-03-26 10:07:50 +00:00
Felix Fietkau
c49f66675e tools: fix GNU stat detection to prevent it from picking up other things named "gstat" (see #4571)
SVN-Revision: 31059
2012-03-23 14:10:28 +00:00
Felix Fietkau
ffa4a3c4f5 tools: add dependency on the seq symlink
SVN-Revision: 30861
2012-03-10 12:59:17 +00:00
Gabor Juhos
c503f44f9c tools/mtd-utils: add XZ compression support to mkfs.ubifs
SVN-Revision: 30795
2012-03-02 23:09:01 +00:00
Felix Fietkau
bb5bccef7c tools: symlink seq to the host staging dir (gseq on mac os x)
SVN-Revision: 30755
2012-02-29 18:20:34 +00:00
John Crispin
ccb6b0a063 tools: clean up Makefiles / make ccache work
SVN-Revision: 29754
2012-01-15 11:43:13 +00:00
Felix Fietkau
830282cc89 build: add a lib64 symlink in staging_dir/host and staging_dir/toolchain* for systems that prefer this as library path (e.g. current SuSE), fixes mpfr and gcc build
SVN-Revision: 29352
2011-11-28 19:19:33 +00:00
Imre Kaloz
bda02cc60f add upx, but make it build only for ppc now
SVN-Revision: 28428
2011-10-12 10:42:38 +00:00
Felix Fietkau
3a983b98c9 tools: always build mpc, now that older gcc versions have been eliminated, fixes #9642
SVN-Revision: 27363
2011-07-02 10:49:15 +00:00
Gabor Juhos
7ce98c6001 tools: create a new tool for more efficient jffs2 padding
SVN-Revision: 27355
2011-07-02 08:37:56 +00:00
Felix Fietkau
fc0863785a add a portable version of sys/sysmacros.h and and let the kernel use the host include dir, fixes x86 builds on non-gnu systems
SVN-Revision: 27346
2011-07-02 06:49:56 +00:00
Felix Fietkau
ce6b3da880 move mkelfimage from tools/ to package/ as it needs a proper i386 toolchain - make the package hidden so that it is automatically built without having to be selected
SVN-Revision: 27345
2011-07-02 06:49:36 +00:00
John Crispin
9abcc01305 * adds mkelfimage
SVN-Revision: 26918
2011-05-17 10:33:46 +00:00
Felix Fietkau
d637ae2fc8 make the build system a bit more silent without V=99
SVN-Revision: 26460
2011-04-04 00:54:37 +00:00
Felix Fietkau
e6aa1cab00 tools/squashfs4: update to version 4.2 (adds support for xz compression)
Based on a patch by Jonas Gorski

SVN-Revision: 26422
2011-04-03 01:02:00 +00:00
Jo-Philipp Wich
b5a0fd2961 package xfce-macros, required for autoreconf in xfce4 packages
SVN-Revision: 25974
2011-03-09 14:44:23 +00:00
Felix Fietkau
083e9fddff tools/mpc: add dependency on mpfr
SVN-Revision: 25279
2011-02-01 16:21:46 +00:00
Felix Fietkau
0756895047 add tools/cmake
SVN-Revision: 25264
2011-01-31 20:15:57 +00:00
Imre Kaloz
50be0201f1 cleanup toolchain version handling
SVN-Revision: 25148
2011-01-27 13:55:00 +00:00
Jo-Philipp Wich
c3dfcb25c0 remove bogus qemu dependency
SVN-Revision: 25032
2011-01-17 05:58:40 +00:00
Hauke Mehrtens
07c8da7253 tools: add some missing dependencies
SVN-Revision: 24865
2011-01-01 15:18:57 +00:00
Jo-Philipp Wich
214d1e7aeb package mm-common, this provides missing m4 macros for glibmm, gtkmm, cairomm and other Gnome C++ bindings
SVN-Revision: 24754
2010-12-22 00:02:36 +00:00
Jo-Philipp Wich
e3269cc34e introduce missing-macros meta package, this will supply needed m4 macros which are used but not shipped by various packages in feeds
SVN-Revision: 24753
2010-12-21 23:50:41 +00:00
Hauke Mehrtens
e8892241f6 tools: fix dependencies
SVN-Revision: 24693
2010-12-19 00:05:17 +00:00
Jo-Philipp Wich
5884b43b51 the mpfr dependencies accidentally got broken up, fix it
SVN-Revision: 24684
2010-12-18 19:59:04 +00:00
Hauke Mehrtens
95d15bfdb8 tools: add missing dependencies
SVN-Revision: 24682
2010-12-18 19:46:39 +00:00
Jo-Philipp Wich
51538948fe make libtool a tool build and let autoconf depend on it
SVN-Revision: 24673
2010-12-18 18:07:53 +00:00
Jo-Philipp Wich
c0b0acee08 build flex on the host, some pakcages need it in the newest version
SVN-Revision: 24631
2010-12-17 02:41:16 +00:00
Jo-Philipp Wich
4cdaea52c4 reorder dependencies
SVN-Revision: 24556
2010-12-13 21:02:31 +00:00
Daniel Dickinson
2fb0b04bdd Makefile: Put lzma before squashfs so compile of squashfs4 succeeds (depends on lzma)
SVN-Revision: 24513
2010-12-12 05:50:47 +00:00
Felix Fietkau
82ac7bb00a add a host package for xz
SVN-Revision: 24481
2010-12-11 13:20:19 +00:00
Jo-Philipp Wich
e006253f11 remove obsolete stamp dep after r24474
SVN-Revision: 24475
2010-12-11 03:18:31 +00:00
Jo-Philipp Wich
bf9e9b6a91 rework aclocal handling, packages have issues writing through the symlink so keep the host aclocal as include path for now
SVN-Revision: 24474
2010-12-11 03:15:10 +00:00
Jo-Philipp Wich
c59cc1b75d fix xorg-macros dependency
SVN-Revision: 24453
2010-12-10 20:25:52 +00:00
Jo-Philipp Wich
8e4f381a66 turn util-macros into tools/xorg-macros host build, provides global xorg m4 macros
SVN-Revision: 24452
2010-12-10 20:23:48 +00:00
Felix Fietkau
48dcb640d8 make $(STAGING_DIR)/host/share/aclocal a symlink to $(STAGING_DIR_HOST)/share/aclocal
SVN-Revision: 24422
2010-12-10 15:20:44 +00:00
Jo-Philipp Wich
7da7badd3e revert r24407, its already packaged in the xorg feed
SVN-Revision: 24409
2010-12-10 10:44:58 +00:00
Jo-Philipp Wich
96dff60461 package xorg-macros
SVN-Revision: 24407
2010-12-10 10:01:45 +00:00
Imre Kaloz
5ea6194ab0 remove 2.6.25 support
SVN-Revision: 24089
2010-11-22 13:43:32 +00:00