summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdk-stage1/Makefile2
-rw-r--r--mdk-stage1/pci-resource/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/mdk-stage1/Makefile b/mdk-stage1/Makefile
index 8eeb8c80c..d1fb55ac8 100644
--- a/mdk-stage1/Makefile
+++ b/mdk-stage1/Makefile
@@ -170,7 +170,7 @@ all: dirs $(BINS)
dirs:
@for n in . $(DIRS); do \
- [ "$$n" = "." ] || make -C $$n ;\
+ [ "$$n" = "." ] || make -C $$n || exit 1 ;\
done
init: $(INITOBJS) $(INIT_LIBC)
diff --git a/mdk-stage1/pci-resource/Makefile b/mdk-stage1/pci-resource/Makefile
index 8627ab03c..4e1e8e3dc 100644
--- a/mdk-stage1/pci-resource/Makefile
+++ b/mdk-stage1/pci-resource/Makefile
@@ -19,7 +19,7 @@
all: pci-ids.h
pci-ids.h: /usr/share/ldetect-lst/pcitable update-pci-ids.pl
- perl update-pci-ids.pl > $@ || rm -f $@
+ perl update-pci-ids.pl > $@ || rm -f $@ && exit 1
clean:
rm -f pci-ids.h