lkml.org 
[lkml]   [2017]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 2/8] selftests: lib.mk: define CLEAN macro to allow Makefiles to override clean
    From
    Date
    On 04/21/2017 11:38 PM, Michael Ellerman wrote:
    > Shuah Khan <shuahkh@osg.samsung.com> writes:
    >
    >> Define CLEAN macro to allow Makefiles to override common clean target
    >> in lib.mk. This will help fix the following failures:
    >>
    >> warning: overriding recipe for target 'clean'
    >> ../lib.mk:55: warning: ignoring old recipe for target 'clean'
    >>
    >> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
    >
    > Should probably have:
    >
    > Fixes: 88baa78d1f31 ("selftests: remove duplicated all and clean target")

    Amended the change log to add the above.

    >
    >
    > In hindsight I'm not sure moving the clean target into lib.mk was
    > the best idea, but anyway it's a bit late to change our mind on that.

    Yeah. Moving clean target to lib.mk ended up to be problematic. However,
    there are some advantages as well. It will simplify some Makefiles. One
    thing that was missed was that not finding the Makefiles that require
    overrides. Anyway live and learn.

    >
    > This patch is a good solution to fix the warnings.
    >
    > Acked-by: Michael Ellerman <mpe@ellerman.id.au>
    >

    Thanks. I plan to apply the patch with the amended changelog and your
    Ack. Please let me know if you want to see v2 with the change sent out.

    thanks,
    -- Shuah

    \
     
     \ /
      Last update: 2017-04-25 15:37    [W:4.944 / U:0.712 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site