summaryrefslogtreecommitdiff
path: root/package/grub-bin
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-09-10 12:25:58 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-09-10 12:25:58 +0200
commit4c8e9488814c0add98a02776499999e4e23bf507 (patch)
treea5f3280dba6eaa457e78e4c0ef69415a0195d703 /package/grub-bin
parenta481c461a4a7dae7440b9de3145ecb5b87206b3a (diff)
finally boot shuttle from raid1 root
you need to set hard disk partition types to type fd. I added a grub binary package, because grub does not allow to be cross-compiled from x86_64 for example without using a multilib gcc, which we do not support.
Diffstat (limited to 'package/grub-bin')
-rw-r--r--package/grub-bin/Config.in8
-rw-r--r--package/grub-bin/Makefile23
2 files changed, 31 insertions, 0 deletions
diff --git a/package/grub-bin/Config.in b/package/grub-bin/Config.in
new file mode 100644
index 000000000..bb2d85550
--- /dev/null
+++ b/package/grub-bin/Config.in
@@ -0,0 +1,8 @@
+config ADK_PACKAGE_GRUB_BIN
+ prompt "grub-bin............................. GRUB 2 bootloader (binary)"
+ tristate
+ depends on ADK_LINUX_X86_64_SHUTTLE
+ select BUSYBOX_FEATURE_STAT_FORMAT
+ default y if ADK_LINUX_X86_64_SHUTTLE
+ help
+
diff --git a/package/grub-bin/Makefile b/package/grub-bin/Makefile
new file mode 100644
index 000000000..6e0a42817
--- /dev/null
+++ b/package/grub-bin/Makefile
@@ -0,0 +1,23 @@
+# 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-bin
+PKG_VERSION:= 1.97
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 0b975ea2f0c0cbad6a130d4614fbf399
+PKG_DESCR:= GRUB bootloader
+PKG_SECTION:= sys
+PKG_SITES:= http://openadk.org/distfiles/
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,GRUB_BIN,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+INSTALL_STYLE= manual
+
+do-install:
+ ${CP} ${WRKBUILD}/* ${IDIR_GRUB_BIN}/
+
+include ${TOPDIR}/mk/pkg-bottom.mk