[PATCH 2/8] selftests: lib.mk: define CLEAN macro to allow Makefiles to override clean
Michael Ellerman
mpe at ellerman.id.au
Sat Apr 22 15:38:46 AEST 2017
Shuah Khan <shuahkh at 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 at osg.samsung.com>
Should probably have:
Fixes: 88baa78d1f31 ("selftests: remove duplicated all and clean target")
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.
This patch is a good solution to fix the warnings.
Acked-by: Michael Ellerman <mpe at ellerman.id.au>
cheers
More information about the Linuxppc-dev
mailing list