From 41423d94a7d581e05351e47798dcf4e8d04185c3 Mon Sep 17 00:00:00 2001 From: Nathan Lynch Date: Mon, 15 Jun 2015 13:37:24 -0500 Subject: lttng-modules: drop makefile patch The lttng-modules Makefile allows us to specify the kernel we're building against via the KERNELDIR variable on the build command line. Use that and drop the patch (which tends to need updating whenever the upstream Makefile changes). (From OE-Core rev: cc6f6f96b668f7ef3db0f83c7d3585d81c569d31) Signed-off-by: Nathan Lynch Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-kernel/lttng/lttng-modules_2.6.1.bb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'meta/recipes-kernel/lttng/lttng-modules_2.6.1.bb') diff --git a/meta/recipes-kernel/lttng/lttng-modules_2.6.1.bb b/meta/recipes-kernel/lttng/lttng-modules_2.6.1.bb index be09a82f82..5bde7ec213 100644 --- a/meta/recipes-kernel/lttng/lttng-modules_2.6.1.bb +++ b/meta/recipes-kernel/lttng/lttng-modules_2.6.1.bb @@ -12,13 +12,11 @@ SRCREV = "62080b2248fd8ec4111ffc379d0bc5eaf0a5c16d" COMPATIBLE_HOST = '(x86_64|i.86|powerpc|aarch64|mips|arm).*-linux' -SRC_URI = "git://git.lttng.org/lttng-modules.git;branch=stable-2.6 \ - file://lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch \ - " +SRC_URI = "git://git.lttng.org/lttng-modules.git;branch=stable-2.6" export INSTALL_MOD_DIR="kernel/lttng-modules" -export KERNEL_SRC="${STAGING_KERNEL_DIR}" +EXTRA_OEMAKE += "KERNELDIR='${STAGING_KERNEL_DIR}'" S = "${WORKDIR}/git" -- cgit v1.2.3-54-g00ecf