From 101fc0328a43ffd9acca83bcaa5ed0f795a8b635 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Fri, 11 Mar 2011 16:15:53 +0100 Subject: [PATCH] rtems: Add support for EXTRA_RULES_SUBDIRS --- snippets/rtems.omk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/snippets/rtems.omk b/snippets/rtems.omk index 8e3ff7d..47a18b0 100644 --- a/snippets/rtems.omk +++ b/snippets/rtems.omk @@ -387,3 +387,10 @@ clean-local: default: include-pass library-pass binary-pass + +include-pass-submakes: extra-rules-subdirs + +# We must go to EXTRA_RULES_SUBDIRS before going to any other +# directory, since the executables compiled in EXTRA_RULES_SUBDIRS +# might be needed there. +include-pass-this-dir $(foreach subdir,$(SUBDIRS),include-pass-$(subdir)-subdir): extra-rules-subdirs -- 2.39.2