| Summary: | modinfo in 1.19 should select PLATFORM_LINUX too | ||
|---|---|---|---|
| Product: | Busybox | Reporter: | Michael Tokarev <mjt+busybox> |
| Component: | Other | Assignee: | 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 | ||
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