summaryrefslogtreecommitdiff
path: root/package/grub/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/grub/Makefile')
-rw-r--r--package/grub/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/grub/Makefile b/package/grub/Makefile
index 38c3c326e..706bf626e 100644
--- a/package/grub/Makefile
+++ b/package/grub/Makefile
@@ -14,11 +14,18 @@ PKG_SITES:= ftp://alpha.gnu.org/gnu/grub/
PKG_HOST_DEPENDS:= linux
PKG_ARCH_DEPENDS:= x86 x86_64
+PKG_NOPARALLEL:= 1
include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,GRUB,${PKG_NAME},$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+ifeq ($(ADK_STATIC),y)
+TARGET_CFLAGS+= -static
+TARGET_LDFLAGS+= -static
+endif
+
+XAKE_FLAGS+= GCC_HONOUR_COPTS=s CPPFLAGS_FOR_BUILD="-I./include"
CONFIGURE_ARGS+= --disable-efiemu \
--disable-grub-mkfont \
--disable-grub-fstest