pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/u-boot Add an 'el1' pkg option for enabling C...
details: https://anonhg.NetBSD.org/pkgsrc/rev/09851f79ec96
branches: trunk
changeset: 367832:09851f79ec96
user: jmcneill <jmcneill%pkgsrc.org@localhost>
date: Thu Sep 07 15:30:31 2017 +0000
description:
Add an 'el1' pkg option for enabling CONFIG_ARMV8_SWITCH_TO_EL1
diffstat:
sysutils/u-boot/u-boot-arm64.mk | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r b2e9f7c811cf -r 09851f79ec96 sysutils/u-boot/u-boot-arm64.mk
--- a/sysutils/u-boot/u-boot-arm64.mk Thu Sep 07 15:29:31 2017 +0000
+++ b/sysutils/u-boot/u-boot-arm64.mk Thu Sep 07 15:30:31 2017 +0000
@@ -1,8 +1,17 @@
-# $NetBSD: u-boot-arm64.mk,v 1.1 2017/09/01 21:03:11 jmcneill Exp $
+# $NetBSD: u-boot-arm64.mk,v 1.2 2017/09/07 15:30:31 jmcneill Exp $
MAINTAINER= port-arm%NetBSD.org@localhost
BUILD_DEPENDS+= cross-aarch64-none-elf-gcc-[0-9]*:../../cross/aarch64-none-elf-gcc
UBOOT_ENV+= CROSS_COMPILE=${PREFIX}/cross-aarch64-none-elf/bin/aarch64-none-elf-
+PKG_OPTIONS_VAR= PKG_OPTIONS.u-boot-${UBOOT_TARGET}
+PKG_SUPPORTED_OPTIONS= el1
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mel1)
+UBOOT_OPTIONS+= CONFIG_ARMV8_SWITCH_TO_EL1=y
+.endif
+
.include "u-boot.mk"
Home |
Main Index |
Thread Index |
Old Index