diff options
author | Russell King <[email protected]> | 2018-04-16 13:21:54 +0100 |
---|---|---|
committer | Russell King <[email protected]> | 2018-05-19 11:35:56 +0100 |
commit | 6cea14f55474ec71f1098228e0ae5dd2a8f22c0a (patch) | |
tree | 019ca00ca099ce5c9fbda6d3a7b21511aed75c3b /drivers/fpga/fpga-bridge.c | |
parent | 1c37963b1a1600b9686c4a99857ddcb6028be884 (diff) |
ARM: replace unnecessary perl with sed and the shell $(( )) operator
You can build a kernel in a cross compiling environment that doesn't
have perl in the $PATH. Commit 429f7a062e3b broke that for 32 bit
ARM. Fix it.
As reported by Stephen Rothwell, it appears that the symbols can be
either part of the BSS section or absolute symbols depending on the
binutils version. When they're an absolute symbol, the $(( ))
operator errors out and the build fails. Fix this as well.
Fixes: 429f7a062e3b ("ARM: decompressor: fix BSS size calculation")
Reported-by: Rob Landley <[email protected]>
Reported-by: Stephen Rothwell <[email protected]>
Acked-by: Rob Landley <[email protected]>
Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions