summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdk-stage1/pci-resource/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/pci-resource/Makefile b/mdk-stage1/pci-resource/Makefile
index 56824595a..8627ab03c 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 > $@
+ perl update-pci-ids.pl > $@ || rm -f $@
clean:
rm -f pci-ids.h