From eb799a8c46535c95c2be95d89e296c88271350c5 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Mon, 25 Aug 2008 09:32:00 +0000 Subject: [PATCH] Added support for exporting IDL-genrated headers For this to work, IDL compilation must be triggered before include-pass. Therefore, we cannot optimize include pass by not defining USER_RULE_TEMPLATES. This solution is a little hack. Bigger reorganization of OMK rules is needed for proper solution. darcs-hash:20080825093249-f2ef6-affb094c31d09de265b78e7fca20bdfe9a10228d.gz --- snippets/linux | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snippets/linux b/snippets/linux index ded6560..f79f758 100644 --- a/snippets/linux +++ b/snippets/linux @@ -654,7 +654,7 @@ $(eval $(call omk_pass_template, binary-pass, $(USER_OBJS_DIR),USER_RULE_TEMPLAT $(eval $(call omk_pass_template,clean,$(USER_OBJS_DIR),,always)) $(eval $(call omk_pass_template,install,$(USER_OBJS_DIR),,always)) -$(eval $(call omk_pass_template,include-pass,$(USER_OBJS_DIR),,always)) +$(eval $(call omk_pass_template,include-pass,$(USER_OBJS_DIR),USER_RULE_TEMPLATES=y,always)) check-dir: @$(call mkdir_def,$(USER_BUILD_DIR)) @@ -671,7 +671,7 @@ check-dir: install-local: # TODO -include-pass-local: +include-pass-local: $(include_GEN_HEADERS) $(call include-pass-template,$(USER_INCLUDE_DIR),include) $(call include-pass-template,$(KERN_INCLUDE_DIR),kernel) ifeq ($(CONFIG_RTLINUX),y) -- 2.39.2