mirror of
https://github.com/taigrr/gopher-os
synced 2025-01-18 04:43:13 -08:00
Merge pull request #46 from boomshroom/patch-1
Check grub on non-dpkg systems.
This commit is contained in:
commit
a86a1bd8cd
6
Makefile
6
Makefile
@ -77,13 +77,13 @@ binutils_version_check:
|
||||
@echo "[binutils] checking that installed objcopy version is >= $(MIN_OBJCOPY_VERSION)"
|
||||
@if [ "$(HAVE_VALID_OBJCOPY)" != "y" ]; then echo "[binutils] error: a more up to date binutils installation is required" ; exit 1 ; fi
|
||||
|
||||
iso_prereq: xorriso_check grub-pc-bin_check
|
||||
iso_prereq: xorriso_check grub-mkrescue_check
|
||||
|
||||
xorriso_check:
|
||||
@if xorriso --version >/dev/null 2>&1; then exit 0; else echo "Install xorriso via 'sudo apt install xorriso'." ; exit 1 ; fi
|
||||
|
||||
grub-pc-bin_check:
|
||||
@ if dpkg -l grub-pc-bin > /dev/null; then exit 0; else echo "Install package grub-pc-bin via 'sudo apt install grub-pc-bin'."; exit 1; fi
|
||||
grub-mkrescue_check:
|
||||
@if grub-mkrescue --version >/dev/null 2>&1; then exit 0; else echo "Install package grub-pc-bin via 'sudo apt install grub-pc-bin'."; exit 1; fi
|
||||
|
||||
linker_script:
|
||||
@echo "[sed] extracting LMA and VMA from constants.inc"
|
||||
|
Loading…
x
Reference in New Issue
Block a user