Commit Graph

200 Commits (a0993dda5f4c7f69748d527e255522c0e5afeb81)

Author SHA1 Message Date
Felix Fietkau a0993dda5f tools: make cmake depend on libressl, one of its utilities uses it
Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
Felix Fietkau f6e6341d89 tools: build libressl on all systems
Useful for having a more consistent build environment and finding API
issues faster

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
Felix Fietkau 3f55e5aeb5 toolchain: remove ppl/cloog, disable graphite for gcc 4.8
graphite is disabled by default and it's not worth carrying ppl and
cloog for supporting this feature on the old gcc 4.8, which is only used
for ARC

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
Felix Fietkau 180e93ba8b build: add CHECK_ALL variable to allow make download/check to include not selected packages
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 7a315b0b5d build: implement make check and make package/X/check
This is intended to be used for a wide array of package sanity checks.

The first check that is implemented is for the hash of downloaded files.
It checks:
  - Missing hash
  - Use of SHA256 instead of MD5
  - dl/<file> hash not matching hash in makefile
  - deprecated MD5SUM variable

The deprecated MD5SUM variable check is skipped for feeds/ until OpenWrt
is updated as well

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau b306f8254f tools: add missing dependency for dosfstools
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Jo-Philipp Wich 66a62b8966 tools: do not apply ccache dependency to xz
Since XZ is needed to bootstrap building ccache we must not depend on it,
so remove the dependency on ccache to avoid circular dependencies.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago
Jo-Philipp Wich 575d386590 tools: make all tools depend on xz
Make all tools except tar (which is required to bootstrap xz-utils) and XZ
itself depend on XZ, in order to be able to handle .tar.xz downloads.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago
Felix Fietkau cf76b90a5f tools: make mtools/dosfstools unconditional
The list of targets that need them are getting longer

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 88b16da8c4 tools: build GNU date from coreutils on non-Linux systems
Required for reproducible builds in the kernel build system

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Alexey Brodkin c1f4040f70 tools: Select dosfstools for archs38
In commit df4f41261c ("archs38: Introduce images for SD-cards")
we introduced building of SD-card images for ARC HS38-based boards.

While building images mkdosfs utility is used.
On machines I used for testing mentioned change this utility was
already installed so I didn't figure-out that requirement.

But thanks to Lede's autobuilder this missing bit was highlighted,
see failed build job here:
http://phase1.builds.lede-project.org/builders/archs38%2Fsd/builds/0/steps/images/logs/stdio

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: John Crispin <john@phrozen.org>
Cc: Jo-Philipp Wich <jo@mein.io>
8 years ago
Felix Fietkau 07577c5ebe tools: bring back genext2fs for apm821xx
This reverts commit 8c68c104ea.
It is used for apm821xx, which needs ext2 (not ext4) images for some
devices.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 01fc738b46 tools: build b43 tools if the SDK was enabled
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
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>
8 years ago
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>
8 years ago
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]
8 years ago
Felix Fietkau 1e568fd4bc tools: compile flock before everything else
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48413
8 years ago
Felix Fietkau a960fcef29 mac80211: move b43legacy firmware to a separate package
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48184
8 years ago
Felix Fietkau 3d41dbae65 tools: add isl (used for graphite on GCC 5)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47464
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
Felix Fietkau ae706ea6b6 tools: add expat library (to be used by gdb)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46297
9 years ago
Jo-Philipp Wich 0ee9504911 all: replace genext2fs with make_ext4fs
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 45517
9 years ago
Felix Fietkau 62231a8404 tools: build ccache when building the sdk (fixes #13949)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45266
9 years ago
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
9 years ago
Zoltan Herpai c60d0f7d40 tools: build mtools and dosfstools for mxs
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 45055
9 years ago
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
9 years ago
Felix Fietkau 7502d65294 tools: remove leftover dependency line
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44870
9 years ago
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
9 years ago
Felix Fietkau 808c460250 toolchain: remove leftovers from old llvm-gcc experiments
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44783
9 years ago
Jo-Philipp Wich 572b943080 tools: add patchelf host build
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44376
9 years ago
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
9 years ago
Jo-Philipp Wich 6dec519be7 tools: add dummy scripts for help2man and makeinfo
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 43957
9 years ago
Jo-Philipp Wich 1070fec51f tools: change automake depends to libtool depends
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 43956
9 years ago
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
9 years ago
Felix Fietkau 1403ce960c tools: build libtool after autoconf, not before (fixes #18659)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43793
10 years ago
Felix Fietkau 2311cfeed4 gengetopt: fix parallel build issues (#18442)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43440
10 years ago
Imre Kaloz 5ec23daa26 add gengetopt
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43437
10 years ago
Felix Fietkau 4aa8c512b0 findutils: add dependency on bison
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43064
10 years ago
Felix Fietkau d225f614bd tools: revert faulty dependency on package stuff
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42996
10 years ago
John Crispin 6e1637f8fa firmware-utils: restore compilation of mkhilinkfw.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 42989
10 years ago
Felix Fietkau 03586d23a3 tools: add missing ldconfig make dependency on the staging area
Signed-off-by: John Szakmeister <john@szakmeister.net>

SVN-Revision: 42576
10 years ago
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
10 years ago
Felix Fietkau 76ca87a060 tools: fix mtools/dosfstools related build system warnings
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42442
10 years ago
Zoltan Herpai d932a2bd62 tools: build dosfstools and mtools for sunxi
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42435
10 years ago
Felix Fietkau 607f00d273 tools/libtool: add missing dependency on m4
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42322
10 years ago
Felix Fietkau b3d10005c1 tools/bc: add missing dependency on bison
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42309
10 years ago
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
10 years ago
Felix Fietkau 8087fa9e04 flex: fix build error due to undefined library symbols
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39888
10 years ago