[PATCHv3] powerpc: convert relocs_check to a shell script using grep

Stephen Rothwell sfr at canb.auug.org.au
Wed Mar 18 16:39:48 AEDT 2015


Hi Michael,

On Wed, 18 Mar 2015 16:19:40 +1100 (AEDT) Michael Ellerman <mpe at ellerman.id.au> wrote:
>
> On Sun, 2015-15-03 at 11:08:47 UTC, Stephen Rothwell wrote:
> > This runs a bit faster and removes another use of perl from
> > the kernel build.
> 
> It tells me:
> 
> $ make ARCH=powerpc CROSS_COMPILE= -s ppc64_defconfig
> #
> # configuration written to .config
> #
> $ make ARCH=powerpc CROSS_COMPILE= -s -j240 
> ...
> arch/powerpc/relocs_check.sh: objdump (objdump) is not executable
> make: *** [relocs_check] Error 1
> 
> I suspect because:
> 
> +if [ ! -x "$objdump" ]; then
> 
> Doesn't search the PATH.

Rats!  Trying to be too helpful :-(

I will do another version that just drops the test.  If $objdump is not
executable, it will become obvious fairly soon.

-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20150318/08b45ace/attachment.sig>


More information about the Linuxppc-dev mailing list