summaryrefslogtreecommitdiff
path: root/package/grub-bin/Makefile
blob: c1d412b32cb8cdb78062324fb6d3c4a7ecc1e38e (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
25
26
27
28
29
30
31
32
# 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

# compiled with i486 toolchain, statically linked with uClibc
# cross-compiling is difficult, so provide a binary package
PKG_NAME:=		grub-bin
PKG_VERSION:=		1.98
PKG_RELEASE:=		1
PKG_MD5SUM:=		958f9fd415a0bd52fe115176afbf19d9
PKG_DESCR:=		GRUB2 bootloader (binary package)
PKG_SECTION:=		base
PKG_SITES:=		http://openadk.org/distfiles/

PKG_TARGET_DEPENDS:=	x86 x86_64
CFLINE_GRUB_BIN:=	select BUSYBOX_FEATURE_STAT_FORMAT\n\tdepends on !ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK && !ADK_TARGET_ROOTFS_INITRAMFS

include ${TOPDIR}/mk/package.mk

$(eval $(call PKG_template,GRUB_BIN,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

PKGDFLT_GRUB_BIN=	y

CONFIG_STYLE:=		manual
BUILD_STYLE:=		manual
INSTALL_STYLE:=		manual

do-install:
	${CP} ${WRKBUILD}/* ${IDIR_GRUB_BIN}/

include ${TOPDIR}/mk/pkg-bottom.mk