summaryrefslogtreecommitdiff
path: root/backport/Makefile.real
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-04-22 13:46:13 +0200
committerJohannes Berg <johannes.berg@intel.com>2013-04-22 13:50:52 +0200
commitb9224daa41f24cf3d19d15dfd17b0c8cef774429 (patch)
tree939a0e56d09e261d4c61c3a612feab9a7237ca1e /backport/Makefile.real
parent0ea9bf20ae32454911519335ac8b05afeec8a4ba (diff)
backports: support make clean/mrproper
The kernel's "make clean" will recurse into subdirectories, even into those that aren't enabled in Kconfig. Thus, the previous trick of changing symbols from CONFIG_* to IMPOSSIBLE_* doesn't work any more. Change this to comment out the lines instead and then support "make clean" and "make mrproper". Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'backport/Makefile.real')
-rw-r--r--backport/Makefile.real4
1 files changed, 4 insertions, 0 deletions
diff --git a/backport/Makefile.real b/backport/Makefile.real
index 243f904f..e033d73b 100644
--- a/backport/Makefile.real
+++ b/backport/Makefile.real
@@ -97,3 +97,7 @@ install: modules
@echo Your backported driver modules should be installed now.
@echo Reboot.
@echo
+
+.PHONY: clean
+clean:
+ @$(MAKE) -f Makefile.build clean