summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2014-09-04 20:44:41 +0000
committeremaste <emaste@FreeBSD.org>2014-09-04 20:44:41 +0000
commit8902ebf6cdd32bb4f7d239e230941db40dd9313d (patch)
treecf39ebdcf4a6a6521e867f6875e7164a0c85709f /sys/boot
parenta3fd928a8025c53b2f93830718dfbb232f2964df (diff)
downloadFreeBSD-src-8902ebf6cdd32bb4f7d239e230941db40dd9313d.zip
FreeBSD-src-8902ebf6cdd32bb4f7d239e230941db40dd9313d.tar.gz
MFC libstand32 clean target fixes
r269029 (sbruno): Update so that clean target in sys/boot will delete the symlink created for machine r269036 (sbruno): Delete the entire cleandepend/cleanmachine target thing now that its been cleared out in r269029
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/libstand32/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/boot/libstand32/Makefile b/sys/boot/libstand32/Makefile
index da978f9..0bb34a8 100644
--- a/sys/boot/libstand32/Makefile
+++ b/sys/boot/libstand32/Makefile
@@ -186,11 +186,8 @@ SRCS+= nandfs.c
.include <bsd.lib.mk>
.if ${MACHINE_CPUARCH} == "amd64"
+CLEANFILES+= machine
beforedepend ${OBJS}: machine
-cleandepend: cleanmachine
-cleanmachine:
- rm -f machine
-
machine:
- ln -s ${.CURDIR}/../../i386/include machine
+ ln -fs ${.CURDIR}/../../i386/include machine
.endif
OpenPOWER on IntegriCloud