FreeCalypso > hg > freecalypso-sw
changeset 551:2e662daa7441
L1: l1_cmplx.c compiles for IRAM
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sun, 03 Aug 2014 18:32:58 +0000 |
parents | 6455c06fceb3 |
children | 81cef37b96f9 |
files | .hgignore gsm-fw/L1/cfile/Makefile gsm-fw/L1/intram.sed |
diffstat | 3 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/.hgignore Sun Aug 03 18:12:05 2014 +0000 +++ b/.hgignore Sun Aug 03 18:32:58 2014 +0000 @@ -9,6 +9,7 @@ ^ffstools/tiffs-wrappers/mokoffs$ ^ffstools/tiffs-wrappers/pirffs$ +^gsm-fw/L1/cfile/l1_.*_intram ^gsm-fw/build\.conf$ ^gsm-fw/config\.stamp$ ^gsm-fw/finlink/.*\.ld$
--- a/gsm-fw/L1/cfile/Makefile Sun Aug 03 18:12:05 2014 +0000 +++ b/gsm-fw/L1/cfile/Makefile Sun Aug 03 18:32:58 2014 +0000 @@ -3,8 +3,9 @@ -I../tm_include -I../tm_cust0 -I../tpudrv -DMOVE_IN_INTERNAL_RAM CFLAGS= -O2 -fno-builtin -mthumb-interwork LD= arm-elf-ld +INTSED= ../intram.sed -IOBJS= l1_api_hisr.o +IOBJS= l1_api_hisr.o l1_cmplx_intram.o XOBJS= l1_afunc.o l1_async.o l1_cmplx.o all: ${IOBJS} ${XOBJS} @@ -12,5 +13,8 @@ ${XOBJS}: %.o : %.c ${CC} ${CFLAGS} ${CPPFLAGS} -mthumb -c $< +l1_cmplx_intram.c: l1_cmplx.c ${INTSED} + sed -n -f ${INTSED} l1_cmplx.c > $@ + clean: - rm -f *.[oa] *.out *errs + rm -f *.[oa] l1_*_intram.c *.out *errs