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
This commit is contained in:
parent
14d91cafca
commit
3cb272c97a
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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: ####
|
||||
|
||||
|
|
Loading…
Reference in a new issue