From: Pavel Pisa Date: Tue, 30 Sep 2008 21:34:00 +0000 (+0000) Subject: The include path adjust to allow use of the LOCAL_CONFIG_H for modules build. X-Git-Tag: v0.1-sssa~30 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/omk.git/commitdiff_plain/99df7d24f700f381005c853982c45168a51adad0 The include path adjust to allow use of the LOCAL_CONFIG_H for modules build. darcs-hash:20080930213408-ff715-35da391853dd55fcd5a1742f61a337f0e4031d58.gz --- 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