DragonFly BSD
DragonFly kernel List (threaded) for 2005-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Cannot build kernel by typing "make depend;make"


From: YONETANI Tomokazu <qhwt+dfly@xxxxxxxxxx>
Date: Wed, 17 Aug 2005 11:52:25 +0900

On Wed, Aug 17, 2005 at 10:51:42AM +0900, Noritoshi Demizu wrote:
> With the latest DragonflyBSD kernel source code, I cannot build kernel
> by typing "make depend; make", which normally works fine for me.
> Instead, I need to type "make depend; make all" today.

Oh, I didn't think about that procedure for building the kernel.
I'm sorry about the inconvenience.

> When I simply type "make", it tries to make ${.OBJDIR}/acpi.h instead
> of kernel, because it is declared earlier than "all".
> ("${.OBJDIR}/acpi.h: ..." is declared in sys/conf/acpi.mk,
>  which is included by Makefile.)
> 
> I think kernel is more appropriate than acpi.h to build by default.
> So, I'd like to request to revert it.

Can you try the newer version and see if you have any other problems?
(you need to re-run the config command to update the Makefile in the
 kernel build directory, or manually add the `.MAIN: all' to the
 corresponding place)

Thanks.
Index: sys/conf/Makefile.amd64
===================================================================
RCS file: /home/source/dragonfly/cvs/src/sys/conf/Makefile.amd64,v
retrieving revision 1.7
diff -u -r1.7 Makefile.amd64
--- sys/conf/Makefile.amd64	16 Aug 2005 10:31:35 -0000	1.7
+++ sys/conf/Makefile.amd64	17 Aug 2005 02:26:28 -0000
@@ -23,6 +23,9 @@
 KERNEL?=	kernel
 STD8X16FONT?=	iso
 
+# build this target if none is specified on the command line
+.MAIN:	all
+
 .if !defined(S)
 .if exists(./@/.)
 S=	./@
Index: sys/conf/Makefile.i386
===================================================================
RCS file: /home/source/dragonfly/cvs/src/sys/conf/Makefile.i386,v
retrieving revision 1.22
diff -u -r1.22 Makefile.i386
--- sys/conf/Makefile.i386	16 Aug 2005 10:31:35 -0000	1.22
+++ sys/conf/Makefile.i386	17 Aug 2005 02:26:32 -0000
@@ -30,6 +30,9 @@
 KERNEL?=	kernel
 STD8X16FONT?=	iso
 
+# build this target if none is specified on the command line
+.MAIN:	all
+
 .if !defined(S)
 .if exists(./@/.)
 S=	./@


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]