Skip to content

Commit

Permalink
Merge pull request #885 from mariux64/build-grub-additionally-with-ue…
Browse files Browse the repository at this point in the history
…fi-support

Build GRUB additionally with UEFI support
  • Loading branch information
donald authored Aug 30, 2018
2 parents 4e79b12 + d2c7e4a commit 80be7cb
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions grub.be0
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#!/usr/bin/env beesh

# BEE_VERSION grub-2.02-0
# BEE_VERSION grub-2.02_p167_61ec2e300-0

SRCURL[0]="ftp://ftp.gnu.org/gnu/grub/grub-${PKGVERSION}.tar.gz"
SRCURL[0]="/src/mariux/beeroot/downloads/grub-${PKGVERSION}_p167_61ec2e300.tar.bz2"

#PATCHURL+=(/src/mariux/patches/grub-2.00-0001-avoid-compile-error-due-to-undeclared-gets.patch)
# PATCHURL+=()

# EXCLUDE+=()

build_in_sourcedir
# build_in_sourcedir

# sourcesubdir_append src

Expand All @@ -17,9 +17,10 @@ build_in_sourcedir
# bee_extract "${@}"
#}

#mee_patch() {
# bee_patch "${@}"
#}
mee_patch() {
bee_patch "${@}"
./autogen.sh
}

#mee_configure() {
# bee_configure
Expand All @@ -33,3 +34,13 @@ build_in_sourcedir
# bee_install
#}
## by default this may be 'make install DESTDIR="${D}"'

# Install x86_64-efi
mee_install_post() {
start_cmd make clean
bee_configure \
--with-platform=efi \
--target=x86_64
bee_build
bee_install
}

0 comments on commit 80be7cb

Please sign in to comment.