X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=scripts%2Fbuilt-in.sh;h=f0594eccdba217157bd016a2e75ad84805243333;hb=758c244b6ef2113a475213f072826419585cc75a;hp=5e57e9341c03f6c0ab4e05a6cfcb68197d2e6d42;hpb=6c27a5ccba05b088fbfcf8cd982c25649838298d;p=lttng-modules.git diff --git a/scripts/built-in.sh b/scripts/built-in.sh index 5e57e934..f0594ecc 100755 --- a/scripts/built-in.sh +++ b/scripts/built-in.sh @@ -1,5 +1,5 @@ #!/bin/bash -# SPDX-License-Identifier: (GPL-2.0 OR LGPL-2.1) +# SPDX-License-Identifier: (GPL-2.0-only OR LGPL-2.1-only) set -e @@ -15,7 +15,7 @@ KERNEL_DIR="$(readlink --canonicalize-existing "$1")" ln -sf "$(pwd)" "${KERNEL_DIR}/lttng" # Graft ourself to the kernel build system -echo 'source "lttng/Kconfig"' >> "${KERNEL_DIR}/Kconfig" +echo 'source "lttng/src/Kconfig"' >> "${KERNEL_DIR}/Kconfig" sed -i 's#+= kernel/#+= kernel/ lttng/#' "${KERNEL_DIR}/Makefile" echo >&2