summaryrefslogtreecommitdiff
path: root/util_pkt_logger/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'util_pkt_logger/Makefile')
-rw-r--r--util_pkt_logger/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/util_pkt_logger/Makefile b/util_pkt_logger/Makefile
index 2c99dde..af6ac37 100644
--- a/util_pkt_logger/Makefile
+++ b/util_pkt_logger/Makefile
@@ -42,10 +42,17 @@ clean:
rm -f $(APP_NAME)
find . -name global_conf.json -exec rm -i {} \;
-### 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
### Sub-modules compilation