summaryrefslogtreecommitdiff
path: root/sysutils/u-boot/u-boot-arm64.mk
blob: b15a3f25164f16569a06ea438bc2448614ca0f8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# $NetBSD: u-boot-arm64.mk,v 1.2 2017/09/07 15:30:31 jmcneill Exp $

MAINTAINER=	port-arm@NetBSD.org
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"