diff options
author | rmh <rmh@FreeBSD.org> | 2012-02-04 00:54:43 +0000 |
---|---|---|
committer | rmh <rmh@FreeBSD.org> | 2012-02-04 00:54:43 +0000 |
commit | b5b4042f4a5b585a16906dd4cc90b3403e356ad4 (patch) | |
tree | 0b514413c1731e8ee1f950a2cd74d9cd56a0c36e /tools | |
parent | f09d52298a8098f1b2b08923c9b575cb16110c84 (diff) | |
download | FreeBSD-src-b5b4042f4a5b585a16906dd4cc90b3403e356ad4.zip FreeBSD-src-b5b4042f4a5b585a16906dd4cc90b3403e356ad4.tar.gz |
Add MK_SOURCELESS build option. Setting MK_SOURCELESS to "no" will disable
kernel modules that include binary-only code.
More fine-grained control is provided via MK_SOURCELESS_HOST (for native code
that runs on host CPU) and MK_SOURCELESS_UCODE (for microcode).
Reviewed by: julian, delphij, freebsd-arch
Approved by: kib (mentor)
MFC after: 2 weeks
Diffstat (limited to 'tools')
-rw-r--r-- | tools/build/options/WITHOUT_SOURCELESS | 2 | ||||
-rw-r--r-- | tools/build/options/WITHOUT_SOURCELESS_HOST | 2 | ||||
-rw-r--r-- | tools/build/options/WITHOUT_SOURCELESS_UCODE | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/tools/build/options/WITHOUT_SOURCELESS b/tools/build/options/WITHOUT_SOURCELESS new file mode 100644 index 0000000..995252e --- /dev/null +++ b/tools/build/options/WITHOUT_SOURCELESS @@ -0,0 +1,2 @@ +.\" $FreeBSD$ +Set to not build kernel modules that include sourceless code (either microcode or native code for host CPU). diff --git a/tools/build/options/WITHOUT_SOURCELESS_HOST b/tools/build/options/WITHOUT_SOURCELESS_HOST new file mode 100644 index 0000000..22a8dff --- /dev/null +++ b/tools/build/options/WITHOUT_SOURCELESS_HOST @@ -0,0 +1,2 @@ +.\" $FreeBSD$ +Set to not build kernel modules that include sourceless native code for host CPU. diff --git a/tools/build/options/WITHOUT_SOURCELESS_UCODE b/tools/build/options/WITHOUT_SOURCELESS_UCODE new file mode 100644 index 0000000..c356a95 --- /dev/null +++ b/tools/build/options/WITHOUT_SOURCELESS_UCODE @@ -0,0 +1,2 @@ +.\" $FreeBSD$ +Set to not build kernel modules that include sourceless microcode. |