x86: switch image generation to new code
authorPaul Spooren <mail@aparcar.org>
Fri, 20 Mar 2020 10:10:55 +0000 (00:10 -1000)
committerDaniel Golle <daniel@makrotopia.org>
Sat, 21 Mar 2020 10:36:00 +0000 (10:36 +0000)
commitcb007a7bf6199ebca89f79c8ee5f9b1807a0c5b0
tree725b5ae9cbfeb72e14e6efa3f136c58fb559c027
parent5a5df62d95f52892c9a24fe1216796a2a903e544
x86: switch image generation to new code

This commit introduces few related changes which need to be done in
single commit to keep images buildable between git revisions. In result
it retains all previous image creation possibilities with slight name
change of generated images. Brief summary of the commit:

* Split up image generation recipe to smaller chunks to make it more
  generic and reusable.

* Make iso images x86 specific and drop their definition as root
  filesystem.

* Convert image creation process to generic code specified in image.mk.

* Make geode subtarget inherit features from the main target instead of
  redefining them.

* For subtargets create device definitions with basic packages set.

Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
[rebased]
Signed-off-by: Paul Spooren <mail@aparcar.org>
12 files changed:
config/Config-images.in
include/image.mk
target/linux/x86/Makefile
target/linux/x86/geode/target.mk
target/linux/x86/image/64.mk [new file with mode: 0644]
target/linux/x86/image/Makefile
target/linux/x86/image/generic.mk [new file with mode: 0644]
target/linux/x86/image/geode.mk [new file with mode: 0644]
target/linux/x86/image/grub-iso.cfg
target/linux/x86/image/grub-pc.cfg [new file with mode: 0644]
target/linux/x86/image/grub.cfg [deleted file]
target/linux/x86/image/legacy.mk [new file with mode: 0644]