Franco Fichtner
3747218bdb
make: add lint target
2016-03-04 15:48:19 +01:00
Franco Fichtner
f825a0548f
build/chroot: add small helper for this operation
2016-02-28 23:16:37 +01:00
Franco Fichtner
920838ded1
build: move stagedir to unique location to enable parallel flavour build
2016-02-28 23:09:27 +01:00
Franco Fichtner
19562b3dec
build: refactor to pass custom sign commands
2016-02-17 22:04:20 +01:00
Franco Fichtner
e66a0dc49c
make: document and rename for clarity
2016-02-02 21:08:53 +01:00
Franco Fichtner
f3f062de66
build/prefetch: choose a random mirror that can take a beating or two
2016-02-02 20:56:10 +01:00
Franco Fichtner
ee8c114a34
make: defer kernel build until really really needed
2016-02-02 20:21:32 +01:00
Franco Fichtner
890003b873
make: fixup dependency chain for #24
2016-02-02 16:49:54 +01:00
Franco Fichtner
180ecff083
build: adapt a patch by @lattera to directly set PUBKEY+PRIVKEY
2016-02-01 18:07:20 +01:00
Franco Fichtner
3503b89f8a
build/prefetch: add a script to load compiled base/kernel
...
In most cases, one wants to skip building the sources and go straight
for packages and all...
2016-01-31 12:02:39 +01:00
Franco Fichtner
7b3572e6be
build/checkout: remove obsoleted script
2016-01-27 10:08:48 +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
a6632135b8
config: flip to 16.1
2016-01-19 09:20:15 +01:00
Franco Fichtner
df0ee582fb
build/rebase: feed base set changes back into repository
2015-12-26 10:21:42 +01:00
Franco Fichtner
e213702060
build: add override for signing keys #20
...
The logic of scripts dir was that it doesn't need build dir foo,
which isn't true anymore for the pkg_* scripts so that needs to
be shuffled now.
2015-10-30 07:32:21 +01:00
Franco Fichtner
c05bbf0235
build: rename `source' to `src' for consistency with src.git
2015-09-20 00:23:48 +02:00
Franco Fichtner
64b65c8137
build/distfiles: add a fetch script...
...
... to avoid multiple fetch runs when doing ports later.
2015-09-11 21:05:55 +02:00
Franco Fichtner
3f381e6c81
make: defining DEBUG seems bad for the kernel/base build
2015-09-09 16:20:18 +02:00
Franco Fichtner
e093cc884c
build: allow type to be overridden; fixes #19
...
Building has gotten pretty complicated with the introduction
of opnsense-devel pacakges, which will be further complicated
by doing opnsense-stable soon enough...
This needs more smarts, but for now the README works again.
This only affects image builds.
2015-09-09 15:58:42 +02:00
Franco Fichtner
93f7417e5b
build: add a debug switch
2015-08-21 11:07:49 +02:00
Franco Fichtner
3541703340
build: refactor common custom package magic
2015-07-16 17:34:35 +02:00
Franco Fichtner
bedaae134e
make: build stable as opposed to latest by default
2015-07-13 07:32:34 +02:00
Franco Fichtner
d9ce7a0bd9
build/plugins: add the plugins pass for packages
2015-07-09 14:49:23 +02:00
Franco Fichtner
634a50fb7c
config: change config handling again; decouples NAME and SETTINGS
2015-06-12 08:01:54 +02:00
Franco Fichtner
5119ed798a
build: fiddle with git and improve skim
2015-06-10 08:46:59 +02:00
Franco Fichtner
7ddb44e22e
build: make repositories customisable; fixes #8
2015-06-09 10:14:37 +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
057e2d1c61
build/skim: make it part of the official build glue
2015-05-22 10:03:23 +02:00
Franco Fichtner
09514177ba
make: default behaviour before config include
2015-05-17 20:26:21 +02:00
Franco Fichtner
cb0931db96
make: expand target arguments for easier access
...
Instead of
# make ports ARGS="foo bar pkg"
we can now do
# make ports-foo,bar ports-pkg clean-obj
whereas clean's "obj" argument does not leak into ports.
2015-05-17 19:49:45 +02:00
Franco Fichtner
db479b9b00
make: set PAGER if not set
2015-05-16 14:22:11 +02:00
Franco Fichtner
572a17d1b6
make: provide more targets for the impatient
2015-05-16 13:38:54 +02:00
Franco Fichtner
bcc68c8bd6
build: route the cleaning of individual sets through clean target
2015-05-16 13:25:53 +02:00
Franco Fichtner
5b550b2045
build: add a Makefile as a sane launch pad...
...
o Talking to Shawn Webb revealed that build.conf behaviour is
still fragile. This will properly invoke all build steps with
the variables that are allowed to be overridden.
o Adds an external CONFIG that is allowed to set NAME, VERSION,
FLAVOUR.
o Remove persistent environment awareness.
o Document the whole thing.
There's still some things to do in order to do parallel builds,
but at least now the build scripts can't be poisoned by a changing
config file underneath.
2015-05-16 11:44:14 +02:00