Franco Fichtner
4e02760a66
build/kernel: make the if_wg module workaround flexible
2024-01-05 09:33:20 +01:00
Franco Fichtner
08aad62aa6
config: when dropping "wireguard" bits make sure to reintroduce the base kmod
2023-10-09 12:53:20 +02:00
Franco Fichtner
eecf924ede
build/kernel: remove WireGuard module, for now we support go as well; closes #376
...
And go doesn't work if a module is installed. While here split the
plugins into separate code bases as there will be work incoming for
the kernel variant.
2023-08-21 10:53:26 +02:00
Franco Fichtner
ea3fc219be
build/kernel: add INVARIANTS to debug kernel
2023-04-19 10:33:56 +02:00
Franco Fichtner
6031fc8111
build: remove NO_*CLEAN; closes #243
2022-04-06 08:34:12 +02:00
Franco Fichtner
721f25f65f
build/kernel: with a heavy heart require base build...
...
... and set up a chroot environment to run the proper kldxref in the
isolated environment. It turns out that building kldxref manually
in the host builds one for the host likely with the help of /usr/include
and this fails again for the forward build.
It's the facepalm of the week.
2022-01-18 09:44:24 +01:00
Franco Fichtner
d81be06129
build/kernel: use bundled kldxref to write correct linker.hints file
2022-01-18 08:34:19 +01:00
Franco Fichtner
86a772fefe
build/kernel: annotate issue with integrity check around kldxref use
2022-01-12 10:06:03 +01:00
Franco Fichtner
5559bc8524
build: add a working DEBUG flag for 22.1 kernels
...
Make sure to do a manual clean kernel build run in order to get
the necessary files in place. A partial rebuild does not seem
to work.
2022-01-04 09:52:58 +01:00
Franco Fichtner
ae3d844565
config: more build changes for 22.1
2021-12-14 10:18:16 +01:00
Franco Fichtner
4336b0210d
build: streamline version derivation/override
2021-09-09 13:09:54 +02:00
Franco Fichtner
76b8afaa89
build: use PRODUCT_VERSION when we want to emulate REPO_VERSION
2021-09-03 20:04:12 +02:00
Franco Fichtner
77e2de381a
build: allow VERSION override in base and kernel sets
2021-09-01 14:15:30 +02:00
Franco Fichtner
29ce7d28a1
build/kernel: actually retain build chain after previous
2021-08-19 11:04:29 +02:00
Kyle Evans
6a0d3a58e7
kernel: drop cross-build conditional for building kernel-toolchain
...
It's actually non-trivial to determine if you need to build the
kernel-toolchain or not -- host version not matching the target exactly
is a valid reason, among others.
Unconditionally build kernel-toolchain to err on the side of caution and
towards prevention of confusing build failures. If the `base` target
has already been built then no building really happens here, we simply
walk through all of the bootstrap tools and determine they're all up to
date.
2021-08-19 10:33:36 +02:00
Franco Fichtner
cb0452bb17
build/base|kernel: only attempt build when passing "build" argument
...
Packaging can take some time so working on complex src patches is
quicker this way.
2021-08-19 10:18:45 +02:00
Franco Fichtner
f7ed343a6f
build: move set load to common code, rename vars for consistent style
2021-07-08 12:05:40 +02:00
Franco Fichtner
6e89e3a718
build: prefer -v over -V
2021-02-24 10:33:10 +01:00
Franco Fichtner
7a7afca2f7
build: unify generation message
2020-12-14 12:40:13 +01:00
René Bayer
e760f313b7
Fixed object paths for cross compiling ( #194 )
2020-08-21 09:52:23 +02:00
Franco Fichtner
9b0ad3a4bf
Revert "build/kernel: kldxref fixup, build host seems to be used"
...
This reverts commit 62e5d79c80
.
It doesn't work still.
2020-06-07 11:55:31 +02:00
Franco Fichtner
62e5d79c80
build/kernel: kldxref fixup, build host seems to be used
2020-05-27 04:15:05 +02:00
Franco Fichtner
5dfee1c041
build: kernel set device name if device config does not unset
2019-05-06 19:49:31 +02:00
Franco Fichtner
0eb37037bb
build/kernel: need kernel-toolchain for build #113
2019-02-14 09:30:19 +01:00
Franco Fichtner
a999844f36
device: bpi.conf and cross-build docs #113
2019-02-13 21:39:48 +01:00
Franco Fichtner
68e33100d4
build: unify a few moving parts before obsolete rework
2018-10-15 07:48:05 +02:00
Franco Fichtner
5cf68c1729
build/base: repack set for mtree inclusion as well
2018-10-13 10:23:34 +02:00
Franco Fichtner
f90365b32b
build/kernel: (re)generate mtree file for later use
2018-10-13 09:50:32 +02:00
Franco Fichtner
1ca88f0d6c
kernel: always repack kernel set like rename step does
2018-10-12 18:41:12 +02:00
Franco Fichtner
6c6463722f
build/kernel: 11.2 does not write empty debug set
2018-10-07 06:57:47 +02:00
Franco Fichtner
044618e7dd
build: proper PHP version propagation, src.conf for kernel build
2017-11-28 07:19:23 +01:00
Franco Fichtner
a7860ec944
config: modifications for upcoming PRI2 test build
2017-08-29 09:24:46 +02:00
Franco Fichtner
2cedba570a
build/kernel: always creates debug set, check if empty instead
2017-08-26 09:42:20 +02:00
Franco Fichtner
7d92b4de66
build/kernel: add debug set support
2017-08-07 08:45:06 +02:00
Franco Fichtner
df43aa9126
build: fix argument scrubbing, remove obsolete gettext-tools from core
2017-04-27 19:14:36 +02:00
Franco Fichtner
344bdbf080
build: embedded marker for base/kernel #45
2017-03-25 04:26:21 +01:00
Franco Fichtner
c474187c8b
build: add a hint for how to fix branch mismatch temporarily
...
This isn't a good sign in general, but point users into the right
direction on how to proceed. The error should be enough to make
them awae of something is wrong with the setup.
2017-01-11 07:31:06 +01:00
Franco Fichtner
7a7a5c42e1
build/kernel: allow to build GENERIC through KERNEL=GENERIC
2016-12-26 11:08:46 +01:00
Franco Fichtner
ff437f6c95
build: lock down branches, can override through build.conf
...
Actually, build.conf can hold all overrides from the main Makefile
now. This is pretty handy for OEMs now. Thanks for the prodding
on IRC for this one. :)
2016-12-23 16:44:27 +01:00
Franco Fichtner
a25bd40568
build: improve printing for base/kernel set runs
2016-10-03 04:36:00 +02:00
Franco Fichtner
52fc0d4544
build: force kernel and base set rewrite, clean late
2016-09-28 01:57:43 +02:00
Franco Fichtner
7782ef0841
build: filter environment in kernel and ports like base
2016-07-19 16:39:54 +02:00
Franco Fichtner
b725261952
config: add RPI kernel config, needed some pruning
2016-07-18 07:10:15 +02:00
Franco Fichtner
95e8fd0ce0
build: more cleanups to allow simple cross-builds
2016-07-17 17:13:20 +02:00
Franco Fichtner
20517931c8
build: introduce PRODUCT_ARCH for cross-building
2016-07-17 15:47:49 +02:00
Franco Fichtner
c0f3dbb3fa
build: self-awareness for all scripts, needed for #30
2016-05-05 17:11:45 +02:00
Franco Fichtner
7083dd64bf
build: make it ever so silently; patch by @lattera
2016-02-01 18:34:46 +01:00
Franco Fichtner
6f98277ed3
build: let kernel and base be rebuild on any argument
...
Similar fix as packages. :)
2016-01-31 17:27:44 +01:00
Franco Fichtner
92e80dedc9
build: relax kernel and base rebuild frequency
...
If a set is already there, use it.
2016-01-31 12:12:55 +01:00
Franco Fichtner
686fb5cc4c
build: progress for base/kernel and a bit of dependency shuffling
2016-01-20 10:43:35 +01:00