From: Paul Brook <p...@codesourcery.com>

Add a dummy command to the all: rule in sub-makefiles.
This avoids "Nothing to be done for `all'." messages from make.

Signed-off-by: Paul Brook <p...@codesourcery.com>

diff --git a/Makefile.hw b/Makefile.hw
index 010e63c..6accb3b 100644
--- a/Makefile.hw
+++ b/Makefile.hw
@@ -29,6 +29,8 @@ OBJS+= lsi53c895a.o esp.o
 OBJS+= dma-helpers.o sysbus.o
 
 all: $(HWLIB)
+# Dummy command so that make thinks it has done something
+       @true
 
 $(HWLIB): $(OBJS)
 
diff --git a/Makefile.target b/Makefile.target
index 664a1e3..f9f1c59 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -128,6 +128,8 @@ kvm.o: CFLAGS+=$(KVM_CFLAGS)
 kvm-all.o: CFLAGS+=$(KVM_CFLAGS)
 
 all: $(PROGS)
+# Dummy command so that make thinks it has done something
+       @true
 
 #########################################################
 # cpu emulator library


Reply via email to