From 4bee3cff2ef3a5b64d598940a179eec0d0d74378 Mon Sep 17 00:00:00 2001 From: Erik van der Kouwe Date: Fri, 27 Jan 2012 13:09:26 +0100 Subject: [PATCH] Prevent the ramdisk makefile from failing if the last image is not ELF --- drivers/ramdisk/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.44.0