Date: Thu, 13 May 1999 20:30:30 -0400 (EDT) From: "John W. DeBoskey" <jwd@unx.sas.com> To: freebsd-current@freebsd.org Subject: make release failure (/usr/src/release/Makefile) Message-ID: <199905140030.UAA52635@bb01f39.unx.sas.com>
next in thread | raw e-mail | index | archive | help
Hi,
I sent the following patch a few days ago... If this is
working for everyone else and not me, I'd love to know what
I'm doing wrong.
perl5 ../../kern/makedevops.pl -h ../../pci/pci_if.m
rm -f .newdep
mkdep -a -f .newdep -O -Wall -Wredundant-decls -Wnested-externs .......
rm -f .depend
mv -f .newdep .depend
make: don't know how to make kernel. Stop
*** Error code 2
by applying the patch below and running /snap/release/mk
via chroot the process finishes correctly.
Thanks!
John
> Hi,
>
> Could you please consider the following patch to
> /usr/src/release/Makefile? It may not be entirely correct,
> but it allows a 'cd /usr/src/release && make release' to
> run to completion. In the kernel makefile, 'kernel'
> is not a target, ${KERNEL} is, and ${KERNEL} has the value
> 'GENERIC'.
>
> Comments welcome!
>
> Thanks!
> John
>
# $Id: Makefile,v 1.482 1999/05/09 17:00:04 obrien Exp $
- --- /snap/release/usr/src/release/Makefile~ Tue May 11 23:50:52 1999
+++ /snap/release/usr/src/release/Makefile Tue May 11 23:43:49 1999
@@ -634,9 +634,9 @@
@rm -f ${RD}/kernels/${KERNEL}
@cd ${.CURDIR}/../sys/${MACHINE_ARCH}/conf && config ${KERNEL}
@cd ${.CURDIR}/../sys/compile/${KERNEL} && \
- - make depend && \
- - make kernel && \
- - cp kernel ${RD}/kernels/${KERNEL}
+ make depend && pwd && \
+ make ${KERNEL} && \
+ cp ${KERNEL} ${RD}/kernels/${KERNEL}
#
# --==## Put a filesystem into a BOOTMFS kernel ##==--
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905140030.UAA52635>
