[PATCH] kernel-build: fix STRIP_KERNEL_EXPORTS for 64-bit kernels
Hauke Mehrtens
hauke at hauke-m.de
Thu Dec 31 14:44:51 EST 2020
On 12/31/20 8:38 PM, Rui Salvaterra wrote:
> Hi again,
>
> On Thu, 31 Dec 2020 at 19:30, Rui Salvaterra <rsalvaterra at gmail.com> wrote:
>>
>> On Thu, 31 Dec 2020 at 19:07, Hauke Mehrtens <hauke at hauke-m.de> wrote:
>>>
>>> Result with your change:
>>> ----------------------------
>>> hauke at hauke-t480:~/openwrt/openwrt$
>>> ./staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-8.4.0_musl_eabi/bin/arm-openwrt-linux-nm
>>> -n
>>> build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx_generic/linux-5.4.85/vmlinux.o
>>> | awk '/^[0-9a-f]+ [rR] __ksymtab_/ {print substr($$$$3,11)}' |sort |head -5
>>> __ksymtab___ablkcipher_walk_complete
>>> __ksymtab_ablkcipher_walk_done
>>> __ksymtab_ablkcipher_walk_phys
>>> __ksymtab_abort
>>> __ksymtab_abort_creds
>>> ----------------------------
>>
>> Hm… strange. The substr should have taken care of it, I wonder what I've missed.
>> Anyway, thanks for the heads-up, I'm going to fix and respin.
>
> Ok, I see the problem. You're executing it in the terminal and not
> removing the makefile escaping from the awk script. Try $3 instead of
> $$$$3.
Hi Rui,
Yes you are right, when I use this correctly it starts to work. ;-)
Hauke
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openwrt.org/pipermail/openwrt-devel/attachments/20201231/cbc98b67/attachment.sig>
More information about the openwrt-devel
mailing list