From 99df7d24f700f381005c853982c45168a51adad0 Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Tue, 30 Sep 2008 21:34:00 +0000 Subject: [PATCH] The include path adjust to allow use of the LOCAL_CONFIG_H for modules build. darcs-hash:20080930213408-ff715-35da391853dd55fcd5a1742f61a337f0e4031d58.gz --- snippets/config_h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/snippets/config_h b/snippets/config_h index 0e25ad9..98f717f 100644 --- a/snippets/config_h +++ b/snippets/config_h @@ -37,7 +37,8 @@ ifdef LOCAL_CONFIG_H # This must be declared after the default cflags are assigned! # Override is used to override command line assignemnt. -override CFLAGS += -I. +override CFLAGS += -I $(USER_OBJS_DIR) +override kernel_INCLUDES += -I $(KERN_OBJS_DIR) $(eval $(call BUILD_CONFIG_H_template,$(USER_OBJS_DIR),$(USER_OBJS_DIR)/$(LOCAL_CONFIG_H),default_CONFIG,_LOCAL_CONFIG_H) ) endif -- 2.39.2