[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK7LNARKGYm0fO1BR83RdCWtxNj4dWBAVAw-JHXxCrRON986kw@mail.gmail.com>
Date: Tue, 19 Mar 2019 13:09:43 +0900
From: Masahiro Yamada <yamada.masahiro@...ionext.com>
To: Andreas Schwab <schwab@...e.de>
Cc: Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>,
Ben Hutchings <ben@...adent.org.uk>,
Riku Voipio <riku.voipio@...aro.org>,
Manoj Srivastava <srivasta@...ian.org>,
Liz Zhang <lizzha@...rosoft.com>,
Lili Deng <v-lide@...rosoft.com>,
Manoj Srivastava <manoj.srivastava.1962@...il.com>,
Michal Marek <michal.lkml@...kovi.net>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] kbuild: add workaround for Debian make-kpkg
Hi Andreas,
On Mon, Mar 18, 2019 at 7:00 PM Andreas Schwab <schwab@...e.de> wrote:
>
> On Mär 08 2019, Masahiro Yamada <yamada.masahiro@...ionext.com> wrote:
>
> > +$(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.
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists