summaryrefslogtreecommitdiff
path: root/package/grub/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-04-11 18:45:38 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-04-11 18:45:38 +0200
commit277e6a5f99c96b7c718a96b913148a990334f332 (patch)
treecb8022548d06a80bca0b43a5a9a0693d1fc3ea5a /package/grub/Makefile
parent917fb6294ff9521dd457f4a791dec32e55c2b6fd (diff)
fix boot with grub2 source package
Diffstat (limited to 'package/grub/Makefile')
-rw-r--r--package/grub/Makefile22
1 files changed, 11 insertions, 11 deletions
diff --git a/package/grub/Makefile b/package/grub/Makefile
index 8d0b9ed48..f634e07df 100644
--- a/package/grub/Makefile
+++ b/package/grub/Makefile
@@ -5,11 +5,11 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= grub
PKG_VERSION:= 2.00
-PKG_RELEASE:= 2
+PKG_RELEASE:= 3
PKG_MD5SUM:= e927540b6eda8b024fb0391eeaa4091c
PKG_DESCR:= GRUB2 bootloader (source package)
PKG_SECTION:= boot
-PKG_BUILDDEP:= bison-host
+PKG_BUILDDEP:= bison-host qemu-host
PKG_URL:= http://www.gnu.org/software/grub
PKG_SITES:= ftp://ftp.gnu.org/gnu/grub/
@@ -38,19 +38,19 @@ TARGET_CFLAGS+= -static
TARGET_LDFLAGS+= -static
endif
-CONFIGURE_ARGS+= --disable-grub-mkfont
+CONFIGURE_ARGS+= --disable-grub-mkfont \
+ --enable-efiemu=no \
+ --enable-liblzma=no \
+ --enable-device-mapper=no \
+ --enable-libzfs=no \
+ --disable-werror
XAKE_FLAGS+= GCC_HONOUR_COPTS=s
grub-install:
- ${INSTALL_DIR} $(IDIR_GRUB)/usr/{sbin,bin}
- ${INSTALL_DIR} $(IDIR_GRUB)/usr/lib/grub/${GRUB_ARCH}/
- ${INSTALL_DIR} $(IDIR_GRUB)/etc
- ${CP} ${WRKINST}/etc/grub.d $(IDIR_GRUB)/etc
+ ${INSTALL_DIR} $(IDIR_GRUB)/boot/grub/${GRUB_ARCH}
${CP} ${WRKINST}/usr/lib/grub/${GRUB_ARCH}/*{mod,lst,img} \
- $(IDIR_GRUB)/usr/lib/grub/${GRUB_ARCH}/
- ${INSTALL_BIN} ${WRKINST}/usr/bin/* $(IDIR_GRUB)/usr/bin
- ${INSTALL_BIN} ${WRKINST}/usr/sbin/* $(IDIR_GRUB)/usr/sbin
+ $(IDIR_GRUB)/boot/grub/${GRUB_ARCH}/
${CP} ./files/core.img.${GRUB_ARCH} \
- $(IDIR_GRUB)/usr/lib/grub/core.img
+ $(IDIR_GRUB)/boot/grub/core.img
include ${TOPDIR}/mk/pkg-bottom.mk