From 3cb272c97a23f6b28a60201614f38fd1a566de08 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sat, 20 Jul 2019 10:04:32 -0400 Subject: [PATCH] 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 --- apps/plugins/puzzles/puzzles.make | 3 ++- 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: ####