aboutsummaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorBreno Leitao <breno.leitao@gmail.com>2016-09-07 09:48:33 -0300
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-09-14 16:36:05 +1000
commitf22edb88cefdfbcb19ce6d296ccc4d8f1fbbc73e (patch)
treed29c2d3fc6f018beadf3e80a1690ca848df3326a /external
parent9e8350ce7756318f451e470b551c3486ba93c28c (diff)
downloadskiboot-f22edb88cefdfbcb19ce6d296ccc4d8f1fbbc73e.zip
skiboot-f22edb88cefdfbcb19ce6d296ccc4d8f1fbbc73e.tar.gz
skiboot-f22edb88cefdfbcb19ce6d296ccc4d8f1fbbc73e.tar.bz2
pflash and opal-prd: Fix dist-clean
Currently pflash and opal-prd do not return to its original tree after a 'make distclean'. I understand that distclean should return the tree to its original state, so, the make can restart from scratch. On Debian[1], we need to clear these remaining file 'manually' to make the build 'reproducible' (two builds in sequence). [1] https://packages.debian.org/source/sid/skiboot Signed-off-by: Breno Leitao <breno.leitao@gmail.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'external')
-rw-r--r--external/opal-prd/Makefile1
-rw-r--r--external/pflash/Makefile2
2 files changed, 2 insertions, 1 deletions
diff --git a/external/opal-prd/Makefile b/external/opal-prd/Makefile
index 7482af3..ccd3401 100644
--- a/external/opal-prd/Makefile
+++ b/external/opal-prd/Makefile
@@ -71,3 +71,4 @@ clean:
distclean: clean
$(RM) -f $(LINKS) asm
+ $(RM) -f libflash ccan version.c .version common
diff --git a/external/pflash/Makefile b/external/pflash/Makefile
index 4c9b08b..0b3a2a6 100644
--- a/external/pflash/Makefile
+++ b/external/pflash/Makefile
@@ -30,5 +30,5 @@ clean: arch_clean
.PHONY: distclean
distclean: clean
rm -f *.c~ *.h~ *.sh~ Makefile~ config.mk~ libflash/*.c~ libflash/*.h~
- rm -f libflash ccan .version .version.tmp
+ rm -f libflash ccan version.c .version .version.tmp
rm -f common io.h