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
$(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,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))
check-dir:
@$(call mkdir_def,$(USER_BUILD_DIR))
+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)
$(call include-pass-template,$(USER_INCLUDE_DIR),include)
$(call include-pass-template,$(KERN_INCLUDE_DIR),kernel)
ifeq ($(CONFIG_RTLINUX),y)