From b6169a6a48796105a71cdd0fe8681408ff860163 Mon Sep 17 00:00:00 2001 From: Vladimir Sokolovsky Date: Wed, 1 Aug 2012 16:41:13 +0300 Subject: [PATCH] makefile: Add CONFIG_COMPAT_SKB_FRAG_NEEDED It is required for kernels <= 3.2 except RHEL6.3 Signed-off-by: Vladimir Sokolovsky --- makefile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index 7f51d3f..8d04b9c 100644 --- a/makefile +++ b/makefile @@ -24,8 +24,17 @@ CFLAGS += \ ifneq ($(CONFIG_COMPAT_SLES_11_2),) CFLAGS += \ - -DCONFIG_COMPAT_SLES_11_2=$(CONFIG_COMPAT_SLES_11_2) \ - -DNEED_MIN_DUMP_ALLOC_ARG=$(NEED_MIN_DUMP_ALLOC_ARG) + -DCONFIG_COMPAT_SLES_11_2 +endif + +ifneq ($(NEED_MIN_DUMP_ALLOC_ARG),) +CFLAGS += \ + -DNEED_MIN_DUMP_ALLOC_ARG +endif + +ifneq ($(CONFIG_COMPAT_SKB_FRAG_NEEDED),) +CFLAGS += \ + -DCONFIG_COMPAT_SKB_FRAG_NEEDED endif DEPMOD = /sbin/depmod -- 2.41.0