From: Arun Thomas Date: Tue, 6 Jul 2010 09:19:04 +0000 (+0000) Subject: Fix building of image target X-Git-Tag: v3.1.8~280 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/index.html?a=commitdiff_plain;h=368f77ceeaa2837e8bdb6926783b74e85cb54670;p=minix.git Fix building of image target --- diff --git a/drivers/ramdisk/Makefile b/drivers/ramdisk/Makefile index 870111758..f8728f30b 100644 --- a/drivers/ramdisk/Makefile +++ b/drivers/ramdisk/Makefile @@ -4,7 +4,7 @@ PROGRAMS=at_wini bios_wini cdprobe dev2name floppy loadramdisk newroot \ pci sh service sysenv mfs EXTRA=system.conf passwd rs.single -CPPFLAGS+= -I${MINIXSRCDIR}/servers +CPPFLAGS+= -I${MINIXSRCDIR}/servers -I${MINIXSRCDIR} MAKEDEV=/usr/bin/MAKEDEV install: all diff --git a/tools/Makefile b/tools/Makefile index c0726b34e..5c5dca4e6 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -42,10 +42,7 @@ usage: all: services image -image: includes - $(MAKE) -C ../kernel - $(MAKE) -C ../servers all install - $(MAKE) -C ../drivers all install +image: includes services installboot -image $@ $(PROGRAMS) # rebuild the program or system libraries @@ -57,8 +54,8 @@ depend: includes services: includes $(MAKE) -C ../kernel - $(MAKE) -C ../servers install - $(MAKE) -C ../drivers install + $(MAKE) -C ../servers all install + $(MAKE) -C ../drivers all install libraries: includes cd ../lib && sh ack_build.sh clean obj depend all install