hwstub/tools: always run make for the libraries

This ensures that the libs are always up-to-date hopefully.

Change-Id: I790302fcabc91457091006de749b76735fdd510f
This commit is contained in:
Amaury Pouly 2016-11-07 10:49:01 +01:00 committed by Gerrit Rockbox
parent 8e82839fe2
commit 5c50efc9ce

View file

@ -17,10 +17,13 @@ LIBS=$(HWSTUB_LIB_DIR)/libhwstub.a $(REGTOOLS_LIB_DIR)/libsocdesc.a
all: $(EXEC)
$(HWSTUB_LIB_DIR)/libhwstub.a:
# force target to always rebuild libraries
FORCE:
$(HWSTUB_LIB_DIR)/libhwstub.a: FORCE
make -C $(HWSTUB_LIB_DIR)
$(REGTOOLS_LIB_DIR)/libsocdesc.a:
$(REGTOOLS_LIB_DIR)/libsocdesc.a: FORCE
make -C $(REGTOOLS_LIB_DIR)
%.o: %.c