Skip to content

Commit

Permalink
hdmi: Fix the clean path in Makefile
Browse files Browse the repository at this point in the history
The clean path isn't clearing the *.o *.cmd *.cmd.o and some more file
types. This patch fixes this and removes all build artifacts cleanly.

Signed-off-by: Vishal Sagar <vishal.sagar@xilinx.com>
  • Loading branch information
vishals-xlnx committed Jan 16, 2022
1 parent 748da50 commit c65e199
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Makefile
Expand Up @@ -10,8 +10,9 @@ modules_install:
$(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules_install

clean:
rm -f *.o *~ core .depend .*.cmd *.ko *.mod.c
rm -f Module.markers Module.symvers modules.order modules.builtin
rm -f */*.ko */*.mod.c */.*.mod.c */.*.cmd */*.o
rm -f */modules.order */modules.builtin
rm -rf .tmp_versions Modules.symvers
find . -name "*.ko" -type f -delete
find . -name "*.o" -type f -delete
find . -name "*.order" -type f -delete
find . -name "*.cmd" -type f -delete
find . -name "*.mod*" -type f -delete
rm -f Module.symvers

0 comments on commit c65e199

Please sign in to comment.