summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changedfiles/changedfiles-modules_1.0-rc1.oe2
-rw-r--r--lockstat/lockstat_1.4.10.oe1
2 files changed, 1 insertions, 2 deletions
diff --git a/changedfiles/changedfiles-modules_1.0-rc1.oe b/changedfiles/changedfiles-modules_1.0-rc1.oe
index a1eced919a..d331daa5da 100644
--- a/changedfiles/changedfiles-modules_1.0-rc1.oe
+++ b/changedfiles/changedfiles-modules_1.0-rc1.oe
@@ -11,7 +11,7 @@ S = "${WORKDIR}/changedfiles-${PV}/module"
inherit module
do_compile() {
- ${CC} -Wall -DMODULE -D__KERNEL__ -I${KERNEL_STAGING_DIR}/include -c changedfiles.c
+ ${CC} -Wall -DMODULE -D__KERNEL__ -I${STAGING_KERNEL_DIR}/include -c changedfiles.c
}
pkg_postinst() {
diff --git a/lockstat/lockstat_1.4.10.oe b/lockstat/lockstat_1.4.10.oe
index 0edf3c9567..bf4a3d9b78 100644
--- a/lockstat/lockstat_1.4.10.oe
+++ b/lockstat/lockstat_1.4.10.oe
@@ -5,7 +5,6 @@ DEPENDS = "virtual/kernel"
SRC_URI = "ftp://oss.sgi.com/projects/lockmeter/download/lockstat-${PV}.tar.gz"
S = "${WORKDIR}/lockstat"
-KERNEL_STAGING_DIR = "${STAGING_DIR}/${HOST_SYS}/kernel"
export KERNEL_VERSION = ${@base_read_file('${STAGING_DIR}/${HOST_SYS}/kernel/kernel-version')}
export KERNEL_SOURCE = ${@base_read_file('${STAGING_DIR}/${HOST_SYS}/kernel/kernel-source')}
CFLAGS += " -I${KERNEL_SOURCE}/include"