From 9ae5dd6431b60fca42dd89790db73f82c9f2fb1a Mon Sep 17 00:00:00 2001 From: Vladimir Sokolovsky Date: Mon, 16 Jul 2012 16:40:58 +0300 Subject: [PATCH] Add SLES11.2 support Signed-off-by: Vladimir Sokolovsky --- config.mk | 4 ++++ makefile | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/config.mk b/config.mk index 50c3282..696d26c 100644 --- a/config.mk +++ b/config.mk @@ -61,3 +61,7 @@ ifndef CONFIG_COMPAT_RHEL_6_3 CONFIG_COMPAT_NO_PRINTK_NEEDED=y endif #CONFIG_COMPAT_RHEL_6_3 endif #CONFIG_COMPAT_KERNEL_2_6_38 + +ifdef CONFIG_COMPAT_SLES_11_2 + NEED_MIN_DUMP_ALLOC_ARG=y +endif diff --git a/makefile b/makefile index 19a668c..7f51d3f 100644 --- a/makefile +++ b/makefile @@ -24,7 +24,8 @@ CFLAGS += \ ifneq ($(CONFIG_COMPAT_SLES_11_2),) CFLAGS += \ - -DCONFIG_COMPAT_SLES_11_2=$(CONFIG_COMPAT_SLES_11_2) + -DCONFIG_COMPAT_SLES_11_2=$(CONFIG_COMPAT_SLES_11_2) \ + -DNEED_MIN_DUMP_ALLOC_ARG=$(NEED_MIN_DUMP_ALLOC_ARG) endif DEPMOD = /sbin/depmod -- 2.41.0