Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

auto-build script for freebsd5

  • Loading branch information...
commit 3335bff8aaaa1e6529cd0d35ef1f1d1865f1464e 1 parent 6f42d04
suz authored
Showing with 9 additions and 2 deletions.
  1. +9 −2 Makefile
View
11 Makefile
@@ -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); \
Please sign in to comment.
Something went wrong with that request. Please try again.