Commit 04a6489d authored by Michael Shigorin's avatar Michael Shigorin

kernel: introduce use/kernel/latest

Kernel flavours differ on secondary arches (and there's a bunch of platform-specific kernels for ARM systems), so let's provide some more flexible scheme than hardwiring un-def into images. This might be further enhanced to e.g. set KFLAVOURS to $$(KFLAVOURS_LATEST)) with it being preset to un-def where available so rpi images could set it to rpi-un, and still get reasonable starterkits for free. The corresponding commit in RELENG-e2k-p9-starterkits private branch just tore un-def apart => unmergeable.
parent af95749d
......@@ -22,6 +22,11 @@ endif
endif
@$(call xport,KFLAVOURS)
use/kernel/latest: use/kernel; @:
ifeq (,$(filter-out aarch64 armh i586 ppc64le x86_64,$(ARCH)))
@$(call set,KFLAVOURS,un-def)
endif
# r8168 is a kludge, never install it by default
use/kernel/net:
@$(call add,THE_KMODULES,e1000e igb)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment