From patchwork Wed Jan 6 19:19:54 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Douglas Goldstein X-Patchwork-Id: 7970341 Return-Path: X-Original-To: patchwork-xen-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7C58C9F1C0 for ; Wed, 6 Jan 2016 19:23:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B1E1920122 for ; Wed, 6 Jan 2016 19:23:17 +0000 (UTC) Received: from lists.xen.org (lists.xenproject.org [50.57.142.19]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E092320149 for ; Wed, 6 Jan 2016 19:23:16 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aGtcy-0004Pr-HW; Wed, 06 Jan 2016 19:20:12 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aGtcw-0004Pm-Tq for xen-devel@lists.xen.org; Wed, 06 Jan 2016 19:20:11 +0000 Received: from [85.158.137.68] by server-4.bemta-3.messagelabs.com id 4A/0E-09570-AE86D865; Wed, 06 Jan 2016 19:20:10 +0000 X-Env-Sender: cardoe@cardoe.com X-Msg-Ref: server-8.tower-31.messagelabs.com!1452108007!14439216!1 X-Originating-IP: [209.85.220.182] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 7.35.1; banners=-,-,- X-VirusChecked: Checked Received: (qmail 49491 invoked from network); 6 Jan 2016 19:20:07 -0000 Received: from mail-qk0-f182.google.com (HELO mail-qk0-f182.google.com) (209.85.220.182) by server-8.tower-31.messagelabs.com with AES128-GCM-SHA256 encrypted SMTP; 6 Jan 2016 19:20:07 -0000 Received: by mail-qk0-f182.google.com with SMTP id q19so102961817qke.3 for ; Wed, 06 Jan 2016 11:20:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cardoe-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=ighRCHcICIBCFK/iSdAcVEN5aExvbYSwPD76fqQgaQA=; b=JB2nSCfflGmqXL4WrXVpjiwxNy3u99W8itABxA+eQ070etog0ovVAAcmU/z/6R+Nfl ybKvi/pONSlGtkQau1L8y0jfkJSQuGlWSn0RLojIspz2ZUGxPt7rVchhhcdusQBSbKl8 0IYSRn5dNN/FFXg1HNTcnhJPlmsHHXnwkyFRpkAWtoT+UxB14Z04BMSPHMxJKOFGyGRi aQGWwiIcbqisENSFTlDfVCW9/C2OQCTqYsbRZxN/4PgILt2BM9fwyRGYKKPjlAfV08rR ke+EQyTEkW3pUOmOpg11FdQOCQR+yYEMCd625TWzc5U+SWAKlSZVSdgGeG88luan6XS5 eCKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ighRCHcICIBCFK/iSdAcVEN5aExvbYSwPD76fqQgaQA=; b=RwEsGaFVx0/WIwRRBgxeW0FZsnnel0di/QO1JltxnvP0kviQw0RCi8CZvGDk6K1ktE rhm/PEgBM1FdNvRgU+SBPiU3fmtDF/fnHU5NaeitzFSIYxMroHTp4R+4D+k6VJ0XqKt8 5BxPytUPPn9VdTGQSOX9+uubkuieOXM8rk4CZcdxmeKaueqSePHujeUvRbplggQRFD0I vJG0RiFi1AospRei9SeyEZXZKjkv0i9GIubAxIYNCLoa+c6cFAJhCJH8RsbZ7mceuHpk n64r0BOI5Ytq945NtlmzSDLGq/oMGR5vGeFYZ2u/yUuyNGgrlTUYf7tvezbQRdOH2dY5 l64A== X-Gm-Message-State: ALoCoQlwsNZlBmh05EYyyZ8HfORFogh6+J70PoUXVZK4zwAhTa8JVZst9nRSyijAtqGLpyoOZAtHfDoCw5b7vhJiTMHmJwyqBA== X-Received: by 10.129.107.197 with SMTP id g188mr72483453ywc.142.1452108006676; Wed, 06 Jan 2016 11:20:06 -0800 (PST) Received: from swanson.lan (c-68-46-196-185.hsd1.al.comcast.net. [68.46.196.185]) by smtp.gmail.com with ESMTPSA id k186sm50092583ywf.14.2016.01.06.11.20.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 06 Jan 2016 11:20:05 -0800 (PST) From: Doug Goldstein To: xen-devel@lists.xen.org Date: Wed, 6 Jan 2016 13:19:54 -0600 Message-Id: <1452107994-2681-1-git-send-email-cardoe@cardoe.com> X-Mailer: git-send-email 2.4.10 Cc: Doug Goldstein , Ian Jackson , Ian Campbell Subject: [Xen-devel] [OSSTEST PATCH v3] support XSM/FLASK via Kconfig X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP In antcipation of XSM and FLASK migrating to Kconfig add support for building them via Kconfig or the existing mechanism. Signed-off-by: Doug Goldstein Acked-by: Ian Jackson --- Still untested but visually looks correct. Changes since v3: - Wrap all hunks of code with checks for Kconfig to not dirty the tree Changes since v2: - Support Xen versions prior to Kconfig being integrated --- ts-xen-build | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ts-xen-build b/ts-xen-build index 80b1faa..bc4e41a 100755 --- a/ts-xen-build +++ b/ts-xen-build @@ -55,6 +55,10 @@ sub checkout () { echo >>.config KERNELS='' END (nonempty($r{enable_xsm}) ? <>xen/.config CONFIG_XSM='${build_xsm}' + echo >>xen/.config CONFIG_FLASK='${build_xsm}' + fi echo >>.config XSM_ENABLE='${build_xsm}' END (nonempty($r{tree_qemu}) ? <