Commit af6b9378 authored by Anton Midyukov's avatar Anton Midyukov

grub: not set GRUB_UI for unsupported ARCHES

If GRUB_UI variable is set, the gfxterm config will be added, which in turn will lead to a build error on an unsupported architecture.
parent 1f6f3042
......@@ -13,12 +13,14 @@ endif
# UI is overwritten
use/grub/ui/%: use/grub
@$(call set,GRUB_UI,$*)
ifeq (,$(filter-out i586 x86_64 aarch64,$(ARCH)))
@$(call set,GRUB_UI,$*)
@if [ "$*" == gfxboot ]; then \
$(call add,STAGE1_BRANDING,bootloader); \
$(call add,STAGE1_PACKAGES,grub-common); \
fi
else
@:
endif
use/grub/%.cfg: use/grub
......
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