diff options
-rw-r--r-- | libre-testing/barebox/PKGBUILD | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/libre-testing/barebox/PKGBUILD b/libre-testing/barebox/PKGBUILD index 3573ec788..8d9263aa3 100644 --- a/libre-testing/barebox/PKGBUILD +++ b/libre-testing/barebox/PKGBUILD @@ -4,9 +4,9 @@ _pkgname=barebox pkgname=barebox-am335x pkgver=2019.02.0 -pkgrel=1 +pkgrel=2 pkgdesc="Barebox for devices with an am335x system on a chip" -arch=('armv7h') +arch=('armv7h' 'x86_64') makedepends=('lzop') url="http://barebox.org/" license=('GPL2') @@ -25,10 +25,15 @@ build() { make omap_defconfig make - # TODO: Add support for more ARM SOCs and - # CPU architectures (Barebox also supports - # x86 and PowerPC) + elif [ "$CARCH" = "x86_64" ]; then + export ARCH=x86 + # efi_defconfig requires compiling in 64bit mode + make efi_defconfig + make fi + # TODO: Add support for more ARM SOCs and + # CPU architectures (Barebox also supports + # x86 and PowerPC) } package() { |