lkml.org 
[lkml]   [2019]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH v2] kbuild: add workaround for Debian make-kpkg
    Hi Andreas,

    On Mon, Mar 18, 2019 at 7:00 PM Andreas Schwab <schwab@suse.de> wrote:
    >
    > On Mär 08 2019, Masahiro Yamada <yamada.masahiro@socionext.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

    \
     
     \ /
      Last update: 2019-03-19 05:10    [W:2.416 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site