From 368f77ceeaa2837e8bdb6926783b74e85cb54670 Mon Sep 17 00:00:00 2001 From: Arun Thomas Date: Tue, 6 Jul 2010 09:19:04 +0000 Subject: [PATCH] Fix building of image target --- drivers/ramdisk/Makefile | 2 +- tools/Makefile | 9 +++------ 2 files changed, 4 insertions(+), 7 deletions(-) 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 -- 2.44.0