summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2019-07-20 10:04:32 -0400
committerSolomon Peachy <pizza@shaftnet.org>2019-07-20 10:06:12 -0400
commit3cb272c97a23f6b28a60201614f38fd1a566de08 (patch)
tree1801f0c2823c7f495bf86155da001dbbe460f55b
parent14d91cafca7865a88a5a9bf115b85b76a27c441a (diff)
downloadrockbox-3cb272c97a23f6b28a60201614f38fd1a566de08.tar.gz
rockbox-3cb272c97a23f6b28a60201614f38fd1a566de08.zip
build: Fix puzzles build due to missing dependency
As rbcompat.h is -include'd on the command line, the mkdep script doesn't pick it up. Explicitly add the dependency to lang_enum.h to the makefile. Also add lang_enum.h to the 'make clean' target! Change-Id: I33c8ed0cd5c1d44dce02ac9285469c0e4feac00e
-rw-r--r--apps/plugins/puzzles/puzzles.make3
-rw-r--r--tools/root.make2
2 files changed, 3 insertions, 2 deletions
diff --git a/apps/plugins/puzzles/puzzles.make b/apps/plugins/puzzles/puzzles.make
index b3f929ded4..604208cbdd 100644
--- a/apps/plugins/puzzles/puzzles.make
+++ b/apps/plugins/puzzles/puzzles.make
@@ -53,7 +53,8 @@ $(PUZZLES_SRCDIR)/rbcompat.h: $(APPSDIR)/plugin.h \
53 $(APPSDIR)/plugins/lib/pluginlib_exit.h \ 53 $(APPSDIR)/plugins/lib/pluginlib_exit.h \
54 $(BUILDDIR)/sysfont.h \ 54 $(BUILDDIR)/sysfont.h \
55 $(PUZZLES_SRCDIR)/rbassert.h \ 55 $(PUZZLES_SRCDIR)/rbassert.h \
56 $(TLSFLIB_DIR)/src/tlsf.h 56 $(TLSFLIB_DIR)/src/tlsf.h \
57 $(BUILDDIR)/lang_enum.h
57 58
58# special pattern rule for compiling puzzles with extra flags 59# special pattern rule for compiling puzzles with extra flags
59$(PUZZLES_OBJDIR)/%.o: $(PUZZLES_SRCDIR)/%.c $(PUZZLES_SRCDIR)/puzzles.make $(PUZZLES_SRCDIR)/rbcompat.h 60$(PUZZLES_OBJDIR)/%.o: $(PUZZLES_SRCDIR)/%.c $(PUZZLES_SRCDIR)/puzzles.make $(PUZZLES_SRCDIR)/rbcompat.h
diff --git a/tools/root.make b/tools/root.make
index 933fb516f7..72039335da 100644
--- a/tools/root.make
+++ b/tools/root.make
@@ -211,7 +211,7 @@ clean::
211 $(LINKRAM) $(LINKROM) rockbox.elf rockbox.map rockbox.bin \ 211 $(LINKRAM) $(LINKROM) rockbox.elf rockbox.map rockbox.bin \
212 make.dep rombox.elf rombox.map rombox.bin rombox.ucl romstart.txt \ 212 make.dep rombox.elf rombox.map rombox.bin rombox.ucl romstart.txt \
213 $(BINARY) $(FLASHFILE) uisimulator bootloader flash $(BOOTLINK) \ 213 $(BINARY) $(FLASHFILE) uisimulator bootloader flash $(BOOTLINK) \
214 rockbox.apk 214 rockbox.apk lang_enum.h rbversion.h
215 215
216#### linking the binaries: #### 216#### linking the binaries: ####
217 217