summaryrefslogtreecommitdiff
path: root/firmware/firmware.make
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-05-14 12:37:05 +0000
committerThomas Martitz <kugel@rockbox.org>2010-05-14 12:37:05 +0000
commit3cca7e865082c8144a47687e3a2455fba5a927d5 (patch)
treeb5bf8a0d943b9af94be5ef5b47f1046ce84576e3 /firmware/firmware.make
parent3d1a85695b64029d93de631d0c6fd81c3311d6e7 (diff)
downloadrockbox-3cca7e865082c8144a47687e3a2455fba5a927d5.tar.gz
rockbox-3cca7e865082c8144a47687e3a2455fba5a927d5.zip
Include host system's header files and don't compile our c library replacements in the sim.
This makes it possible to move the simulator code into the target tree (for Rockbox as an application). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26019 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/firmware.make')
-rw-r--r--firmware/firmware.make5
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/firmware.make b/firmware/firmware.make
index 115bfacad0..52b5a19cc6 100644
--- a/firmware/firmware.make
+++ b/firmware/firmware.make
@@ -7,7 +7,10 @@
7# $Id$ 7# $Id$
8# 8#
9 9
10INCLUDES += -I$(FIRMDIR)/libc/include -I$(FIRMDIR) -I$(FIRMDIR)/export -I$(FIRMDIR)/drivers -I$(FIRMDIR)/include 10INCLUDES += -I$(FIRMDIR) -I$(FIRMDIR)/export -I$(FIRMDIR)/drivers -I$(FIRMDIR)/include
11ifndef SIMVER
12INCLUDES += -I$(FIRMDIR)/libc/include
13endif
11 14
12FIRMLIB_SRC += $(call preprocess, $(FIRMDIR)/SOURCES) 15FIRMLIB_SRC += $(call preprocess, $(FIRMDIR)/SOURCES)
13FIRMLIB_OBJ := $(call c2obj, $(FIRMLIB_SRC)) 16FIRMLIB_OBJ := $(call c2obj, $(FIRMLIB_SRC))