sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Ismael Luceno (c53dc19e627b4551c5882c59a29078d1e8deb8f9)
- From: Ismael Luceno <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Ismael Luceno (c53dc19e627b4551c5882c59a29078d1e8deb8f9)
- Date: Sat, 24 Aug 2013 18:18:21 -0500
GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:
disk/grub2/BUILD | 2 ++
disk/grub2/CONFIGURE | 5 ++++-
disk/grub2/HISTORY | 3 +++
3 files changed, 9 insertions(+), 1 deletion(-)
New commits:
commit c53dc19e627b4551c5882c59a29078d1e8deb8f9
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
grub: Allow to select the target platform
diff --git a/disk/grub2/BUILD b/disk/grub2/BUILD
index 564f1c6..997ec16 100755
--- a/disk/grub2/BUILD
+++ b/disk/grub2/BUILD
@@ -1,4 +1,6 @@
OPTS="${OPTS} ${GRUB2_OPTS} -disable-werror" &&
+OPTS="$OPTS --with-platform=${GRUB2_PLATFORM%/*}" &&
+OPTS="$OPTS --target=${GRUB2_PLATFORM#*/}" &&
CFLAGS=${CFLAGS/-m64/} &&
CFLAGS=${CFLAGS/-O?/-Os} &&
disable_pic force &&
diff --git a/disk/grub2/CONFIGURE b/disk/grub2/CONFIGURE
index 316d411..62fff9e 100755
--- a/disk/grub2/CONFIGURE
+++ b/disk/grub2/CONFIGURE
@@ -17,4 +17,7 @@ config_query_option GRUB2_OPTS 'include memory manger
debugging?' n \
config_query_option GRUB2_OPTS 'build and install the efiemu runtimes?' y \
'--enable-efiemu' \
- '--disable-efiemu'
+ '--disable-efiemu' &&
+
+config_query_list GRUB2_PLATFORM "Select platform:" \
+ pc/i386 efi/i386 efi/x86_64
diff --git a/disk/grub2/HISTORY b/disk/grub2/HISTORY
index 883a698..4700646 100644
--- a/disk/grub2/HISTORY
+++ b/disk/grub2/HISTORY
@@ -1,3 +1,6 @@
+2013-08-24 Ismael Luceno <ismael AT sourcemage.org>
+ * BUILD, CONFIGURE: Allow to select the target platform
+
2012-10-09 Eric Sandall <sandalle AT sourcemage.org>
* PRE_BUILD: Apply glibc-2.16.patch
* glibc-2.16.patch: Fix compilation with glibc 2.16+ (gets removed
from GNU
- [SM-Commit] GIT changes to master grimoire by Ismael Luceno (c53dc19e627b4551c5882c59a29078d1e8deb8f9), Ismael Luceno, 08/24/2013
Archive powered by MHonArc 2.6.24.