diff options
author | Pablo Greco <pablo@fliagreco.com.ar> | 2018-10-11 11:41:39 -0700 |
---|---|---|
committer | Laura Abbott <labbott@redhat.com> | 2018-10-11 11:41:39 -0700 |
commit | 25940548c92654a3ed2a5bdd523180262059383f (patch) | |
tree | 0aba5dbb8539b0ef4eb456d986802f4a037a193d | |
parent | 572a49234e31b95b7201aa700744cc78b0e98b52 (diff) | |
download | kernel-25940548c92654a3ed2a5bdd523180262059383f.tar.gz kernel-25940548c92654a3ed2a5bdd523180262059383f.tar.xz kernel-25940548c92654a3ed2a5bdd523180262059383f.zip |
Disable kernel-headers only in Fedora
For ease of building on other targets that still
build the headers in the same spec file, add a
guard around the kernel headers
[labbott: Add more commit text]
-rw-r--r-- | kernel.spec | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel.spec b/kernel.spec index d14623e6e..6f331fd45 100644 --- a/kernel.spec +++ b/kernel.spec @@ -125,8 +125,10 @@ Summary: The Linux kernel %define debugbuildsenabled 0 # Kernel headers are being split out into a separate package +%if 0%{fedora} %define with_headers 0 %define with_cross_headers 0 +%endif %if %{with_verbose} %define make_opts V=1 |