EXTRA_CFLAGS is deprecated since v2.6.23-2309-gf77bf01 and should not be used anymore to add additional flags for the c compiler.
Signed-off-by: Sven Eckelmann sven@narfation.org --- Makefile.kbuild | 4 ++-- README | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Makefile.kbuild b/Makefile.kbuild index 6377c17..bd7e93c 100644 --- a/Makefile.kbuild +++ b/Makefile.kbuild @@ -25,10 +25,10 @@ ifeq ($(MAKING_MODULES),1) -include $(TOPDIR)/Rules.make endif
-# EXTRA_CFLAGS += -DCONFIG_BATMAN_ADV_DEBUG +# ccflags-y += -DCONFIG_BATMAN_ADV_DEBUG
ifneq ($(REVISION),) -EXTRA_CFLAGS += -DSOURCE_VERSION="$(REVISION)" +ccflags-y += -DSOURCE_VERSION="$(REVISION)" endif
obj-m += batman-adv.o diff --git a/README b/README index 1e000ee..5ba56b5 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -[state: 21-08-2011] +[state: 30-09-2011]
BATMAN-ADV ---------- @@ -206,7 +206,7 @@ option "B.A.T.M.A.N. debugging". When compiling outside of the kernel tree it is necessary to edit the file Makefile.kbuild and uncomment the line
-#EXTRA_CFLAGS += -DCONFIG_BATMAN_ADV_DEBUG +#ccflags-y += -DCONFIG_BATMAN_ADV_DEBUG
Those additional debug messages can be accessed using a special file in debugfs