[arch-commits] Commit in syslinux/trunk (PKGBUILD)

Tobias Powalowski tpowa at nymeria.archlinux.org
Thu May 15 05:11:28 UTC 2014


    Date: Thursday, May 15, 2014 @ 07:11:28
  Author: tpowa
Revision: 212776

upgpkg: syslinux 6.03pre11-2

enalbe uefi mixed mode

Modified:
  syslinux/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-05-15 05:09:11 UTC (rev 212775)
+++ PKGBUILD	2014-05-15 05:11:28 UTC (rev 212776)
@@ -2,12 +2,15 @@
 # Maintainer : Thomas Bächler <thomas at archlinux.org>
 # Contributor: Keshav Amburay <(the ddoott ridikulus ddoott rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)>
 
+## "1" to enable IA32-EFI build in Arch x86_64, "0" to disable
+_IA32_EFI_IN_ARCH_X64="1"
+
 _VER="6.03-pre11"
 _GIT_TAG="syslinux-${_VER}"
 
 pkgname="syslinux"
 pkgver="${_VER/-/}"
-pkgrel="1"
+pkgrel="2"
 arch=('x86_64' 'i686')
 pkgdesc="Collection of boot loaders that boot from FAT, ext2/3/4 and btrfs filesystems, from CDs and via PXE"
 url="http://syslinux.zytor.com/"
@@ -175,6 +178,11 @@
     if [[ "${CARCH}" == "x86_64" ]]; then
         msg "Build syslinux efi64"
         _build_syslinux_efi64
+        
+        if [[ "${_IA32_EFI_IN_ARCH_X64}" == "1" ]]; then
+            msg "Build syslinux efi32"
+            _build_syslinux_efi32
+        fi
     fi
     
     if [[ "${CARCH}" == "i686" ]]; then
@@ -230,6 +238,12 @@
         cd "${srcdir}/${pkgname}-${pkgver}-efi64/"
         msg "Install Syslinux efi64"
         make INSTALLROOT="${pkgdir}/" AUXDIR="/usr/lib/syslinux/" OBJDIR="${srcdir}/${pkgname}-${pkgver}-efi64/OBJDIR" efi64 install
+        
+        if [[ "${_IA32_EFI_IN_ARCH_X64}" == "1" ]]; then
+            cd "${srcdir}/${pkgname}-${pkgver}-efi32/"
+            msg "Install Syslinux efi32"
+            make INSTALLROOT="${pkgdir}/" AUXDIR="/usr/lib/syslinux/" OBJDIR="${srcdir}/${pkgname}-${pkgver}-efi32/OBJDIR" efi32 install
+        fi
     fi
     
     if [[ "${CARCH}" == "i686" ]]; then




More information about the arch-commits mailing list