Commit Graph

199 Commits

Author SHA1 Message Date
Sascha Kuehndel (InuSasha)
b7b1a67723 place options at a more consistent place 2018-05-07 21:55:07 +02:00
Sascha Kuehndel (InuSasha)
9c03f42b43 buildsystem: use no-lto, when lto is disabled
else gcc/binultis can enable automaticly
2018-05-07 19:34:37 +02:00
CvH
20f9867e03 Merge pull request #2630 from MilhouseVH/le90_buildsystem_cleanups
buildsystem: cleanups, use sha256sum for stamp function
2018-04-02 12:03:24 +02:00
MilhouseVH
eefa6ebee4 buildsystem: use single = for consistency 2018-04-02 10:09:11 +01:00
MilhouseVH
7628290170 buildsystem: add a function to calculate stamps, switch from md5 to sha256 2018-04-02 10:09:11 +01:00
MilhouseVH
994d120bab config/functions: use Here doc for create_meson_conf 2018-03-27 22:51:39 +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)
8aef8f3371 build: remove unnessary exports 2018-03-08 10:16:13 +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
Radostan Riedel
c555d2facb Fix wrong Strip with 64/32 in linux driver addons 2018-03-05 13:28:41 +01:00
MilhouseVH
76e402cfed config/functions: fix save_build_config when build directory doesn't exist 2018-02-25 11:34:42 +00:00
MilhouseVH
1a6d8a8f06 buildsystem: save/load build config 2018-02-23 10:19:52 +00:00
MilhouseVH
68450cd45f config/function & config/path: Don't source entire package just to determine PKG_DIR 2018-02-19 07:08:48 +00:00
MilhouseVH
c2259b779d config/functions: use BUILD_WITH_DEBUG variable, add sanity check 2018-02-19 07:08:48 +00:00
MilhouseVH
54dd0475de config/functions: add build_with_debug() helper function (and support functions) 2018-02-19 07:08:48 +00:00
MilhouseVH
5eea6a0cc4 functions: add helper to locate linux config 2018-02-08 04:02:29 +00:00
MilhouseVH
ed0b6da9b1 config/functions: add helper func to locate file/dir in standard hierarchy 2018-02-01 05:21:36 +00:00
Adam Green
22498e05ec config/functions: cache device folder packages first
this is needed for devices that require specific packages for
example u-boot, we can keep changes within the device folder
rather than adding multiple definitions to the project package
2018-01-05 03:39:25 +00:00
MilhouseVH
347374d70f config/functions: get_kernel_overlay_dir() returns a relative path, not absolute 2017-12-28 06:23:12 +00:00
MilhouseVH
64156ea8c8 package cache: initialise with a function 2017-12-21 18:20:02 +00:00
MilhouseVH
4e77097d23 buildsystem: set PKG_NAME and default PKG_*DESC only when sourcing a package 2017-12-20 06:24:59 +00:00
MilhouseVH
85a97582de buildsystem: get_module_dir() is expensive, optimize 2017-12-17 19:12:59 +00:00
MilhouseVH
8af15ed22a config/show_config: move to separate file 2017-12-17 19:12:59 +00:00
MilhouseVH
52f179d7da config/functions: cosmetic typos 2017-12-17 19:12:59 +00:00
cvh
d9ae7fa438 buildsystem: add DRIVER_ADDONS_SUPPORT 2017-12-14 11:21:58 +01:00