x86/grub2: move grub2 image creation to package
authorPaul Spooren <mail@aparcar.org>
Fri, 20 Mar 2020 10:10:54 +0000 (00:10 -1000)
committerDaniel Golle <daniel@makrotopia.org>
Sat, 21 Mar 2020 10:36:00 +0000 (10:36 +0000)
commit5a5df62d95f52892c9a24fe1216796a2a903e544
tree14cdfab3e4fb023d23e58f352f542a86b551a216
parente6e1e12dc3230bdadf74485dbf47beb52570920c
x86/grub2: move grub2 image creation to package

Let the grub2 package take care of creating installable grub2 images,
this will allow creating grub2 images without first calling x86 image
generation recipe. Also as side effect, since those images are now
shared, it'll reduce the number of calling grub-mkimage.

Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
[rebase, adjusted commit title]
Signed-off-by: Paul Spooren <mail@aparcar.org>
package/boot/grub2/Makefile
package/boot/grub2/files/grub-early.cfg [new file with mode: 0644]
target/linux/x86/image/Makefile
target/linux/x86/image/grub-early.cfg [deleted file]