125 Commits

Author SHA1 Message Date
MilhouseVH
2b95120495 buildsystem: fix /usr targets 2019-07-05 23:00:15 +01:00
MilhouseVH
bf06da5c6b buildsystem: don't dereference LINK_NAME when fixing up sym links 2019-07-05 23:00:15 +01:00
MilhouseVH
e76f0a39c0 buildsystem: unpack should recursively unpack, not build 2019-07-03 05:35:03 +01:00
MilhouseVH
113b2829ab buildsystem: build/unpack - simplify some logic 2019-06-22 21:03:48 +01:00
MilhouseVH
0ef9bd02e5 buildsystem: consistently use braces 2019-06-22 21:01:46 +01:00
MilhouseVH
b63c7cfe41 buildsystem: cleanup - PACKAGE_NAME is redundant 2019-06-22 20:54:06 +01:00
MilhouseVH
0eb36d786b buildsystem: add pre_configure() function that is not target specific 2019-06-13 22:12:21 +01:00
kszaq
e50834fd82 scripts/build: strip all executables in /usr
Some packages install outside /usr/*bin, e.g. /usr/lib/bluetooth
and executables remain unstripped. Try to strip everything
executable except .ko and .so which are handled in separate cases.
2019-06-13 22:12:20 +01:00
Jonas Karlman
60fc0b29ed u-boot: use PKG_STAMP to trigger rebuild 2019-04-01 20:58:13 +00:00
MilhouseVH
eff50203e1 scripts/build: clobber existing files 2019-03-09 22:02:33 +00:00
MilhouseVH
7c327b2d56 scripts/build: fix broken sym links due to isolated sysroot 2019-02-28 06:19:13 +00:00
MilhouseVH
83922eef4f scripts/build: add TODO 2019-02-22 20:12:20 +00:00
MilhouseVH
527ea323b8 scripts/build: a shared sysroot is not thread-safe 2019-02-22 20:11:23 +00:00
MilhouseVH
d71fbfaec7 scripts/build: cosmetic 2019-02-13 15:10:54 +00:00
MilhouseVH
9f1ea7d175 PKG_DEPENDS_UNPACK: solution for packages using source code of another 2019-02-08 17:17:43 +00:00
MilhouseVH
d0034ab95e scripts/build: use global lock as sed -i $SYSROOT_PREFIX/usr/lib/*.la is racy 2019-02-08 17:17:43 +00:00
MilhouseVH
0ebc6fef63 build system: add parallel build support; use new "image" package 2019-02-08 17:17:43 +00:00
MilhouseVH
fb7bfa02f9 config/path: get rid of MAKEINSTALL 2019-02-08 17:17:43 +00:00
MilhouseVH
0661263dd8 buildsystem: restore set -e fail-on-error behaviour 2019-01-24 19:17:39 +00:00
MilhouseVH
a71c01f53a scripts/build: stop sourcing package, reorg code 2018-12-18 03:43:28 +00:00
MilhouseVH
9959b29df9 scripts/build: use pkg_call 2018-11-29 01:09:20 +00:00
MilhouseVH
4b0a3215db scripts/build: fix invalid color 2018-11-21 18:58:29 +00:00
Ian Leonard
5963b74670 scripts/build: convert to build_msg
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-11-21 18:58:29 +00:00
Ian Leonard
acca8326ce scripts/build: general cleanup
Add copyright
Convert to config/functions/die()
Make use of bash default value mechanic
Combine some if tests
Get PKG_BUILD quoted
Replace `` with $()

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-11-04 05:40:46 +00:00
CvH
843051d0f7 spdx: scripts/ 2018-07-17 23:58:49 +02:00
MilhouseVH
7628290170 buildsystem: add a function to calculate stamps, switch from md5 to sha256 2018-04-02 10:09:11 +01:00
Sascha Kuehndel (InuSasha)
d38cadaf8c
meson: update to 0.45
- generate cross-file per package, needed since https://github.com/mesonbuild/meson/pull/1807 to use changed build-flags
2018-03-21 17:10:10 +01:00
Sascha Kuehndel (InuSasha)
8827a540aa
buildsystem: add BUILD_FLAG support
- replace strip_lto/strip_gold (only allowed to disable)
- add flag for PIC feature
- add flag to stop build parallel
- add support for hardening option (initial copy from debian 9)

All build parameters, are added in setup_toolchain.
`PKG_[FLAG]_[HOST/TARGET]_ENABLED` variable is introduced for checking the flag (yes/no) in the package.mk

Thanks to @MilhouseVH, for support and fixing
2018-03-07 18:35:01 +01:00
Christian Hewitt
15c3e9e90c
Merge pull request #2518 from MilhouseVH/le90_save_build_config
buildsystem: save/load build config, simplify clean and build --all
2018-02-25 14:13:37 +04:00
Radostan Riedel
d450819323
Merge pull request #2506 from HiassofT/le9-kernel-toolchain
Compile kernel on 64/32 split archs without redefining TARGET_PREFIX
2018-02-23 20:12:59 +01:00
MilhouseVH
ccd4458425 scripts/build: add --all support using build config 2018-02-23 10:19:59 +00:00
MilhouseVH
1b76e2deff scripts/build: use BUILD_WITH_DEBUG variable, add logging, stamp support 2018-02-19 07:08:48 +00:00
Matthias Reichl
d41e3ac239 scripts/build: don't redefine TARGET_PREFIX on 64/32 builds
Signed-off-by: Matthias Reichl <hias@horus.com>
2018-02-17 17:54:35 +01:00
Adam Green
a15ea8777b
scripts/build: set strip binary for arm/arm64 2018-01-05 16:15:59 +00:00
Christian Hewitt
faecb9f914
Merge pull request #2367 from CvH/9.0-meson-cross
scripts/build: fix meson cross-compiling
2018-01-01 19:11:50 +04:00
Jonas Karlman
27a4b06c4b scripts/build: fix meson cross-compiling 2017-12-30 20:58:05 +01:00
MilhouseVH
bf71ef864b buildsystem: add configure_package function to finalise package initialisation 2017-12-20 06:25:03 +00:00
MilhouseVH
e0b833c782
buildsystem: remove grep from PKG_ARCH check
More efficient, slightly more functional.

Can be a space delimited list of architectures.

Architectures to be excluded can be specified with !ARCH.

Allows "any !arm" to be interpreted as "any arch, but not arm".

Blank/undefined is equivalent to "any".
2017-11-22 00:49:51 +01:00
Sascha Kuehndel (InuSasha)
430f6e33a0
buildsystem: set PKG_TOOLCHAIN for multiple packages 2017-11-22 00:49:45 +01:00
Sascha Kuehndel (InuSasha)
68ea042161
buildsystem: reduce cascaded if-blocks (stamp and virtual) 2017-11-22 00:45:47 +01:00
Sascha Kuehndel (InuSasha)
3cd7be6023
buildsystem: rework build script 2017-11-22 00:45:41 +01:00
Lukas Rusak
5da14cfce5
u-boot: allow using UBOOT_SYSTEM 2017-11-11 10:32:53 -08:00
Jonas Karlman
9aae246d3c
Merge pull request #2100 from Raybuntu/linarobump
New package gcc-linaro-aarch64-linux-gnu
2017-10-30 21:40:06 +01:00
Lukas Rusak
ce744dbda5
scripts/build: add meson to buildsystem 2017-10-20 14:18:59 -07:00
Radostan Riedel
2c3ae36680 New package gcc-linaro-aarch64-linux-gnu
Odroid_C2: move gcc-linaro-aarch64-elf to projects
Odroid_C2: move gcc-linaro-arm-eabi to projects
2017-10-16 10:04:11 +02:00
Lukas Rusak
1d7f6e733e Merge pull request #2080 from MilhouseVH/le90_more_bs_optimisations
buildsystem: more optimisations
2017-10-14 14:34:56 -07:00
Lukas Rusak
e119599518
scripts/build: use ninja for cmake builds 2017-10-13 15:01:50 -07:00
Radostan Riedel
de9d1af69f AArch64 projects: add 32-bit userspace support 2017-10-12 10:07:43 +02:00
MilhouseVH
60f117a793 buildsystem: eliminate unecessary awk usage 2017-10-09 13:11:43 +01:00
MilhouseVH
976e9de27d buildsystem: enable custom colours (or none at all) 2017-08-11 06:42:42 +01:00