summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTeruaki Kawashima <teru@rockbox.org>2010-01-17 13:03:10 +0000
committerTeruaki Kawashima <teru@rockbox.org>2010-01-17 13:03:10 +0000
commite3fc65cfff31bf71dc648280ad714d214b9666a1 (patch)
tree907411354b086b164a55539f7dd014faa9c2552e /tools
parent809e69c769a4d95f36701dad436cb89f02af3002 (diff)
change dependencies in make files:
* apps.make: depends on ctype.o instead of errno.o to depend on config-*.h so that it works for simulator. * lang.make: add dependency of lang.h to make it sure that the file is updated properly when needed. * plugins.make: object files don't depend on libpluginbitmaps.a. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24256 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rw-r--r--tools/functions.make2
-rw-r--r--tools/make.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/functions.make b/tools/functions.make
index 045354da66..748263359e 100644
--- a/tools/functions.make
+++ b/tools/functions.make
@@ -34,7 +34,7 @@ c2obj = $(addsuffix .o,$(basename $(subst $(ROOTDIR),$(BUILDDIR),$(1))))
# to a file $(1)_, to be later renamed to $(1).
mkdepfile = $(shell \
perl $(TOOLSDIR)/multigcc.pl $(CC) $(PPCFLAGS) $(OTHER_INC) -MG -MM -include config.h -- $(2) | \
- sed -e "s: lang.h: lang/lang_core.o:" \
+ sed -e "s: lang.h: lang/lang.h:" \
-e 's:_asmdefs.o:_asmdefs.h:' \
-e "s: max_language_size.h: lang/max_language_size.h:" | \
$(TOOLSDIR)/addtargetdir.pl $(ROOTDIR) $(BUILDDIR) \
diff --git a/tools/make.inc b/tools/make.inc
index 601b892bfc..5521612f62 100644
--- a/tools/make.inc
+++ b/tools/make.inc
@@ -45,7 +45,7 @@ $(DEPFILE): $(SOURCES)
rm $$del; \
del=""; \
fi \
- done | sed -e "s:[^[:space:]]*lang.h:$(OBJDIR)/lang/lang_core.o:" \
+ done | sed -e "s:[^[:space:]]*lang.h:$(OBJDIR)/lang/lang.h:" \
-e "s:[^[:space:]]*sysfont.h:$(BUILDDIR)/sysfont.h:" \
-e "s:[^[:space:]]*max_language_size.h:$(BUILDDIR)/max_language_size.h:" \
-e "s: bitmaps/: $(BUILDDIR)/bitmaps/:g" \