Patchwork [Precise,2/2] UBUNTU: [Config] Add CONFIG_DRM_PSB check to enforcer

login
register
mail settings
Submitter Leann Ogasawara
Date March 13, 2012, 9:15 p.m.
Message ID <d0d0fca0644138bbc896df6be7de758b38d6f200.1331671238.git.leann.ogasawara@canonical.com>
Download mbox | patch
Permalink /patch/146495/
State New
Headers show

Comments

Leann Ogasawara - March 13, 2012, 9:15 p.m.
From: Leann Ogasawara <leann.ogasawara@canonical.com>

BugLink: http://bugs.launchpad.net/bugs/899244

Ensure CONFIG_STUB_POULSBO is disabled if CONFIG_DRM_PSB is enabled

Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
---
 debian.master/config/enforce |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

Patch

diff --git a/debian.master/config/enforce b/debian.master/config/enforce
index a268b83..f728597 100644
--- a/debian.master/config/enforce
+++ b/debian.master/config/enforce
@@ -103,3 +103,9 @@  value CONFIG_EFI_VARS y | !exists CONFIG_EFI_VARS
 # Ensure CONFIG_NVRAM is y for powerpc and powerpc-smp, LP:942193
 (flavour powerpc powerpc-smp & value CONFIG_NVRAM y) | \
  (value CONFIG_NVRAM m | !exists CONFIG_NVRAM)
+
+# Ensure CONFIG_STUB_POULSBO is disabled if CONFIG_DRM_PSB is enabled
+# See LP:899244
+(!exists CONFIG_DRM_PSB | value CONFIG_DRM_PSB n) | \
+((value CONFIG_DRM_PSB y | value CONFIG_DRM_PSB m) & (value CONFIG_STUB_POULSBO n | !exists CONFIG_STUB_POULSBO))
+