diff options
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/lib/Makefile | 13 |
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 | ||
10 | ifdef SIMULATOR | ||
11 | CC = gcc | ||
12 | LD = ld | ||
13 | AR = ar | ||
14 | AS = as | ||
15 | OC = objcopy | ||
16 | else | ||
17 | CC = sh-elf-gcc | 10 | CC = sh-elf-gcc |
18 | LD = sh-elf-ld | 11 | LD = sh-elf-ld |
19 | AR = sh-elf-ar | 12 | AR = sh-elf-ar |
20 | AS = sh-elf-as | 13 | AS = sh-elf-as |
21 | OC = sh-elf-objcopy | 14 | OC = sh-elf-objcopy |
22 | endif | ||
23 | 15 | ||
24 | FIRMWARE = ../../../firmware | 16 | FIRMWARE = ../../../firmware |
25 | 17 | ||
@@ -36,13 +28,8 @@ ifeq ($(ANYREC), RECORDER) | |||
36 | INCLUDES += -I../../recorder | 28 | INCLUDES += -I../../recorder |
37 | endif | 29 | endif |
38 | 30 | ||
39 | ifdef SIMULATOR | ||
40 | CFLAGS = -W -Wall -O -nostdlib -ffreestanding -Wstrict-prototypes \ | ||
41 | $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DSIMULATOR | ||
42 | else | ||
43 | CFLAGS = -W -Wall -O -m1 -nostdlib -ffreestanding -Wstrict-prototypes \ | 31 | CFLAGS = -W -Wall -O -m1 -nostdlib -ffreestanding -Wstrict-prototypes \ |
44 | $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEM} | 32 | $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEM} |
45 | endif | ||
46 | 33 | ||
47 | ifndef MEM | 34 | ifndef MEM |
48 | # if MEM is not set, assume 2MB | 35 | # if MEM is not set, assume 2MB |