Erico Nunes | 94106d1 | 2018-04-05 12:25:21 +0200 | [diff] [blame] | 1 | ################################################################################ |
| 2 | # |
| 3 | # grub2-tools |
| 4 | # |
| 5 | ################################################################################ |
| 6 | |
| 7 | GRUB2_TOOLS_VERSION = 2.02 |
| 8 | GRUB2_TOOLS_SITE = http://ftp.gnu.org/gnu/grub |
| 9 | GRUB2_TOOLS_SOURCE = grub-$(GRUB2_VERSION).tar.xz |
| 10 | GRUB2_TOOLS_LICENSE = GPLv3+ |
| 11 | GRUB2_TOOLS_LICENSE_FILES = COPYING |
| 12 | GRUB2_TOOLS_DEPENDENCIES = host-bison host-flex |
| 13 | |
| 14 | GRUB2_TOOLS_CONF_ENV = \ |
| 15 | CPP="$(TARGET_CC) -E" \ |
| 16 | TARGET_CC="$(TARGET_CC)" \ |
| 17 | TARGET_CFLAGS="$(TARGET_CFLAGS) -fno-stack-protector" \ |
| 18 | TARGET_CPPFLAGS="$(TARGET_CPPFLAGS)" \ |
| 19 | TARGET_LDFLAGS="$(TARGET_LDFLAGS)" \ |
| 20 | TARGET_NM="$(TARGET_NM)" \ |
| 21 | TARGET_OBJCOPY="$(TARGET_OBJCOPY)" \ |
| 22 | TARGET_STRIP="$(TARGET_CROSS)strip" |
| 23 | |
| 24 | GRUB2_TOOLS_CONF_OPTS = \ |
| 25 | --disable-grub-mkfont \ |
| 26 | --enable-efiemu=no \ |
| 27 | ac_cv_lib_lzma_lzma_code=no \ |
| 28 | --enable-device-mapper=no \ |
| 29 | --enable-libzfs=no \ |
| 30 | --disable-werror \ |
| 31 | --with-platform=none |
| 32 | |
| 33 | $(eval $(autotools-package)) |