Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp1012493img; Mon, 18 Mar 2019 21:11:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqwSIfCPlSQm7o6pSSSzecMdzu7Qf4faq2tuT0h3rYdL+LAdHKsKL5xDIXmR+bREXl3x6vD6 X-Received: by 2002:a62:170c:: with SMTP id 12mr22401832pfx.104.1552968696274; Mon, 18 Mar 2019 21:11:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552968696; cv=none; d=google.com; s=arc-20160816; b=AN7ZIOJ4V+NNa5OD0CGb/uE7yj5ChD0wF2zBexBgWI5YlP7eWKzwphqXrNcVxlWhcm GFB0E7ZtTNVpDv2NwioOMp71IiSvnbLt9VpG+TDuuK/ghd18fk+iZuRNDrXmWY7CIrKB AoM41PxsJsYwyDxqIIUW+KQJVwfatp44zETenmjtgASf3OXnMGrpBuWty57CLiJl1OQH 40gq0NEMBk0JT9/l7iCEgmFWLHWb+GKdJ4cGMs4Gif6WZMg57aCcU04SXGHX7sdAbRBd R+qvsM8jD8lALxbslH9zUKOxgrQBNfMMrHfzxabYH/pNoWxZNXzRGTjtZeFMYQ+lFxZu kiHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature:dkim-filter; bh=gNnwu/3W48uO8s1Quq1TU41bjR7ljkGf3JPs+BgQTN0=; b=KRA5SVnbCv4SUtsL/3ZY3eHGhuKW8ABZa/JKSPRPO4mfPoxd1B6P6b5h9Eq1W+dS2G TPkRZrSyiS/CZwkM+W36BCJfbZVJ4QZr2VB5yvC+SryxVe3EIJ8hSEVhcLNc+Z/bh39B NmNodYJ2dBfyMsHxZ71TusaW4IKNRwyN7VVi4OG2MyRhW3xLvyUBkMHiHMbjgPncn08G +0kVnirFQzhYyfRyuPkOL9yBy7t1wg2FJIcmgXgLSj2SyYajSc7IV6M6VTSBLn1kvHKf BtZ8qjTbXb97qZGoKwb6Nk+ulA56pZDid/xxE6a5M37Odm6/QrDc+Mo1gkBkFdzx3Agv R4pA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=bV4WjPqs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h21si10658231pgl.346.2019.03.18.21.11.20; Mon, 18 Mar 2019 21:11:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=bV4WjPqs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726244AbfCSEKo (ORCPT + 99 others); Tue, 19 Mar 2019 00:10:44 -0400 Received: from conssluserg-05.nifty.com ([210.131.2.90]:29879 "EHLO conssluserg-05.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725951AbfCSEKo (ORCPT ); Tue, 19 Mar 2019 00:10:44 -0400 Received: from mail-vk1-f173.google.com (mail-vk1-f173.google.com [209.85.221.173]) (authenticated) by conssluserg-05.nifty.com with ESMTP id x2J4AJOB030423; Tue, 19 Mar 2019 13:10:20 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com x2J4AJOB030423 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1552968620; bh=gNnwu/3W48uO8s1Quq1TU41bjR7ljkGf3JPs+BgQTN0=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=bV4WjPqskWle9aCbuKA6ZSh2HN6gnpU8bz+5rpiVe79RWJ1c1BPbxLMPyEkrQRqoU qwAGr/hxqVk/pzx6WpCh10ArJHfzJ4nIVjnBaRTA262aJQNtuQx0oVBkD4WMPunzIy 3xdQklcbiPboKGeFwFcT4S/JTG2KXeV/PZJwmCn7fNReoc9+1svQ2BbXOKHGwH/AiH dggH4gtkwwxi5wZVQHMzJgLu+AgKoGeq17839svMOg+FCwsLwJVWWElNiAVjV+yE5U FTWgbOp8yMzPIho1fZ6E2I6VznL2KLTyOapcuTrtYb1AQod4EiRJMCkNUUWkEA0RLL 1YlA/xjsd9PpQ== X-Nifty-SrcIP: [209.85.221.173] Received: by mail-vk1-f173.google.com with SMTP id l17so4323401vke.7; Mon, 18 Mar 2019 21:10:20 -0700 (PDT) X-Gm-Message-State: APjAAAWLNfgcoAh6W5aFRXxpZg2xYM9l/cDJB4+QFX3jwfZH0vhI2kYU ENSKgd+hqtn6fyPMFhR57fNeL4gfIJoPNB2+AZo= X-Received: by 2002:a1f:ae07:: with SMTP id x7mr213404vke.74.1552968619307; Mon, 18 Mar 2019 21:10:19 -0700 (PDT) MIME-Version: 1.0 References: <1552036419-924-1-git-send-email-yamada.masahiro@socionext.com> In-Reply-To: From: Masahiro Yamada Date: Tue, 19 Mar 2019 13:09:43 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] kbuild: add workaround for Debian make-kpkg To: Andreas Schwab Cc: Linux Kbuild mailing list , Ben Hutchings , Riku Voipio , Manoj Srivastava , Liz Zhang , Lili Deng , Manoj Srivastava , Michal Marek , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andreas, On Mon, Mar 18, 2019 at 7:00 PM Andreas Schwab wrote: > > On M=C3=A4r 08 2019, Masahiro Yamada wrot= e: > > > +$(warning Do not include top Makefile of Linux Kernel) > > So how do I add additional targets then? Currently I create > GNUmakefile, include Makefile, then add the targets I need. It seems > this is now broken. ---------(GNUmakefile BEGIN)----------- your-own-target1: echo hello your-own-target2: echo world # For the rest, fall back to the kernel Makefile %: $(MAKE) -f Makefile $@ ---------(GNUmakefile END)----------- Having said that, my previous cheesy workaround sucks. How about this patch? https://patchwork.kernel.org/patch/10858809/ I hope you will be able to wrap the top Makefile again. --=20 Best Regards Masahiro Yamada