diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-09-30 10:10:05 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-10-09 18:13:19 +0900 |
commit | 5289c322ba994c7b07a4780243dca1feb610954f (patch) | |
tree | 84cca60efb31dd13aae8fd8b8aee9f23255ae0a6 /Documentation/scsi | |
parent | 81771ce2d1a9f9ce8739aac7af64bb03ff4b6a1a (diff) | |
download | linux-5289c322ba994c7b07a4780243dca1feb610954f.tar.gz linux-5289c322ba994c7b07a4780243dca1feb610954f.tar.bz2 linux-5289c322ba994c7b07a4780243dca1feb610954f.zip |
kbuild: rpm-pkg: clean up mkspec
Clean up the mkspec without changing the behavior.
- grep CONFIG_DRM=y more simply
- move "EXCLUDE" out of the "%install" section because it can be
computed when the spec file is generated
- remove "BuildRoot:" field, which is now redundant
- do not mkdir $RPM_BUILD_ROOT/lib/modules explicitly because it
is automatically created by "make modules_install"
- exclude "%package devel" from source package spec file because
it does not make sense where "%files devel" is already excluded
- exclude "%build" from source package spec file
- remove unneeded "make clean" because we had already cleaned
before making tar file
- merge two %ifarch ia64 conditionals
- replace KBUILD_IMAGE with direct use of $(make image_name)
- remove trailing empty line from the spec file
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'Documentation/scsi')
0 files changed, 0 insertions, 0 deletions