summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2005-07-30 06:14:12 +0000
committerdes <des@FreeBSD.org>2005-07-30 06:14:12 +0000
commitc32a4bcef8c9039472ca54161264c3ffa3289810 (patch)
treef99435751321ccf036e86a1ac640cdf298dfd8c4 /Makefile.inc1
parentb8edc2b30108fde43b669e228241eba28e326100 (diff)
downloadFreeBSD-src-c32a4bcef8c9039472ca54161264c3ffa3289810.zip
FreeBSD-src-c32a4bcef8c9039472ca54161264c3ffa3289810.tar.gz
Enforce the native environment requirement for {check,delete}-old-* at
run time, not parse time. This unbreaks cross-builds. Pointy hat to: netchild
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc112
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index ff253dd..d7d112a 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1068,7 +1068,7 @@ RM_I=-i
delete-old-files:
.if ${TARGET_ARCH} != ${MACHINE_ARCH}
-.error "You have to run this in a native environment!"
+ @echo "You have to run this in a native environment!" && false
.endif
@echo ">>> Removing old files (only deletes safe to delete libs)"
.for file in ${OLD_FILES}
@@ -1084,7 +1084,7 @@ delete-old-files:
check-old-files:
.if ${TARGET_ARCH} != ${MACHINE_ARCH}
-.error "You have to run this in a native environment!"
+ @echo "You have to run this in a native environment!" && false
.endif
@echo ">>> Checking for old files"
.for file in ${OLD_FILES}
@@ -1093,7 +1093,7 @@ check-old-files:
delete-old-libs:
.if ${TARGET_ARCH} != ${MACHINE_ARCH}
-.error "You have to run this in a native environment!"
+ @echo "You have to run this in a native environment!" && false
.endif
@echo ">>> Removing old libraries"
@echo "${OLD_LIBS_MESSAGE}" | fmt
@@ -1108,7 +1108,7 @@ delete-old-libs:
check-old-libs:
.if ${TARGET_ARCH} != ${MACHINE_ARCH}
-.error "You have to run this in a native environment!"
+ @echo "You have to run this in a native environment!" && false
.endif
@echo ">>> Checking for old libraries"
.for file in ${OLD_LIBS}
@@ -1117,7 +1117,7 @@ check-old-libs:
delete-old-dirs:
.if ${TARGET_ARCH} != ${MACHINE_ARCH}
-.error "You have to run this in a native environment!"
+ @echo "You have to run this in a native environment!" && false
.endif
@echo ">>> Removing old directories"
.for dir in ${OLD_DIRS}
@@ -1128,7 +1128,7 @@ delete-old-dirs:
check-old-dirs:
.if ${TARGET_ARCH} != ${MACHINE_ARCH}
-.error "You have to run this in a native environment!"
+ @echo "You have to run this in a native environment!" && false
.endif
@echo ">>> Checking for old directories"
.for dir in ${OLD_DIRS}
OpenPOWER on IntegriCloud