summaryrefslogtreecommitdiff
path: root/target/tools/grub/Makefile
blob: 58a3b822c459db4c85136a776522f273c9b11eca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(TOPDIR)/rules.mk

PKG_NAME:=		grub
PKG_VERSION:=		1.98
PKG_RELEASE:=		1
PKG_MD5SUM:=		c0bcf60e524739bb64e3a2d4e3732a59
PKG_SITES:=		ftp://alpha.gnu.org/gnu/grub/

include ../rules.mk

$(WRKBUILD)/.compiled: ${WRKDIST}/.prepared
	cd $(WRKBUILD) && ./configure --prefix=$(TOPDIR)/bin/tools --disable-nls --disable-efiemu --with-platform=pc
	$(MAKE) -C $(WRKBUILD)
	touch $@

$(TOPDIR)/bin/tools/bin/grub-install: $(WRKBUILD)/.compiled
	$(MAKE) -C $(WRKBUILD) install

install: $(TOPDIR)/bin/tools/bin/grub-install

include $(TOPDIR)/mk/tools.mk