Bug 213535 - [patch] [cam] cam(4) does not build outside of KERNBUILDDIR
Summary: [patch] [cam] cam(4) does not build outside of KERNBUILDDIR
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 11.0-STABLE
Hardware: Any Any
: --- Affects Some People
Assignee: Enji Cooper
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2016-10-16 15:12 UTC by Eugene Grosbein
Modified: 2017-01-17 23:55 UTC (History)
2 users (show)

See Also:
ngie: mfc-stable11+
ngie: mfc-stable10+


Attachments
fix cam.ko build outside of KERNBUILDDIR (313 bytes, patch)
2016-10-16 15:12 UTC, Eugene Grosbein
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Grosbein 2016-10-16 15:12:19 UTC
Created attachment 175823 [details]
fix cam.ko build outside of KERNBUILDDIR

cam.ko does not build outside of KERNBUILDDIR due to missing "opt_ddb.h" file.
Attached patch fixes this.
Comment 1 Enji Cooper freebsd_committer freebsd_triage 2017-01-17 23:55:46 UTC
The issue was fixed by commits on ^/head that weren't MFCed to stable branches. I fixed the issue in ^/stable/11 by r312356 and in ^/stable/10 by r312357 (r312357 required MFCing r299864 as well).

Thank you for the report!