Fix sim/checkwps build failure.
Change-Id: Iefd533fe26495a29f8e79113b38748b504d94213
This commit is contained in:
parent
f269aa0060
commit
54e00c18a3
3 changed files with 10 additions and 8 deletions
|
@ -7,9 +7,12 @@
|
|||
# $Id$
|
||||
#
|
||||
|
||||
FLAGS=-g -D__PCTOOL__ $(TARGET) -Wall
|
||||
GCCOPTS=-g -D__PCTOOL__ -DCHECKWPS $(TARGET)
|
||||
|
||||
SRC= $(call preprocess, $(TOOLSDIR)/checkwps/SOURCES)
|
||||
CHECKWPS_SRC = $(call preprocess, $(TOOLSDIR)/checkwps/SOURCES)
|
||||
CHECKWPS_OBJ = $(call c2obj,$(CHECKWPS_SRC))
|
||||
|
||||
OTHER_SRC += $(CHECKWPS_SRC)
|
||||
|
||||
INCLUDES = -I$(ROOTDIR)/apps/gui \
|
||||
-I$(ROOTDIR)/apps/gui/skin_engine \
|
||||
|
@ -24,11 +27,11 @@ INCLUDES = -I$(ROOTDIR)/apps/gui \
|
|||
-I$(APPSDIR) \
|
||||
-I$(BUILDDIR)
|
||||
|
||||
# Makes mkdepfile happy
|
||||
GCCOPTS+=-D__PCTOOL__ -DCHECKWPS -g
|
||||
include $(ROOTDIR)/lib/skin_parser/skin_parser.make
|
||||
|
||||
.SECONDEXPANSION: # $$(OBJ) is not populated until after this
|
||||
|
||||
$(BUILDDIR)/$(BINARY): $$(OBJ) $$(SKINLIB)
|
||||
$(BUILDDIR)/$(BINARY): $$(CHECKWPS_OBJ) $(CORE_LIBS)
|
||||
@echo LD $(BINARY)
|
||||
$(SILENT)$(HOSTCC) $(INCLUDE) $(FLAGS) -L$(BUILDDIR)/lib -lskin_parser -o $@ $+
|
||||
$(SILENT)$(HOSTCC) -o $@ $+ $(INCLUDE) $(GCCOPTS) \
|
||||
-L$(BUILDDIR)/lib $(call a2lnk,$(CORE_LIBS))
|
||||
|
|
|
@ -90,7 +90,6 @@ else ifneq (,$(findstring bootbox,$(APPSDIR)))
|
|||
include $(APPSDIR)/bootbox.make
|
||||
else ifneq (,$(findstring checkwps,$(APP_TYPE)))
|
||||
include $(APPSDIR)/checkwps.make
|
||||
include $(ROOTDIR)/lib/skin_parser/skin_parser.make
|
||||
else ifneq (,$(findstring database,$(APP_TYPE)))
|
||||
include $(APPSDIR)/database.make
|
||||
else ifneq (,$(findstring warble,$(APP_TYPE)))
|
||||
|
|
|
@ -30,7 +30,7 @@ $(SIMLIB): $$(SIMOBJ) $(UIBMP)
|
|||
$(SILENT)$(shell rm -f $@)
|
||||
$(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null
|
||||
|
||||
$(BUILDDIR)/$(BINARY): $$(OBJ) $(FIRMLIB) $(CORE_LIBS) $(SIMLIB)
|
||||
$(BUILDDIR)/$(BINARY): $$(OBJ) $(FIRMLIB) $(VOICESPEEXLIB) $(CORE_LIBS) $(SIMLIB)
|
||||
$(call PRINTS,LD $(BINARY))$(CC) -o $@ $^ $(SIMLIB) $(LDOPTS) $(GLOBAL_LDOPTS) \
|
||||
-Wl,-Map,$(BUILDDIR)/rockbox.map
|
||||
|
||||
|
|
Loading…
Reference in a new issue