summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/dri/drm-kernel_cvs.bb8
-rw-r--r--packages/dri/make.patch0
2 files changed, 5 insertions, 3 deletions
diff --git a/packages/dri/drm-kernel_cvs.bb b/packages/dri/drm-kernel_cvs.bb
index ee9c73afd5..21728774f5 100644
--- a/packages/dri/drm-kernel_cvs.bb
+++ b/packages/dri/drm-kernel_cvs.bb
@@ -1,8 +1,9 @@
SECTION = "x11/base"
-PR = "r2"
+PR = "r3"
LICENSE = "MIT"
-SRC_URI = "cvs://anoncvs@dri.freedesktop.org/cvs/dri;module=drm;method=pserver"
+SRC_URI = "cvs://anoncvs@dri.freedesktop.org/cvs/dri;module=drm;method=pserver \
+ file://make.patch;patch=1"
inherit module-base
@@ -10,7 +11,8 @@ PV = "0.0cvs${CVSDATE}"
S = "${WORKDIR}/drm"
do_compile() {
- oe_runmake -C linux-core LINUXDIR="${KERNEL_SOURCE}" CC="${KERNEL_CC}"
+ unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
+ oe_runmake -C linux-core LINUXDIR="${KERNEL_SOURCE}" MAKE="make -e" CC="${KERNEL_CC}" LD="${KERNEL_LD}"
}
do_install() {
diff --git a/packages/dri/make.patch b/packages/dri/make.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/dri/make.patch