Re: [PATCH] kernel-build: fix STRIP_KERNEL_EXPORTS for 64-bit kernels

2020-12-31 Thread Hauke Mehrtens
On 12/31/20 8:38 PM, Rui Salvaterra wrote: Hi again, On Thu, 31 Dec 2020 at 19:30, Rui Salvaterra wrote: On Thu, 31 Dec 2020 at 19:07, Hauke Mehrtens wrote: Result with your change: hauke@hauke-t480:~/openwrt/openwrt$

Re: [PATCH] kernel-build: fix STRIP_KERNEL_EXPORTS for 64-bit kernels

2020-12-31 Thread Rui Salvaterra
Hi again, On Thu, 31 Dec 2020 at 19:30, Rui Salvaterra wrote: > > On Thu, 31 Dec 2020 at 19:07, Hauke Mehrtens wrote: > > > > Result with your change: > > > > hauke@hauke-t480:~/openwrt/openwrt$ > >

Re: [PATCH] kernel-build: fix STRIP_KERNEL_EXPORTS for 64-bit kernels

2020-12-31 Thread Rui Salvaterra
Hi, Hauke, On Thu, 31 Dec 2020 at 19:07, Hauke Mehrtens wrote: > > Hi, > > On the ipq40xx target the results of both commands are different. The > original command removed the __ksymtab_ prefix, you do not remove it. > > Original result: > >

Re: [PATCH] kernel-build: fix STRIP_KERNEL_EXPORTS for 64-bit kernels

2020-12-31 Thread Hauke Mehrtens
On 12/30/20 9:04 PM, Rui Salvaterra wrote: While parsing the nm output, we need to account for the fact that 64-bit kernels have 64-bit wide addresses. While at it, replace the grep | sed combo with a single awk invocation and a stronger regex. Fixes: 2ef0acc5fcda557fa5aaad35d27cb8cf75be96d2

[PATCH] kernel-build: fix STRIP_KERNEL_EXPORTS for 64-bit kernels

2020-12-30 Thread Rui Salvaterra
While parsing the nm output, we need to account for the fact that 64-bit kernels have 64-bit wide addresses. While at it, replace the grep | sed combo with a single awk invocation and a stronger regex. Fixes: 2ef0acc5fcda557fa5aaad35d27cb8cf75be96d2 "kernel-build: fix STRIP_KERNEL_EXPORTS for