diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2019-07-20 10:04:32 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2019-07-20 10:06:12 -0400 |
commit | 3cb272c97a23f6b28a60201614f38fd1a566de08 (patch) | |
tree | 1801f0c2823c7f495bf86155da001dbbe460f55b | |
parent | 14d91cafca7865a88a5a9bf115b85b76a27c441a (diff) | |
download | rockbox-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.make | 3 | ||||
-rw-r--r-- | tools/root.make | 2 |
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 \ $(APPSDIR)/plugins/lib/pluginlib_exit.h \ $(BUILDDIR)/sysfont.h \ $(PUZZLES_SRCDIR)/rbassert.h \ - $(TLSFLIB_DIR)/src/tlsf.h + $(TLSFLIB_DIR)/src/tlsf.h \ + $(BUILDDIR)/lang_enum.h # special pattern rule for compiling puzzles with extra flags $(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:: $(LINKRAM) $(LINKROM) rockbox.elf rockbox.map rockbox.bin \ make.dep rombox.elf rombox.map rombox.bin rombox.ucl romstart.txt \ $(BINARY) $(FLASHFILE) uisimulator bootloader flash $(BOOTLINK) \ - rockbox.apk + rockbox.apk lang_enum.h rbversion.h #### linking the binaries: #### |