From patchwork Tue May 14 18:45:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Volodymyr Babchuk X-Patchwork-Id: 10943591 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8FED0933 for ; Tue, 14 May 2019 18:48:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7D6B828872 for ; Tue, 14 May 2019 18:48:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7205228895; Tue, 14 May 2019 18:48:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1B1892886F for ; Tue, 14 May 2019 18:48:10 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hQcR9-0006Ip-Jk; Tue, 14 May 2019 18:46:03 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hQcR8-0006IX-2h for xen-devel@lists.xenproject.org; Tue, 14 May 2019 18:46:02 +0000 X-Inumbo-ID: 83946cce-7678-11e9-b74a-ab7fd4ed8cfc Received: from EUR04-HE1-obe.outbound.protection.outlook.com (unknown [40.107.7.45]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 83946cce-7678-11e9-b74a-ab7fd4ed8cfc; Tue, 14 May 2019 18:45:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=epam.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gl4ySS5eeTawuDCX5HWgqCpYAg8aSneVXVwxUEmAYO8=; b=PIuFql/i4Cchyz3BeSSYIN+2SICfrDRmdpwstBELoMroyAjCg9sZKhrCWYYb03+s9D6lM+PanPVqeoJP/rf3rbS+nnRb1uusWCfsGOjJVENfRx0oVY78Et39oU0+IwrHVqV/pi78XMjk2WjiU+4a9FC5TFdcsrU0VSnsVIDRIV6YFzqSqwrs1RbbcM72HWXQi+WePuBv3Yq4DjwtXAEn9/Lw7kc3/e/5OU8PsKH/4OxsB9C+BOlJ2XvSwgwy3OYqWpac6nXmi2REWaI69ecOZrQoADsJmriK7ERN9OE7wlod73srNsOjBZtO3hxygBlMojKBlxfX8+8/f988HkthGg== Received: from AM0PR03MB4148.eurprd03.prod.outlook.com (20.176.214.210) by AM0PR03MB3649.eurprd03.prod.outlook.com (52.134.81.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1878.22; Tue, 14 May 2019 18:45:57 +0000 Received: from AM0PR03MB4148.eurprd03.prod.outlook.com ([fe80::55c5:599a:1f80:208a]) by AM0PR03MB4148.eurprd03.prod.outlook.com ([fe80::55c5:599a:1f80:208a%3]) with mapi id 15.20.1878.024; Tue, 14 May 2019 18:45:57 +0000 From: Volodymyr Babchuk To: "xen-devel@lists.xenproject.org" Thread-Topic: [PATCH v1 1/2] makefile: add support for *_defconfig targets Thread-Index: AQHVCoVEjf6vgXECMECEMZlXX+Yh6Q== Date: Tue, 14 May 2019 18:45:56 +0000 Message-ID: <20190514184552.25100-1-volodymyr_babchuk@epam.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Volodymyr_Babchuk@epam.com; x-originating-ip: [85.223.209.22] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 75ca9e71-1232-46e8-bf5c-08d6d89c66d3 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(2017052603328)(7193020); SRVR:AM0PR03MB3649; x-ms-traffictypediagnostic: AM0PR03MB3649: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1079; x-forefront-prvs: 0037FD6480 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(346002)(366004)(39860400002)(136003)(396003)(199004)(189003)(6116002)(8676002)(81156014)(305945005)(3846002)(6512007)(5640700003)(64756008)(99286004)(66476007)(81166006)(8936002)(66946007)(76116006)(91956017)(73956011)(14454004)(107886003)(53936002)(256004)(26005)(186003)(68736007)(66556008)(66446008)(6436002)(25786009)(6916009)(54906003)(86362001)(1076003)(2616005)(2351001)(478600001)(476003)(486006)(66066001)(2906002)(55236004)(5660300002)(4326008)(7416002)(80792005)(6486002)(6506007)(71200400001)(316002)(2501003)(72206003)(71190400001)(102836004)(7736002)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR03MB3649; H:AM0PR03MB4148.eurprd03.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: epam.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: /B5JeZ2t+i7anJ6Jfv8ORkzt5uoTNoy65Bhuxu/z6f5zuOPEH7dhltJcbfR/tGPi2FXjx0wO8FtSgog5TI7FophjQsO6Gn+T8ioW6ZQs2dobA1MdFelGE2jBflUeECYLT5eWadvTi6ueheN/LJQ+aY0qxo9BwCo54MdRcwYj9+DhwWDqS/4ymuhJrHiwIx98Gy7LEfV1Nc+48MSsgvg2nSkrlcc+zFkDHr6+tiErpIjzxSVMBEIEonZFvY4QesyqDs3DDOQM2nZM4csY23/h6AKcmLu+8NkK/v1NzmZN29IltC6ihh/krRFR6C3aie9kyb0JFBCJ+Wlx50JZgcpc04dgDNYWJYDCTsIuJttamfgdvNpyFZ/cVlaFt0H3rTx3yoRwZ1ozbTFQml/eWpn2us48YHujTprZ9ZUM12/69nA= MIME-Version: 1.0 X-OriginatorOrg: epam.com X-MS-Exchange-CrossTenant-Network-Message-Id: 75ca9e71-1232-46e8-bf5c-08d6d89c66d3 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 May 2019 18:45:57.0095 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b41b72d0-4e9f-4c26-8a69-f949f367c91d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR03MB3649 Subject: [Xen-devel] [PATCH v1 1/2] makefile: add support for *_defconfig targets X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Stefano Stabellini , Wei Liu , Konrad Rzeszutek Wilk , George Dunlap , Andrew Cooper , Ian Jackson , Tim Deegan , Julien Grall , Jan Beulich , Andrii Anisov , Volodymyr Babchuk Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP Ease up XEN configuration for non-standard builds, like armv8 tiny config. Signed-off-by: Volodymyr Babchuk --- Makefile | 4 ++++ xen/Makefile | 3 +++ 2 files changed, 7 insertions(+) diff --git a/Makefile b/Makefile index 829ac63741..ef1ea44ef1 100644 --- a/Makefile +++ b/Makefile @@ -54,6 +54,10 @@ build: $(TARGS_BUILD) build-xen: $(MAKE) -C xen build +.PHONY: %_defconfig +%_defconfig: + $(MAKE) -C xen $@ + .PHONY: build-tools build-tools: build-tools-public-headers $(MAKE) -C tools build diff --git a/xen/Makefile b/xen/Makefile index 1fd8ad5116..3c7e423132 100644 --- a/xen/Makefile +++ b/xen/Makefile @@ -269,6 +269,9 @@ kconfig := silentoldconfig oldconfig config menuconfig defconfig \ $(kconfig): $(MAKE) -f $(BASEDIR)/tools/kconfig/Makefile.kconfig ARCH=$(ARCH) SRCARCH=$(SRCARCH) HOSTCC="$(HOSTCC)" HOSTCXX="$(HOSTCXX)" $@ +%_defconfig: + $(MAKE) -f $(BASEDIR)/tools/kconfig/Makefile.kconfig ARCH=$(ARCH) SRCARCH=$(SRCARCH) HOSTCC="$(HOSTCC)" HOSTCXX="$(HOSTCXX)" $@ + include/config/%.conf: include/config/auto.conf.cmd $(KCONFIG_CONFIG) $(MAKE) -f $(BASEDIR)/tools/kconfig/Makefile.kconfig ARCH=$(ARCH) SRCARCH=$(SRCARCH) HOSTCC="$(HOSTCC)" HOSTCXX="$(HOSTCXX)" silentoldconfig