diff mbox series

[U-Boot] Makefile: have "make distclean" remove CHANGELOG

Message ID alpine.LFD.2.21.1901180839550.24150@localhost.localdomain
State Accepted
Delegated to: Tom Rini
Headers show
Series [U-Boot] Makefile: have "make distclean" remove CHANGELOG | expand

Commit Message

Robert P. J. Day Jan. 18, 2019, 1:41 p.m. UTC
Ensure that "make distclean" deletes an existing CHANGELOG file.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

---

Comments

Tom Rini Jan. 27, 2019, 3:52 a.m. UTC | #1
On Fri, Jan 18, 2019 at 08:41:23AM -0500, Robert P. J. Day wrote:

> Ensure that "make distclean" deletes an existing CHANGELOG file.
> 
> Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
> 
> diff --git a/Makefile b/Makefile
> index 3be9fc5c34..b9e8b0952c 100644

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/Makefile b/Makefile
index 3be9fc5c34..b9e8b0952c 100644
--- a/Makefile
+++ b/Makefile
@@ -1795,7 +1795,7 @@  distclean: mrproper
 		-o -name '.*.rej' -o -name '*%' -o -name 'core' \
 		-o -name '*.pyc' \) \
 		-type f -print | xargs rm -f
-	@rm -f boards.cfg
+	@rm -f boards.cfg CHANGELOG

 backup:
 	F=`basename $(srctree)` ; cd .. ; \