summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2022-12-07 13:06:47 -0500
committerBeno�t Ganne <bganne@cisco.com>2022-12-13 16:04:56 +0000
commit051579d0f2bf5a408ed8439cfd28831e846389ab (patch)
tree4f87fec986138fd206334d0c2af4b0600a72d68a /build
parente416893a597959509c7f667c140c271c0bb78c14 (diff)
build: don't overwrite quicly build/install logs
- append make output to quicly build & install logs Type: make Signed-off-by: Dave Wallace <dwallacelf@gmail.com> Change-Id: I4cfe7afdaa633295968c25902b12f58100f8ca69
Diffstat (limited to 'build')
-rw-r--r--build/external/packages/quicly.mk14
1 files changed, 8 insertions, 6 deletions
diff --git a/build/external/packages/quicly.mk b/build/external/packages/quicly.mk
index c75386d0ce0..e8c1b42f1b7 100644
--- a/build/external/packages/quicly.mk
+++ b/build/external/packages/quicly.mk
@@ -21,16 +21,17 @@ picotls_build_dir := $(B)/build-picotls
define quicly_build_cmds
@cd $(quicly_build_dir) && \
+ rm -f $(quicly_build_log) && \
$(CMAKE) -DWITH_DTRACE=OFF \
-DCMAKE_INSTALL_PREFIX:PATH=$(quicly_install_dir) \
- $(quicly_src_dir) > $(quicly_build_log)
- @$(MAKE) quicly $(MAKE_ARGS) -C $(quicly_build_dir) > $(quicly_build_log)
+ $(quicly_src_dir) >> $(quicly_build_log)
+ @$(MAKE) quicly $(MAKE_ARGS) -C $(quicly_build_dir) >> $(quicly_build_log)
@mkdir -p $(picotls_build_dir)
@cd $(picotls_build_dir) && \
$(CMAKE) -DWITH_DTRACE=OFF -DCMAKE_INSTALL_PREFIX:PATH=$(quicly_install_dir) \
- $(quicly_src_dir)/deps/picotls > $(quicly_build_log)
- @$(MAKE) picotls-core picotls-openssl $(MAKE_ARGS) -C $(picotls_build_dir) > $(quicly_build_log)
+ $(quicly_src_dir)/deps/picotls >> $(quicly_build_log)
+ @$(MAKE) picotls-core picotls-openssl $(MAKE_ARGS) -C $(picotls_build_dir) >> $(quicly_build_log)
endef
define quicly_config_cmds
@@ -38,8 +39,9 @@ define quicly_config_cmds
endef
define quicly_install_cmds
- @$(MAKE) $(MAKE_ARGS) -C $(quicly_build_dir) install > $(quicly_install_log)
- @$(MAKE) $(MAKE_ARGS) -C $(picotls_build_dir) install > $(quicly_install_log)
+ @rm -f $(quicly_install_log)
+ @$(MAKE) $(MAKE_ARGS) -C $(quicly_build_dir) install >> $(quicly_install_log)
+ @$(MAKE) $(MAKE_ARGS) -C $(picotls_build_dir) install >> $(quicly_install_log)
endef