Bug 4411 - modinfo in 1.19 should select PLATFORM_LINUX too
Summary: modinfo in 1.19 should select PLATFORM_LINUX too
Status: RESOLVED FIXED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.19.x
Hardware: PC Other
: P5 minor
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-30 17:47 UTC by Michael Tokarev
Modified: 2011-10-30 21:14 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
(trivial) patch to fix this issue (585 bytes, text/x-c++)
2011-10-30 17:47 UTC, Michael Tokarev
Details

Note You need to log in before you can comment on or make changes to this bug.
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