From 48464e0ee1c2de5bcbf0d609348f55d0c301085d Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Mon, 18 Jan 2010 06:49:33 +0000 Subject: Add support for "platform" configurations, which define a suite of compiler-rt libraries to generate. - Each library may be built with different flags and for different architectures, and there is support for building Darwin style fat archives. - Uses an ambituous amount of make programming, but should be hidden to users and developers. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@93720 91177308-0d34-0410-b5e6-96231b3b80d8 --- make/subdir.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'make/subdir.mk') diff --git a/make/subdir.mk b/make/subdir.mk index b0981dcb..900f7e6a 100644 --- a/make/subdir.mk +++ b/make/subdir.mk @@ -74,7 +74,11 @@ endif endef # Evaluate this now so we do not have to worry about order of evaluation. -SubDirsList := $(SubDirs:%=$(Dir)/%) + +SubDirsList := $(strip \ + $(if $(call streq,.,$(Dir)),\ + $(SubDirs),\ + $(SubDirs:%=$(Dir)/%))) ifeq ($(SubDirsList),) else ifneq ($(DEBUGMAKE),) -- cgit v1.2.3