svn commit: r269029 - head/sys/boot/libstand32

Sean Bruno sbruno at FreeBSD.org
Wed Jul 23 22:11:05 UTC 2014


Author: sbruno
Date: Wed Jul 23 22:11:04 2014
New Revision: 269029
URL: http://svnweb.freebsd.org/changeset/base/269029

Log:
  Update so that clean target in sys/boot will delete the symlink
  created for machine
  
  Reviewed by:	emaste

Modified:
  head/sys/boot/libstand32/Makefile

Modified: head/sys/boot/libstand32/Makefile
==============================================================================
--- head/sys/boot/libstand32/Makefile	Wed Jul 23 22:10:34 2014	(r269028)
+++ head/sys/boot/libstand32/Makefile	Wed Jul 23 22:11:04 2014	(r269029)
@@ -173,11 +173,9 @@ 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


More information about the svn-src-head mailing list