grub2: make grub2 tools built in a separate variant
author李国 <uxgood.org@gmail.com>
Sat, 25 Jul 2020 04:48:36 +0000 (04:48 +0000)
committerPaul Spooren <mail@aparcar.org>
Sun, 20 Jun 2021 23:31:09 +0000 (13:31 -1000)
commitca941041366602d4da0bf2c04bb0d3c25ed4fa21
tree968121ee2bf245bc54e8113cbed4665b0868a288
parent5876d6a62fc0ae5799e7d9c896356f75c99a6f0a
grub2: make grub2 tools built in a separate variant

grub2 boot-related code and tools-related code may require different
compilation parameters. We split them into different variants for
compilation, so that we can accurately pass the required parameters and
avoid causing problems.

Signed-off-by: 李国 <uxgood.org@gmail.com>
package/boot/grub2/Makefile