aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2017-12-22 10:11:44 +0800
committerlinimon <linimon@FreeBSD.org>2017-12-22 10:11:44 +0800
commit6f01645fc6e20e09d28a1e5844db561f660aa829 (patch)
treec917e44af98fb577a5ec6a1a67307d887849a525 /sysutils
parent74e7339b38953e990df381ec37d1baec1d033c7c (diff)
downloadfreebsd-ports-gnome-6f01645fc6e20e09d28a1e5844db561f660aa829.tar.gz
freebsd-ports-gnome-6f01645fc6e20e09d28a1e5844db561f660aa829.tar.zst
freebsd-ports-gnome-6f01645fc6e20e09d28a1e5844db561f660aa829.zip
Make the IGNORE message and the COMMENT message more meaningful for
the masterport.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/u-boot-master/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysutils/u-boot-master/Makefile b/sysutils/u-boot-master/Makefile
index e7a1e930bdfe..611e78c8088c 100644
--- a/sysutils/u-boot-master/Makefile
+++ b/sysutils/u-boot-master/Makefile
@@ -11,7 +11,7 @@ CATEGORIES= sysutils
PKGNAMESUFFIX?= -${MODEL}
MAINTAINER= imp@FreeBSD.org
-COMMENT= Cross-build das u-boot for ${MODEL}
+COMMENT= Cross-build das u-boot for model ${MODEL}
LICENSE= GPLv2
@@ -38,6 +38,10 @@ MAKE_ARGS+= V=1 CROSS_COMPILE=${CROSS_COMPILE} DTC=${LOCALBASE}/bin/dtc PYTHON=$
NO_ARCH= yes
# Sanity checks
+.if !defined(MODEL) && !defined(BOARD_CONFIG) && !defined(FAMILY)
+MODEL= NONE
+IGNORE= is a metaport; there is nothing to build
+.else
.if !defined(MODEL)
IGNORE+= MODEL is not defined
.endif
@@ -47,6 +51,7 @@ IGNORE+= BOARD_CONFIG is not defined
.if !defined(FAMILY)
IGNORE+= FAMILY is not defined
.endif
+.endif
# Overrides for OMAP family
UBOOT_PLIST_OMAP=u-boot.img MLO