Permalink
Browse files

on autobuild, nuke kernel build tree before doing anything

  • Loading branch information...
1 parent e816e14 commit 1e594e6dc0bb339ff643701e9c0bba0676240e1e itojun committed Sep 9, 2000
Showing with 4 additions and 2 deletions.
  1. +4 −2 Makefile
View
@@ -82,12 +82,14 @@ autobuild:
(cd ${.CURDIR}/${TARGET}; ${MAKE})
case ${TARGET} in \
bsdi*|freebsd*) \
+ (cd ${.CURDIR}/${TARGET}/sys/compile; /bin/rm -fr ${KERNCONF}); \
(cd ${.CURDIR}/${TARGET}/sys/${ARCH}/conf; config ${KERNCONF}); \
- (cd ${.CURDIR}/${TARGET}/sys/compile/${KERNCONF}; ${MAKE} clean depend; ${MAKE}); \
+ (cd ${.CURDIR}/${TARGET}/sys/compile/${KERNCONF}; ${MAKE} depend; ${MAKE}); \
;; \
netbsd*|openbsd*) \
+ (cd ${.CURDIR}/${TARGET}/sys/arch/${ARCH}/compile; /bin/rm -fr ${KERNCONF}); \
(cd ${.CURDIR}/${TARGET}/sys/arch/${ARCH}/conf; config ${KERNCONF}); \
- (cd ${.CURDIR}/${TARGET}/sys/arch/${ARCH}/compile/${KERNCONF}; ${MAKE} clean depend; ${MAKE}); \
+ (cd ${.CURDIR}/${TARGET}/sys/arch/${ARCH}/compile/${KERNCONF}; ${MAKE} depend; ${MAKE}); \
;; \
esac

0 comments on commit 1e594e6

Please sign in to comment.