changeset 2791:0df4a4590bc6 lwtools-port

Updated level2/coco3/cmds/makefile to set correct lib file based on H6309 tag. Updated level2/coco3/cmds/makefile to detect if H6309 is present and if so to use the sys6309l2.a lib file and if the value is not set then use sys6809l2.a lib file.
author drencor-xeen
date Sun, 27 Jan 2013 10:41:30 -0600
parents 19517af71188
children 8212aec53a14
files ChangeLog level2/coco3/cmds/makefile
diffstat 2 files changed, 15 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Jan 27 08:01:00 2013 -0600
+++ b/ChangeLog	Sun Jan 27 10:41:30 2013 -0600
@@ -3,6 +3,15 @@
 ----------------------------------------------------------
 2013/01/27 David Ladd
 M ChangeLog
+M level2/coco3/cmds/makefile
+
+Updated level2/coco3/cmds/makefile to detect for H6309
+and if set use the sys6309l2.a lib file otherwise
+use sys6809l2.a lib file.
+
+----------------------------------------------------------
+2013/01/27 David Ladd
+M ChangeLog
 M level1/coco1/bootfiles/makefile
 M level1/coco1/modules/makefile
 
--- a/level2/coco3/cmds/makefile	Sun Jan 27 08:01:00 2013 -0600
+++ b/level2/coco3/cmds/makefile	Sun Jan 27 10:41:30 2013 -0600
@@ -6,7 +6,12 @@
 
 DEPENDS		= ./makefile
 AFLAGS          += --includedir=$(NITROS9DIR)/3rdparty/packages/basic09
-LFLAGS		+= $(NITROS9DIR)/lib/sys6809l1.a $(NITROS9DIR)/lib/net.a $(NITROS9DIR)/lib/alib.a 
+ifdef	H6309
+LFLAGS		+= $(NITROS9DIR)/lib/sys6309l2.a 
+else
+LFLAGS		+= $(NITROS9DIR)/lib/sys6809l2.a
+endif
+LFLAGS		+= $(NITROS9DIR)/lib/net.a $(NITROS9DIR)/lib/alib.a 
 
 CMDS		= asm attr backup binex build cmp cobbler copy cputype \
 		date dcheck debug ded deiniz del deldir devs dir dirsort disasm \