u-boot*: allow packages overriding the patches/distinfo

Even after setting a particular version to use.
This commit is contained in:
wiz 2021-08-19 07:42:23 +00:00
parent f06f433df1
commit a6277e96b8

View file

@ -1,12 +1,12 @@
# $NetBSD: u-boot-version.mk,v 1.4 2021/03/09 16:49:12 martin Exp $
# $NetBSD: u-boot-version.mk,v 1.5 2021/08/19 07:42:23 wiz Exp $
UBOOT_DEFAULT_VERSION= 2018.11
UBOOT_VERSION?= ${UBOOT_DEFAULT_VERSION}
.if ${UBOOT_VERSION} != ${UBOOT_DEFAULT_VERSION}
DISTINFO_FILE= ${.CURDIR}/../../sysutils/u-boot/distinfo-${UBOOT_VERSION}
PATCHDIR= ${.CURDIR}/../../sysutils/u-boot/patches-${UBOOT_VERSION}
DISTINFO_FILE?= ${.CURDIR}/../../sysutils/u-boot/distinfo-${UBOOT_VERSION}
PATCHDIR?= ${.CURDIR}/../../sysutils/u-boot/patches-${UBOOT_VERSION}
.else
PATCHDIR?= ${.CURDIR}/../../sysutils/u-boot/patches
.endif