From: Erik van der Kouwe Date: Fri, 27 Jan 2012 12:09:26 +0000 (+0100) Subject: Prevent the ramdisk makefile from failing if the last image is not ELF X-Git-Tag: v3.2.0~104 X-Git-Url: http://zhaoyanbai.com/repos/%7B%24global.css%7D?a=commitdiff_plain;h=4bee3cff2ef3a5b64d598940a179eec0d0d74378;p=minix.git Prevent the ramdisk makefile from failing if the last image is not ELF --- diff --git a/drivers/ramdisk/Makefile b/drivers/ramdisk/Makefile index 72964e294..016107477 100644 --- a/drivers/ramdisk/Makefile +++ b/drivers/ramdisk/Makefile @@ -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