diff options
Diffstat (limited to 'util_spi_stress/Makefile')
-rw-r--r-- | util_spi_stress/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/util_spi_stress/Makefile b/util_spi_stress/Makefile index 14cc8cb..94e6cc4 100644 --- a/util_spi_stress/Makefile +++ b/util_spi_stress/Makefile @@ -41,10 +41,17 @@ clean: rm -f obj/*.o rm -f $(APP_NAME) -### HAL library +### HAL library (do no force multiple library rebuild even with 'make -B') + +$(LGW_PATH)/inc/config.h: + @if test ! -f $@; then \ + $(MAKE) all -C $(LGW_PATH); \ + fi $(LGW_PATH)/libloragw.a: $(LGW_INC) - $(MAKE) all -C $(LGW_PATH) + @if test ! -f $@; then \ + $(MAKE) all -C $(LGW_PATH); \ + fi ### Main program compilation and assembly |