Re: [OpenWrt-Devel] [PATCH-19.07] build: fix module strip invalid

2019-10-31 Thread tapper via openwrt-devel
el <mailto:openwrt-devel@lists.openwrt.org> *Subject:* Re: [OpenWrt-Devel] [PATCH-19.07] build: fix module strip invalid On 2019-10-31 10:43, 大雄 wrote: > Hi, > >     But sometimes,  .ko not in menuconfig option. >     It's in the kernel_menu

Re: [OpenWrt-Devel] [PATCH-19.07] build: fix module strip invalid

2019-10-31 Thread 大雄
Hi, I think what you said is right. But, logic is not the same with openwrt 15.05 From: Felix Fietkau Date: 2019-10-31 17:50 To: 大雄; Hauke Mehrtens; openwrt-devel Subject: Re: [OpenWrt-Devel] [PATCH-19.07] build: fix module strip invalid On 2019-10-31 10:43, 大雄 wrote: >

Re: [OpenWrt-Devel] [PATCH-19.07] build: fix module strip invalid

2019-10-31 Thread Felix Fietkau
On 2019-10-31 10:43, 大雄 wrote: > Hi, >      >     But sometimes,  .ko not in menuconfig option. >     It's in the kernel_menuconfig option. >     So is no through ipk processing. In that case the solution is to add a package for it. - Felix ___

Re: [OpenWrt-Devel] [PATCH-19.07] build: fix module strip invalid

2019-10-31 Thread 大雄
] [PATCH-19.07] build: fix module strip invalid On 2019-10-31 09:19, 大雄 wrote: > Hi, > > I compile the kernel options, without any special open the DEBUG > options. > But the compiled KO module size is very big. debug symbols are enabled by default. The .ko in the kernel tr

Re: [OpenWrt-Devel] [PATCH-19.07] build: fix module strip invalid

2019-10-31 Thread Felix Fietkau
On 2019-10-31 09:19, 大雄 wrote: > Hi, > >     I compile the kernel options, without any special open the DEBUG > options. >     But the compiled KO module size is very big. debug symbols are enabled by default. The .ko in the kernel tree is quite big, but the one that ends up in the .ipk or on the

Re: [OpenWrt-Devel] [PATCH-19.07] build: fix module strip invalid

2019-10-31 Thread 大雄
Hi, I compile the kernel options, without any special open the DEBUG options. But the compiled KO module size is very big. From: Felix Fietkau Date: 2019-10-31 15:31 To: 大雄; Hauke Mehrtens; openwrt-devel Subject: Re: [OpenWrt-Devel] [PATCH-19.07] build: fix module strip invalid Hi

Re: [OpenWrt-Devel] [PATCH-19.07] build: fix module strip invalid

2019-10-31 Thread Felix Fietkau
gt; *Subject:* Re: [OpenWrt-Devel] [PATCH-19.07] build: fix module strip > invalid > On 10/30/19 11:14 AM, daxiong wrote: > > Current modpost cannot reduce the module size. > > > > Use $(STRIP) command to replace the modpost patch, > > I think

Re: [OpenWrt-Devel] [PATCH-19.07] build: fix module strip invalid

2019-10-30 Thread 大雄
Build file drivers/net/ethernet/intel/e1000e/e1000e.ko size about 920KB for old PATCH. After the new patch is about 177KB From: Hauke Mehrtens Date: 2019-10-30 23:47 To: daxiong; openwrt-devel Subject: Re: [OpenWrt-Devel] [PATCH-19.07] build: fix module strip invalid On 10/30/19 11:14 AM

Re: [OpenWrt-Devel] [PATCH-19.07] build: fix module strip invalid

2019-10-30 Thread Hauke Mehrtens
On 10/30/19 11:14 AM, daxiong wrote: > Current modpost cannot reduce the module size. > > Use $(STRIP) command to replace the modpost patch, > I think to be compatibility will be better. > > Signed-off-by: daxiong Please base this against master, then we can backport it to 19.07. Could you