Bug 4411

Summary: modinfo in 1.19 should select PLATFORM_LINUX too
Product: Busybox Reporter: Michael Tokarev <mjt+busybox>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: minor CC: busybox-cvs
Priority: P5    
Version: 1.19.x   
Target Milestone: ---   
Hardware: PC   
OS: Other   
Host: Target:
Build:
Attachments: (trivial) patch to fix this issue

Description Michael Tokarev 2011-10-30 17:47:50 UTC
Created attachment 3709 [details]
(trivial) patch to fix this issue

In 1.19, modinfo uses a function from modutils.c (filename2modname), so even if all the rest of modutils are not selected, modinfo now "pulls" modutils.c, which is linux-specific.  But modutils.c does not compile on non-linux platforms due to missing NR_init_module et al.  So mark MODINFO as select PLATFORM_LINUX.

Thanks,

/mjt