Felix Fietkau
131db366a3
build: remove separate /install step for host builds
...
Reduces the number of recursive make invocations
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
Daniel Golle
c08651226f
toolchain: include yasm in x86 toolchain
...
Some libraries require yasm to build with in-line assembly for x86
targets.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
8 years ago
Felix Fietkau
74c9b9cfeb
toolchain: skip gcc/minimal for musl
...
No extra libc header build step is done, so no extra toolchain is needed
for preparing it.
This saves a significant amount of build time and disk space
Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 years ago
Steven Barth
2738526a16
toolchain: add fortify-headers, enable FORTIFY_SOURCE by default
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46117
10 years ago
Felix Fietkau
808c460250
toolchain: remove leftovers from old llvm-gcc experiments
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44783
10 years ago
Felix Fietkau
35a9cb833c
build: ensure tools are built before building the toolchain
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43693
10 years ago
Nicolas Thill
6c511ed529
toolchain: update build steps doc
...
SVN-Revision: 39631
11 years ago
Florian Fainelli
e032922266
toolchain: allow choosing the MIPS64 user-land ABI
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36205
12 years ago
Luka Perkov
c0de55b32c
toolchain: stop generating broken symlink in TOOLCHAIN_DIR/lib
...
It turns out that the symlink may exists already by the time the toolchain
Makefile gets an opportunity to run. While we asked to replace the target, ln
doesn't do so until after dereferencing the existing symlink. This results in
an unintended symlink that refers to itself. Instead, create the link without
dereferencing any symlinks by using the -n option.
Signed-off-by: John Szakmeister <john@szakmeister.net>
SVN-Revision: 36140
12 years ago
Felix Fietkau
5d19a38d80
toolchain: sync eglibc headers/build split with uclibc changes
...
SVN-Revision: 32584
13 years ago
Felix Fietkau
f1a1d0a262
toolchain: fix libc headers dependency on kernel headers + minimal gcc
...
SVN-Revision: 32582
13 years ago
Felix Fietkau
c3caa1b768
uClibc: split the package into the main directory and the headers/ and utils/ subdirectories to clean up build order and fix quilt support
...
SVN-Revision: 32557
13 years ago
Mirko Vogt
334fd4199b
purge support for glibc - use eglibc instead!
...
for reference: http://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg13425.html
SVN-Revision: 31503
13 years ago
Jo-Philipp Wich
5b7668ca44
use ext-toolchain.sh to integrate external toolchains Use ext-toolchain.sh to wrap external toolchain commands, abort build if certain features such as CONFIG_SOFT_FLOAT or CONFIG_IPV6 are enabled but not supported by the toolchain.
...
SVN-Revision: 29766
13 years ago
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
13 years ago
Felix Fietkau
d637ae2fc8
make the build system a bit more silent without V=99
...
SVN-Revision: 26460
14 years ago
Jo-Philipp Wich
26616b18a4
add explicit dependencies between gcc prepare stages, fixes source download race with make -j ( #8596 )
...
SVN-Revision: 24969
14 years ago
Felix Fietkau
00d1e599d7
add a command for printing a cleaned up make target database - will be used to analyze package dependencies at some point
...
SVN-Revision: 22871
15 years ago
Felix Fietkau
5149ed151d
gcc: split up the build process into three distinct stages (minimal, initial, final), to clean up the dependency handling nastiness and to improve support for rebuilding parts of the toolchain
...
SVN-Revision: 22319
15 years ago
Felix Fietkau
215ccb66e6
gcc: add llvm-gcc and llvm from trunk (does not successfully compile a target yet, but gets close)
...
SVN-Revision: 18019
15 years ago
Nicolas Thill
c9bc7c504c
add external toolchain support, enhance native toolchain support (special thanks to Luigi Mantellini for his help... and patience ;)
...
SVN-Revision: 17682
15 years ago
Florian Fainelli
3eedb2a791
add the insight gdb frontend ( #4701 )
...
SVN-Revision: 17019
16 years ago
Felix Fietkau
7dc435ea29
move the toolchain_install stampfile to the right place to fix spurious missing toolchain errors after cleaning stuff
...
SVN-Revision: 16776
16 years ago
Nicolas Thill
a3edea1b91
add support for alternative C libraries (currently only glibc/eglibc) other (related) changes: - kernel headers are now installed using "make headers_install" on 2.6 - target names now contain an openwrt "vendor" tag (e.g. mips-openwrt-linux-gnu) - build directory names now contain gcc/libc name/version - default cpu for x86 is now i486 (required to build glibc/eglibc)
...
SVN-Revision: 13931
16 years ago
Felix Fietkau
8b41afa584
add some sanity checking
...
SVN-Revision: 11473
17 years ago
Felix Fietkau
a9d683ca91
major target cleanup. it is now possible to have subtargets that can override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets
...
SVN-Revision: 8694
18 years ago
Felix Fietkau
c6bc77ea36
build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
...
SVN-Revision: 8362
18 years ago
Felix Fietkau
a37c85d5fe
no need to call compile,install on the kernel-headers dir - this gets rid of another unnecessary autorebuild check
...
SVN-Revision: 8247
18 years ago
Felix Fietkau
d7f2cb1642
next round of cleanup, convert target/ - make -j works now ;)
...
SVN-Revision: 8242
18 years ago
Felix Fietkau
49e628f765
next round of build system cleanup - convert package/ to new structure
...
SVN-Revision: 8236
18 years ago
Felix Fietkau
7e21008ee2
remove leftover stuff
...
SVN-Revision: 8234
18 years ago
Felix Fietkau
f1ac6cf7ec
fix compile errors with make 3.80
...
SVN-Revision: 8230
18 years ago
Felix Fietkau
d6a0242404
use $(curdir) again
...
SVN-Revision: 8208
18 years ago
Felix Fietkau
e143bed1f1
build system fixes, more cleanup
...
SVN-Revision: 8207
18 years ago
Felix Fietkau
333244441e
add update target to toolchain/
...
SVN-Revision: 7754
18 years ago
Felix Fietkau
f6a92d6ffe
enable the refresh target in toolchain/
...
SVN-Revision: 7751
18 years ago
Felix Fietkau
1099e2d679
the default_subtargets template was a bad idea, since different makefiles require different types of dependencies for subtargets. nuke it...
...
SVN-Revision: 7003
18 years ago
Felix Fietkau
fd0969ba61
remove remaining unnecessary dependency
...
SVN-Revision: 6423
18 years ago
Felix Fietkau
f1a91c2f71
move ccache to tools/ and fix potential dependency issue
...
SVN-Revision: 6413
18 years ago
Felix Fietkau
ced1277147
clean up stampfile mess for tools/ and toolchain/
...
SVN-Revision: 6357
18 years ago
Felix Fietkau
f74dd32cba
fix ccache build order
...
SVN-Revision: 5783
18 years ago
Florian Fainelli
b492e69bd2
Add ccache if not installed/installable on the host-system
...
SVN-Revision: 5758
18 years ago
Nicolas Thill
8ec5b1d614
oops, forgot to remove references to libnotimpl
...
SVN-Revision: 5356
18 years ago