1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Index: firmware/firmware.make
===================================================================
--- firmware/firmware.make	(revision 27448)
+++ firmware/firmware.make	(working copy)
@@ -11,6 +11,13 @@
 ifndef APP_TYPE
 INCLUDES += -I$(FIRMDIR)/libc/include
 endif
+ifdef APP_TYPE 
+ifeq ($(APP_TYPE),sdl-sim)
+ifdef CODEC
+INCLUDES += -I$(FIRMDIR)/libc/include
+endif
+endif
+endif

 FIRMLIB_SRC += $(call preprocess, $(FIRMDIR)/SOURCES)
 FIRMLIB_OBJ := $(call c2obj, $(FIRMLIB_SRC))