summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/lib/Makefile13
1 files changed, 0 insertions, 13 deletions
diff --git a/apps/plugins/lib/Makefile b/apps/plugins/lib/Makefile
index df527d84f2..929ee98763 100644
--- a/apps/plugins/lib/Makefile
+++ b/apps/plugins/lib/Makefile
@@ -7,19 +7,11 @@
7# $Id$ 7# $Id$
8# 8#
9 9
10ifdef SIMULATOR
11CC = gcc
12LD = ld
13AR = ar
14AS = as
15OC = objcopy
16else
17CC = sh-elf-gcc 10CC = sh-elf-gcc
18LD = sh-elf-ld 11LD = sh-elf-ld
19AR = sh-elf-ar 12AR = sh-elf-ar
20AS = sh-elf-as 13AS = sh-elf-as
21OC = sh-elf-objcopy 14OC = sh-elf-objcopy
22endif
23 15
24FIRMWARE = ../../../firmware 16FIRMWARE = ../../../firmware
25 17
@@ -36,13 +28,8 @@ ifeq ($(ANYREC), RECORDER)
36INCLUDES += -I../../recorder 28INCLUDES += -I../../recorder
37endif 29endif
38 30
39ifdef SIMULATOR
40CFLAGS = -W -Wall -O -nostdlib -ffreestanding -Wstrict-prototypes \
41$(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DSIMULATOR
42else
43CFLAGS = -W -Wall -O -m1 -nostdlib -ffreestanding -Wstrict-prototypes \ 31CFLAGS = -W -Wall -O -m1 -nostdlib -ffreestanding -Wstrict-prototypes \
44$(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEM} 32$(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEM}
45endif
46 33
47ifndef MEM 34ifndef MEM
48 # if MEM is not set, assume 2MB 35 # if MEM is not set, assume 2MB