Skip to content

Commit

Permalink
microblaze: Fix Makefile to delete build generated files
Browse files Browse the repository at this point in the history
'make clean' does not to delete the following build generated file:
	arch/microblaze/boot/linux.bin.ub

'make mrproper' does not to delete the following build generated files:
	arch/microblaze/boot/simpleImage.*

Fix the Makefile to delete these build generated files.

See [1] for a discussion on why simpleImage.* files are deleted with 'make
mrproper' and not with 'make clean'.
	[1] http://lkml.org/lkml/2010/3/12/96

Signed-off-by: Arun Bhanu <arun@bhanu.net>
Signed-off-by: Michal Simek <monstr@monstr.eu>
  • Loading branch information
Arun Bhanu authored and Michal Simek committed Apr 1, 2010
1 parent 699d17b commit 8a8804f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions arch/microblaze/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,5 @@ define archhelp
echo ' name of a dts file from the arch/microblaze/boot/dts/ directory'
echo ' (minus the .dts extension).'
endef

MRPROPER_FILES += $(boot)/simpleImage.*
2 changes: 1 addition & 1 deletion arch/microblaze/boot/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ $(obj)/%.dtb: $(dtstree)/%.dts FORCE

clean-kernel += linux.bin linux.bin.gz simpleImage.*

clean-files += *.dtb simpleImage.*.unstrip
clean-files += *.dtb simpleImage.*.unstrip linux.bin.ub

0 comments on commit 8a8804f

Please sign in to comment.