Skip to content

Commit 0b2b83d

Browse files
authored
Add support for a user-defined list of dynamic targets
1 parent 26e1cfb commit 0b2b83d

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Makefile.system

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ endif
248248

249249
ifeq ($(OSNAME), Darwin)
250250
ifndef MACOSX_DEPLOYMENT_TARGET
251-
export MACOSX_DEPLOYMENT_TARGET=10.6
251+
export MACOSX_DEPLOYMENT_TARGET=10.8
252252
endif
253253
MD5SUM = md5 -r
254254
endif
@@ -497,6 +497,14 @@ endif
497497
endif
498498
endif
499499

500+
ifdef DYNAMIC_LIST
501+
override DYNAMIC_CORE = PRESCOTT $(DYNAMIC_LIST)
502+
XCCOMMON_OPT = -DDYNAMIC_LIST -DDYN_PRESCOTT
503+
XCCOMMON_OPT += $(foreach dcore,$(DYNAMIC_LIST),-DDYN_$(dcore))
504+
CCOMMON_OPT += $(XCCOMMON_OPT)
505+
#CCOMMON_OPT += -DDYNAMIC_LIST='$(DYNAMIC_LIST)'
506+
endif
507+
500508
# If DYNAMIC_CORE is not set, DYNAMIC_ARCH cannot do anything, so force it to empty
501509
ifndef DYNAMIC_CORE
502510
override DYNAMIC_ARCH=

0 commit comments

Comments
 (0)