Franco Fichtner
73c747344f
build: fix base.hash handling issue in obsolete set
2024-01-05 13:53:07 +01:00
Franco Fichtner
6031fc8111
build: remove NO_*CLEAN; closes #243
2022-04-06 08:34:12 +02:00
Franco Fichtner
b5ef261b45
build: remove FreeBSD 12.1 renmants
2022-01-31 11:21:58 +01:00
Franco Fichtner
b072e55797
build: rename plist files to prefix set name
2022-01-03 11:24:19 +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
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
d33488bb0c
build/base: fixup FreeBSD 12.1 build issue with missing host file
2020-07-15 18:21:31 +02:00
Franco Fichtner
1be9ee13c0
build: sign our mtree set files for later verification
...
Right now we trust the mtree file since we can't guarantee
consistency after unpack. This way we will be able to warn
on unsigned mtree file or when the signature is wrong meaning
somebody meddled with the mtree file.
Should work for both base and kernel.
PR: https://github.com/opnsense/core/issues/3473
2019-09-25 13:15:26 +02:00
Franco Fichtner
1b6b45a72e
build/base: typo
2019-05-07 13:03:04 +02:00
Franco Fichtner
fd9e920b21
build: we need device in base set too
2019-05-07 12:10:31 +02:00
Franco Fichtner
a999844f36
device: bpi.conf and cross-build docs #113
2019-02-13 21:39:48 +01:00
Franco Fichtner
c058582d0c
config: switch to Banana Pi
2019-02-11 17:39:43 +01:00
Franco Fichtner
a8c8a0cf57
build: finish stopping to use the obsolete set
2019-01-09 07:44:48 +01:00
Franco Fichtner
afdaf2e32d
build: add architecture to sets as well
2018-11-28 11:44:49 +01:00
Franco Fichtner
314878d80f
build: support ".size" versioning extention for sets
2018-11-28 06:47:16 +01:00
Franco Fichtner
63ad5534f7
build: inject obsolete set into base set
2018-10-15 16:04:08 +02: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
044618e7dd
build: proper PHP version propagation, src.conf for kernel build
2017-11-28 07:19:23 +01:00
Franco Fichtner
3db22a1241
build/base: temporary location for armv6 boot loader hints
...
Doesn't affect any other architecture so hardcoding for now is
ok. Keep in mind this is RPI2 specific.
2017-09-03 08:38:54 +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
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
440dd65e70
build/xtools: new target, more cross-buid fun
2016-07-18 08:38:36 +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
9aa9108ae5
build: stagify remaining pieces
...
This will not taint the build system except for the final
sets and image dirs. Helps in keeping the build system
clean and that it's easier to inspect the build step.
While there, expand chroot to take a subdir argument as
some build steps need the STAGEDIR root for more than a
single purpose.
2016-05-21 10:43:10 +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
Franco Fichtner
7836972bd0
build: emit signing message only when signing
2015-12-26 17:37:52 +01:00
Franco Fichtner
1f05ee532a
build/base: finally weave obsolete files into build step
...
Also signs the obsolete file list to complete the set signing.
2015-12-26 09:20:10 +01:00
Franco Fichtner
0eaa7c02bb
build: generate signatures for kernel and base set
2015-12-25 23:52:32 +01:00
Franco Fichtner
4f4c952c5d
build/base: this builds to 11
2015-11-19 18:25:47 +01:00
Franco Fichtner
634a50fb7c
config: change config handling again; decouples NAME and SETTINGS
2015-06-12 08:01:54 +02:00
Franco Fichtner
a5814e2465
build/checkout: remove git_clear in favour of proper stage; #8
...
This will make it a bit harder to build clean sets in the future,
but it has been requested so here it is. ;)
2015-06-09 09:54:47 +02:00
Franco Fichtner
ce3ec7147a
build: fooled by my own trickery
2015-05-16 13:30:03 +02:00
Franco Fichtner
bcc68c8bd6
build: route the cleaning of individual sets through clean target
2015-05-16 13:25:53 +02:00