From: asterix Date: Mon, 27 Apr 2009 14:08:19 +0000 (+0000) Subject: Move sam7x makefile to sam7 proj dir. X-Git-Tag: 2.1.0~7 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=81e1190fbe3a47266f212ecc05fadc1753303854;p=bertos.git Move sam7x makefile to sam7 proj dir. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2675 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/examples/at91sam7/at91sam7x.mk b/examples/at91sam7/at91sam7x.mk new file mode 100644 index 00000000..2a3bcfc8 --- /dev/null +++ b/examples/at91sam7/at91sam7x.mk @@ -0,0 +1,48 @@ +# +# $Id: at91sam7x.mk 18234 2007-10-08 13:39:48Z rasky $ +# Copyright 2006 Develer S.r.l. (http://www.develer.com/) +# All rights reserved. +# +# Makefile fragment for DevLib at91sam7x application. +# +# Author: Bernie Innocenti +# +# + +# Set to 1 for debug builds +at91sam7x_DEBUG = 1 + +# Our target application +TRG += at91sam7x + +at91sam7x_CSRC = \ + examples/at91sam7x/at91sam7x.c \ + bertos/drv/timer.c \ + bertos/drv/ser.c \ + bertos/cpu/arm/drv/sysirq_at91.c \ + bertos/cpu/arm/drv/ser_at91.c \ + bertos/cpu/arm/drv/timer_at91.c \ + bertos/mware/event.c \ + bertos/mware/formatwr.c \ + bertos/mware/hex.c \ + bertos/kern/kfile.c \ + bertos/kern/proc.c \ + bertos/kern/coop.c \ + bertos/kern/proc_test.c \ + bertos/kern/monitor.c \ + bertos/kern/signal.c \ + # + +at91sam7x_CPPASRC = \ + bertos/cpu/arm/hw/crtat91sam7_rom.S \ + bertos/cpu/arm/hw/switch_ctx_arm.S \ + # + +at91sam7x_PREFIX = arm-none-eabi- + +at91sam7x_CPPAFLAGS = -O0 -g -gdwarf-2 -g -gen-debug +at91sam7x_CPPFLAGS = -O0 -D'ARCH=0' -D__ARM_AT91SAM7X256__ -D'CPU_FREQ=(48023000UL)' -D'WIZ_AUTOGEN' -g3 -gdwarf-2 -fverbose-asm -Iexamples/at91sam7x -Ibertos/cpu/arm +at91sam7x_LDFLAGS = -nostartfiles -T bertos/cpu/arm/scripts/at91sam7_256_rom.ld -Wl,--no-warn-mismatch + +at91sam7x_CPU = arm7tdmi + diff --git a/examples/at91sam7x/at91sam7x.mk b/examples/at91sam7x/at91sam7x.mk deleted file mode 100644 index 2a3bcfc8..00000000 --- a/examples/at91sam7x/at91sam7x.mk +++ /dev/null @@ -1,48 +0,0 @@ -# -# $Id: at91sam7x.mk 18234 2007-10-08 13:39:48Z rasky $ -# Copyright 2006 Develer S.r.l. (http://www.develer.com/) -# All rights reserved. -# -# Makefile fragment for DevLib at91sam7x application. -# -# Author: Bernie Innocenti -# -# - -# Set to 1 for debug builds -at91sam7x_DEBUG = 1 - -# Our target application -TRG += at91sam7x - -at91sam7x_CSRC = \ - examples/at91sam7x/at91sam7x.c \ - bertos/drv/timer.c \ - bertos/drv/ser.c \ - bertos/cpu/arm/drv/sysirq_at91.c \ - bertos/cpu/arm/drv/ser_at91.c \ - bertos/cpu/arm/drv/timer_at91.c \ - bertos/mware/event.c \ - bertos/mware/formatwr.c \ - bertos/mware/hex.c \ - bertos/kern/kfile.c \ - bertos/kern/proc.c \ - bertos/kern/coop.c \ - bertos/kern/proc_test.c \ - bertos/kern/monitor.c \ - bertos/kern/signal.c \ - # - -at91sam7x_CPPASRC = \ - bertos/cpu/arm/hw/crtat91sam7_rom.S \ - bertos/cpu/arm/hw/switch_ctx_arm.S \ - # - -at91sam7x_PREFIX = arm-none-eabi- - -at91sam7x_CPPAFLAGS = -O0 -g -gdwarf-2 -g -gen-debug -at91sam7x_CPPFLAGS = -O0 -D'ARCH=0' -D__ARM_AT91SAM7X256__ -D'CPU_FREQ=(48023000UL)' -D'WIZ_AUTOGEN' -g3 -gdwarf-2 -fverbose-asm -Iexamples/at91sam7x -Ibertos/cpu/arm -at91sam7x_LDFLAGS = -nostartfiles -T bertos/cpu/arm/scripts/at91sam7_256_rom.ld -Wl,--no-warn-mismatch - -at91sam7x_CPU = arm7tdmi -