From b1a784835cdd17b4bf6a8bfbfaf2efb4e95731bf Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Mon, 9 Mar 2015 12:41:52 -0400 Subject: [PATCH] Clean on start and move to git modules subdirectory --- lttng-modules/lttng-modules-dsl-master.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lttng-modules/lttng-modules-dsl-master.sh b/lttng-modules/lttng-modules-dsl-master.sh index 78b0cef..81e37f5 100644 --- a/lttng-modules/lttng-modules-dsl-master.sh +++ b/lttng-modules/lttng-modules-dsl-master.sh @@ -1,8 +1,13 @@ # Recreate link to kernel source + +rm -rf /tmp/linux-source +rm -rf /tmp/linux-artifact + ln -s $WORKSPACE/linux-source /tmp/linux-source ln -s $WORKSPACE/linux-artifact /tmp/linux-artifact ln -s /tmp/linux-source /tmp/linux-artifact/source +cd lttng-modules make KERNELDIR=/tmp/linux-artifact #make INSTALL_MOD_PATH="$PREFIX" modules_install rm -rf /tmp/linux-source -- 2.34.1