summaryrefslogtreecommitdiffstats
path: root/tools/database
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2009-10-07 18:09:04 +0000
committerFrank Gevaerts <frank@gevaerts.be>2009-10-07 18:09:04 +0000
commit6b6bfc08361d26f69eabf3ebb0d46cd275053cc6 (patch)
treecb3d6e0404457ca25d069cbd88d8bca57b00bd31 /tools/database
parent6e11572e0788136f77ef67b3cfc182095084da4b (diff)
downloadrockbox-6b6bfc08361d26f69eabf3ebb0d46cd275053cc6.tar.gz
rockbox-6b6bfc08361d26f69eabf3ebb0d46cd275053cc6.tar.bz2
rockbox-6b6bfc08361d26f69eabf3ebb0d46cd275053cc6.zip
Also build database.c using SIM settings, in an attempt to fix the red on b32-roolku
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22999 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/database')
-rw-r--r--tools/database/database.make6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/database/database.make b/tools/database/database.make
index 482b3dfa2a..a32031f73c 100644
--- a/tools/database/database.make
+++ b/tools/database/database.make
@@ -35,8 +35,12 @@ $(BUILDDIR)/$(BINARY): $$(OBJ)
@echo LD $(BINARY)
$(SILENT)$(HOSTCC) $(INCLUDE) $(FLAGS) -ldl -o $@ $+
-SIMFLAGS += $(SIMINCLUDES) $(DBDEFINES) -DHAVE_CONFIG_H $(OLDGCCOPTS)
+SIMFLAGS += $(SIMINCLUDES) $(DBDEFINES) -DHAVE_CONFIG_H $(OLDGCCOPTS) $(INCLUDES)
$(BUILDDIR)/tools/database/../../uisimulator/%.o: $(ROOTDIR)/uisimulator/%.c
$(SILENT)mkdir -p $(dir $@)
$(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) $(SIMFLAGS) -c $< -o $@
+
+$(BUILDDIR)/tools/database/database.o: $(APPSDIR)/database.c
+ $(SILENT)mkdir -p $(dir $@)
+ $(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) $(SIMFLAGS) -c $< -o $@