]> Zhao Yanbai Git Server - minix.git/commitdiff
Prevent the ramdisk makefile from failing if the last image is not ELF
authorErik van der Kouwe <erik@minix3.org>
Fri, 27 Jan 2012 12:09:26 +0000 (13:09 +0100)
committerErik van der Kouwe <erik@minix3.org>
Fri, 27 Jan 2012 12:10:00 +0000 (13:10 +0100)
drivers/ramdisk/Makefile

index 72964e2944f4bbb175ff41d637a7c4ecb09d8bfd..016107477266b8d75ae0e76697fce5cb2a052b6c 100644 (file)
@@ -183,7 +183,7 @@ rs.single: ../../etc/rs.single
        install ${STRIPFLAG} ../../etc/$@ $@
 
 proto.gen: $(PROGRAMS) $(SCRIPTS) proto.sh ${PROTO}
-       for p in $(PROGRAMS); do file $$p | grep -q ELF && strip -s $$p; done
+       for p in $(PROGRAMS); do file $$p | grep -q ELF && strip -s $$p || true; done
        sh -e proto.sh ${PROTO} >proto.gen
 
 .include <minix.service.mk>