summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wolfram@the-dreams.de>2011-05-04 22:58:14 +0200
committerHarald Welte <laforge@gnumonks.org>2011-05-05 09:52:46 +0200
commit6b36f7856f1cc88e86e80835c140dc374e20b754 (patch)
tree705455ff0e9d4c2c95647742661a9b0dce37a168
parenta2566d0514f5393e2369e93af0ab80e3e8b2defc (diff)
lib: move delay.c from calypso to lib
Nothing calypso-related in there and needed for Mediatek, too. Signed-off-by: Wolfram Sang <wolfram@the-dreams.de>
-rw-r--r--src/target/firmware/calypso/Makefile2
-rw-r--r--src/target/firmware/lib/Makefile2
-rw-r--r--src/target/firmware/lib/delay.c (renamed from src/target/firmware/calypso/delay.c)0
3 files changed, 2 insertions, 2 deletions
diff --git a/src/target/firmware/calypso/Makefile b/src/target/firmware/calypso/Makefile
index c0620ed8..610a82c0 100644
--- a/src/target/firmware/calypso/Makefile
+++ b/src/target/firmware/calypso/Makefile
@@ -1,4 +1,4 @@
LIBRARIES+=calypso
calypso_DIR=calypso
-calypso_SRCS=arm.c buzzer.c clock.c delay.c dma.c dsp.c du.c i2c.c irq.c rtc.c sim.c spi.c tpu.c tsp.c keypad.c misc.c timer.c backlight.c uart.c uwire.c
+calypso_SRCS=arm.c buzzer.c clock.c dma.c dsp.c du.c i2c.c irq.c rtc.c sim.c spi.c tpu.c tsp.c keypad.c misc.c timer.c backlight.c uart.c uwire.c
diff --git a/src/target/firmware/lib/Makefile b/src/target/firmware/lib/Makefile
index 987857c9..83f9966b 100644
--- a/src/target/firmware/lib/Makefile
+++ b/src/target/firmware/lib/Makefile
@@ -2,6 +2,6 @@
LIBRARIES+=mini
mini_DIR=lib
mini_SRCS=vsprintf.c string.c ctype.c printf.c console.c ctors.c \
- changebit.S clearbit.S div64.S lib1funcs.S memcpy.S memset.S setbit.S testchangebit.S testclearbit.S testsetbit.S
+ changebit.S clearbit.S delay.c div64.S lib1funcs.S memcpy.S memset.S setbit.S testchangebit.S testclearbit.S testsetbit.S
diff --git a/src/target/firmware/calypso/delay.c b/src/target/firmware/lib/delay.c
index 443ca827..443ca827 100644
--- a/src/target/firmware/calypso/delay.c
+++ b/src/target/firmware/lib/delay.c