Depends-on: take into consideration the git branch for query and default
[lttng-ci.git] / scripts / lttng-modules / param-build.sh
index 3a71365789ae5665dbbce0edbb6ff8e96ed9dfb1..902ee72db2871ca22df78256f6d4944f6fe63e01 100644 (file)
@@ -390,7 +390,9 @@ extract_distro_headers() {
     touch -r "${LINUX_HDROBJ_DIR}/.config" "${LINUX_HDROBJ_DIR}/include/generated/autoconf.h"
 
     # Copy .config to include/config/auto.conf so "make prepare" is unnecessary.
-    cp "${LINUX_HDROBJ_DIR}/.config" "${LINUX_HDROBJ_DIR}/include/config/auto.conf"
+    if [ ! -f "${LINUX_HDROBJ_DIR}/include/config/auto.conf" ]; then
+        cp "${LINUX_HDROBJ_DIR}/.config" "${LINUX_HDROBJ_DIR}/include/config/auto.conf"
+    fi
 
     # Finally clean the object files from the full source tree
     make clean
This page took 0.023478 seconds and 4 git commands to generate.