pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/u-boot



Module Name:    pkgsrc
Committed By:   jmcneill
Date:           Thu Sep  7 15:30:32 UTC 2017

Modified Files:
        pkgsrc/sysutils/u-boot: u-boot-arm64.mk

Log Message:
Add an 'el1' pkg option for enabling CONFIG_ARMV8_SWITCH_TO_EL1


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/u-boot/u-boot-arm64.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/u-boot/u-boot-arm64.mk
diff -u pkgsrc/sysutils/u-boot/u-boot-arm64.mk:1.1 pkgsrc/sysutils/u-boot/u-boot-arm64.mk:1.2
--- pkgsrc/sysutils/u-boot/u-boot-arm64.mk:1.1  Fri Sep  1 21:03:11 2017
+++ pkgsrc/sysutils/u-boot/u-boot-arm64.mk      Thu Sep  7 15:30:31 2017
@@ -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