]> rtime.felk.cvut.cz Git - eurobot/public.git/commitdiff
Update Makefile.rules na novejsi verzi
authorsojka <sojka@78ed6b52-5822-0410-8084-884f26da6e90>
Mon, 19 Mar 2007 10:56:21 +0000 (10:56 +0000)
committersojka <sojka@78ed6b52-5822-0410-8084-884f26da6e90>
Mon, 19 Mar 2007 10:56:21 +0000 (10:56 +0000)
git-svn-id: svn+ssh://rtime.felk.cvut.cz/var/svn/eurobot/trunk/soft@105 78ed6b52-5822-0410-8084-884f26da6e90

build/_infrastructure/Makefile.rules

index 203b8d02d1b50157dbed869962d4692175b5927f..e522f5880b57520ddaea1bc33915ddbee51d9c1f 100644 (file)
@@ -13,7 +13,6 @@
 # W                .. whole tree - if set to 1, make is always called from the top-level directory
 # SUBDIRS          .. list of subdirectories intended for make from actual directory
 # default_CONFIG   .. list of default config assignments CONFIG_XXX=y/n ...
-# ALL_OMK_SUBDIRS  .. Expands to all subdirectories (even linked ones) containing Makefile.omk
 # LOCAL_CONFIG_H   .. name of local config.h file generated from values #OMK@config_h
 #                     of options defined in the current directory
 # config_include_HEADERS .. names of global config files (possibly
@@ -261,13 +260,6 @@ default-config-pass-local:
        @echo "# Config for $(RELATIVE_DIR)" >> "$(CONFIG_FILE)-default"
        @$(foreach x, $(default_CONFIG), echo $(x) | \
                sed -e 's/^.*=x$$/#\0/' >> "$(CONFIG_FILE)-default" ; )
-
-# =======================
-# Useful macros
-
-# All subdirectories (even linked ones) containing Makefile.omk
-# Usage in Makefile.omk: SUBDIRS = $(ALL_OMK_SUBDIRS)
-ALL_OMK_SUBDIRS = $(shell find -L $(SOURCES_DIR) -maxdepth 2 -mindepth 2 -name Makefile.omk|sed 's!$(SOURCES_DIR)/\(.*\)/.*!\1!')
                                                              #OMK@config_h
 # Syntax: $(call BUILD_CONFIG_H_template,<header_file_path>,<list_of_options_to_export>,<header_barrier>)
 define BUILD_CONFIG_H_template