]> Zhao Yanbai Git Server - minix.git/commitdiff
Fix dependency problems in the build
authorArun Thomas <arun@minix3.org>
Thu, 26 Aug 2010 19:54:49 +0000 (19:54 +0000)
committerArun Thomas <arun@minix3.org>
Thu, 26 Aug 2010 19:54:49 +0000 (19:54 +0000)
drivers/memory/Makefile
tools/Makefile

index 78efeff19f70e782dbf78700b72446a9b1058695..fa90894520d930fe105b115bac9307c4326f745c 100644 (file)
@@ -15,4 +15,6 @@ INSTALLFLAGS+=        -S 8k
 CPPFLAGS.memory.c+=    -I${MINIXSRCDIR}
 CPPFLAGS.imgrd.c+=     -I${.CURDIR}/../ramdisk -T /usr/tmp
 
+imgrd.o: ${.CURDIR}/../ramdisk/image.c
+
 .include <bsd.prog.mk>
index ff40cc5d94d6e14919fb771f964fef71daeaaaac..982bdc441b62172f8619068968fa4c0b9fed6b25 100644 (file)
@@ -49,9 +49,6 @@ image_mb: includes
        installboot -image $@ $(PROGRAMS)
        
 image:  includes services
-       cd ../kernel && $(MAKE)
-       cd ../servers && $(MAKE) all
-       cd ../drivers && $(MAKE) all
        padtext ../kernel/kernel kernel
        installboot -image $@ $(PROGRAMS)
 
@@ -62,9 +59,15 @@ includes:
 depend: includes
        $(MAKE) -C ../ depend
 
-services: includes 
+services: includes kernel servers .WAIT drivers
+
+kernel: includes
        $(MAKE) -C ../kernel 
+
+servers: includes
        $(MAKE) -C ../servers all install
+
+drivers: includes servers
        $(MAKE) -C ../drivers all install
 
 libraries: includes