From patchwork Thu May 16 13:37:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Volodymyr Babchuk X-Patchwork-Id: 10946607 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 BEF3913AD for ; Thu, 16 May 2019 13:39:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ADE77289E9 for ; Thu, 16 May 2019 13:39:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9FE3A28BAB; Thu, 16 May 2019 13:39:14 +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 D8649289E9 for ; Thu, 16 May 2019 13:39:13 +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 1hRGa0-0007s2-7h; Thu, 16 May 2019 13:37:52 +0000 Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hRGZz-0007ro-1g for xen-devel@lists.xenproject.org; Thu, 16 May 2019 13:37:51 +0000 X-Inumbo-ID: cb1fdc32-77df-11e9-8980-bc764e045a96 Received: from EUR02-HE1-obe.outbound.protection.outlook.com (unknown [40.107.1.61]) by us1-rack-dfw2.inumbo.com (Halon) with ESMTPS id cb1fdc32-77df-11e9-8980-bc764e045a96; Thu, 16 May 2019 13:37:49 +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=qPxv6HA0QAykRiQIhPvwJNBmEkviNseuKlQtr4JIoo4=; b=CVp90wbvg38ZWvGACuQUTedo6XHeXiXAoHji0RxzTjZFcPm9dJIL5PEVFXno41cuKTztR9Qm83LKzHG9u4dibgG9mYKGxlqHWczPoNSHKaJXIkWf2jEw3TSfCy3qNqstFjVsddEQ69g9NQDBMVwjNBKzGzZWK1barRklKDHvEjDWi4GAFKnnrovBJ7Ovc2d3aeem6mWpu2vWNjYaEzvi+R7inEgaIRkBLkWgZGtnhEGGcqJtl74nAYrHRlgU3D/dOAtNUedNgiqeNfhRHeeL1oz9INk+acps4B8Z1BkpDtMyYUFpu11WWk1muDJQtAQ5uK1OvDZP6Wo+smZfMbCSHQ== Received: from AM0PR03MB4148.eurprd03.prod.outlook.com (20.176.214.210) by AM0PR03MB5540.eurprd03.prod.outlook.com (20.179.252.93) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1900.17; Thu, 16 May 2019 13:37:46 +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; Thu, 16 May 2019 13:37:46 +0000 From: Volodymyr Babchuk To: "xen-devel@lists.xenproject.org" Thread-Topic: [PATCH v2 1/2] makefile: add support for *_defconfig targets Thread-Index: AQHVC+yLP3VjfFwq8UG+mwL2tA3ebA== Date: Thu, 16 May 2019 13:37:46 +0000 Message-ID: <20190516133735.18883-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: 14972feb-4c5b-4d4d-f199-08d6da03ae86 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(2017052603328)(7193020); SRVR:AM0PR03MB5540; x-ms-traffictypediagnostic: AM0PR03MB5540: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1417; x-forefront-prvs: 0039C6E5C5 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(396003)(376002)(346002)(366004)(39860400002)(189003)(199004)(2906002)(186003)(5660300002)(7416002)(256004)(14444005)(2616005)(80792005)(99286004)(486006)(81166006)(81156014)(8936002)(86362001)(476003)(8676002)(54906003)(71190400001)(71200400001)(2501003)(7736002)(305945005)(55236004)(26005)(6506007)(6916009)(6512007)(1076003)(25786009)(66446008)(2351001)(102836004)(6436002)(14454004)(53936002)(6116002)(3846002)(4326008)(36756003)(73956011)(66946007)(6486002)(66556008)(316002)(68736007)(5640700003)(508600001)(72206003)(64756008)(66476007)(66066001)(76116006); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR03MB5540; H:AM0PR03MB4148.eurprd03.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: mGqvvGLMLGKLSUY9pgZw3bRasNWMmsYRilLgJ9TcZuKu5vGx/wB7yef+kx/QcwxvhcG1hBMQzBO4tnDPf440atCQbXLr0EtEN0ziqxlAnzUcfJlhzqjrm3Uaso9R79qb+EOMsqQbTZcg7RnaO8zkk25iBk/l6h0Og5VQ9qJCgm/uO8l0nYrwG2KzqLSuFEmEi6Bi/5wPYn6rCXdRu4Xy0z7d9n52I8goOvI0yXrY4obnOMd9DXWqn21fIfqEtCI8q2lA/RBI6LAnQiVb3LV2Cyiej7L4qSuCYtNevwOphpxufz6XWbglR/GbUpEmGTigYTwIt0/765ARgjRxBLpVSBJC0H+SzAm03xT/WnxowtwRi4Adpr6Mm3Ov28/JaQsr6biMRg24kp86yxfmlZHwdPkExOeRQ5JpK+kz1W5LTkk= MIME-Version: 1.0 X-OriginatorOrg: epam.com X-MS-Exchange-CrossTenant-Network-Message-Id: 14972feb-4c5b-4d4d-f199-08d6da03ae86 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 May 2019 13:37:46.6250 (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: AM0PR03MB5540 Subject: [Xen-devel] [PATCH v2 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 , 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 Acked-by: Jan Beulich --- Changes from v2: - remove %_defconfig rule in favor of list of real *_defconfig files Makefile | 4 ++++ xen/Makefile | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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..c80914c31d 100644 --- a/xen/Makefile +++ b/xen/Makefile @@ -264,7 +264,7 @@ $(foreach base,arch/x86/mm/guest_walk_% \ kconfig := silentoldconfig oldconfig config menuconfig defconfig \ nconfig xconfig gconfig savedefconfig listnewconfig olddefconfig \ - randconfig + randconfig $(notdir $(wildcard arch/$(SRCARCH)/configs/*_defconfig)) .PHONY: $(kconfig) $(kconfig): $(MAKE) -f $(BASEDIR)/tools/kconfig/Makefile.kconfig ARCH=$(ARCH) SRCARCH=$(SRCARCH) HOSTCC="$(HOSTCC)" HOSTCXX="$(HOSTCXX)" $@