compat: avoid inclusin of COMPAT_CONFIG at clean target
authorLuis R. Rodriguez <>
Fri, 30 Mar 2012 21:03:18 +0000 (14:03 -0700)
committerLuis R. Rodriguez <>
Fri, 30 Mar 2012 21:47:46 +0000 (14:47 -0700)
Technically we can include COMPAT_CONFIG for all targets but
at make clean we won't have it. Avoid that warning.

mcgrof@tux ~/compat (git::master)$ ckmake
Trying kernel                  3.3.0-030300rc2-generic  [OK]
Trying kernel                     3.2.2-030202-generic  [OK]
Trying kernel                    3.1.10-030110-generic  [OK]
Trying kernel                    3.0.18-030018-generic  [OK]
Trying kernel                  2.6.39-02063904-generic  [OK]
Trying kernel                        2.6.38-13-generic  [OK]
Trying kernel                  2.6.38-02063808-generic  [OK]
Trying kernel                  2.6.37-02063706-generic  [OK]
Trying kernel                  2.6.36-02063604-generic  [OK]
Trying kernel                  2.6.35-02063512-generic  [OK]
Trying kernel                  2.6.34-02063410-generic  [OK]
Trying kernel                  2.6.33-02063305-generic  [OK]
Trying kernel                  2.6.32-02063255-generic  [OK]
Trying kernel                        2.6.31-22-generic  [OK]
Trying kernel                  2.6.31-02063113-generic  [OK]
Trying kernel                  2.6.30-02063010-generic  [OK]
Trying kernel                  2.6.29-02062906-generic  [OK]
Trying kernel                  2.6.28-02062810-generic  [OK]
Trying kernel                    2.6.27-020627-generic  [OK]
Trying kernel                    2.6.26-020626-generic  [OK]
Trying kernel                    2.6.25-020625-generic  [OK]
Trying kernel                    2.6.24-020624-generic  [OK]

Signed-off-by: Luis R. Rodriguez <>

index 82d4cbb..570dd8b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -39,7 +39,9 @@ NOSTDINC_FLAGS := -I$(M)/include/ \
        -DCOMPAT_PROJECT="\"Generic kernel\"" \
-include $(COMPAT_CONFIG)
+# Technicallay we can require the inclusion of COMPAT_CONFIG for
+# all targets except clean, so avoid the warnings at clean time.
+-include $(COMPAT_CONFIG)
 obj-y += compat/