Permalink
Browse files

auto-build script for freebsd5

  • Loading branch information...
1 parent 6f42d04 commit 3335bff8aaaa1e6529cd0d35ef1f1d1865f1464e suz committed Jun 6, 2004
Showing with 9 additions and 2 deletions.
  1. +9 −2 Makefile
View
@@ -1,6 +1,6 @@
TARGET?= bogus
ARCH?= i386
-.if ${TARGET} == "freebsd4" || ${TARGET} == "openbsd" || ${TARGET} == "netbsd"
+.if ${TARGET} == "freebsd4" || ${TARGET} == "freebsd5" || ${TARGET} == "openbsd" || ${TARGET} == "netbsd"
KERNCONF?= GENERIC.KAME
.elif ${TARGET} == "bsdi4"
KERNCONF?= GENERIC.KAME
@@ -86,13 +86,20 @@ autobuild:
esac
(cd ${.CURDIR}/${TARGET}; ${MAKE})
case ${TARGET} in \
- bsdi*|freebsd*) \
+ bsdi*|freebsd[234]) \
for i in ${KERNCONF}; do \
(cd ${.CURDIR}/${TARGET}/sys/compile; /bin/rm -fr $$i); \
(cd ${.CURDIR}/${TARGET}/sys/${ARCH}/conf; config $$i); \
(cd ${.CURDIR}/${TARGET}/sys/compile/$$i; ${MAKE} depend; ${MAKE}); \
done; \
;; \
+ freebsd5) \
+ for i in ${KERNCONF}; do \
+ (cd ${.CURDIR}/${TARGET}/sys/${ARCH}/compile; /bin/rm -fr $$i); \
+ (cd ${.CURDIR}/${TARGET}/sys/${ARCH}/conf; config $$i); \
+ (cd ${.CURDIR}/${TARGET}/sys/${ARCH}/compile/$$i; ${MAKE} depend; ${MAKE}); \
+ done; \
+ ;; \
netbsd*|openbsd*) \
for i in ${KERNCONF}; do \
(cd ${.CURDIR}/${TARGET}/sys/arch/${ARCH}/compile; /bin/rm -fr $$i); \

0 comments on commit 3335bff

Please sign in to comment.