From: Michal Sojka Date: Mon, 25 Aug 2008 09:32:00 +0000 (+0000) Subject: Added support for exporting IDL-genrated headers X-Git-Tag: v0.1-sssa~46 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/omk.git/commitdiff_plain/eb799a8c46535c95c2be95d89e296c88271350c5 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 --- 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)