aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux-core/Makefile4
-rw-r--r--linux/Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/linux-core/Makefile b/linux-core/Makefile
index 28965e4b..3d56c96c 100644
--- a/linux-core/Makefile
+++ b/linux-core/Makefile
@@ -106,7 +106,7 @@ SHAREDSRC = $(DRMSHARED) $(MGASHARED) $(R128SHARED) $(RADEONSHARED) \
PROGS = dristat drmstat
-CLEANFILES = *.o *.ko $(PROGS) .depend .*.flags .*.d .*.cmd *.mod.c linux
+CLEANFILES = *.o *.ko $(PROGS) .depend .*.flags .*.d .*.cmd *.mod.c linux drm_pciids.h .tmp_versions
# VERSION is not defined from the initial invocation. It is defined when
# this Makefile is invoked from the kernel's root Makefile.
@@ -234,7 +234,7 @@ linux:
ln -s . linux
clean cleandir:
- rm -f $(CLEANFILES)
+ rm -rf $(CLEANFILES)
$(MODULE_LIST)::
make DRM_MODULES=$@ modules
diff --git a/linux/Makefile b/linux/Makefile
index 28965e4b..3d56c96c 100644
--- a/linux/Makefile
+++ b/linux/Makefile
@@ -106,7 +106,7 @@ SHAREDSRC = $(DRMSHARED) $(MGASHARED) $(R128SHARED) $(RADEONSHARED) \
PROGS = dristat drmstat
-CLEANFILES = *.o *.ko $(PROGS) .depend .*.flags .*.d .*.cmd *.mod.c linux
+CLEANFILES = *.o *.ko $(PROGS) .depend .*.flags .*.d .*.cmd *.mod.c linux drm_pciids.h .tmp_versions
# VERSION is not defined from the initial invocation. It is defined when
# this Makefile is invoked from the kernel's root Makefile.
@@ -234,7 +234,7 @@ linux:
ln -s . linux
clean cleandir:
- rm -f $(CLEANFILES)
+ rm -rf $(CLEANFILES)
$(MODULE_LIST)::
make DRM_MODULES=$@ modules