diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2023-07-22 13:48:03 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2023-07-25 00:59:33 +0900 |
commit | 975667d02d134f7b48d15ee7ff0d49e69a6774cf (patch) | |
tree | 42d017a5124e5f1e3c1684895768bc202d6ff9e2 /scripts | |
parent | 49c803cd919d39321979494aa39417b2ffd22e1e (diff) | |
download | linux-975667d02d134f7b48d15ee7ff0d49e69a6774cf.tar.gz linux-975667d02d134f7b48d15ee7ff0d49e69a6774cf.tar.bz2 linux-975667d02d134f7b48d15ee7ff0d49e69a6774cf.zip |
kbuild: rpm-pkg: rename binkernel.spec to kernel.spec
Now kernel.spec and binkernel.spec have the exactly same contents.
Use kernel.spec for binrpm-pkg as well.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.package | 4 | ||||
-rwxr-xr-x | scripts/remove-stale-files | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/scripts/Makefile.package b/scripts/Makefile.package index c36ae03d6002..be9602fa98da 100644 --- a/scripts/Makefile.package +++ b/scripts/Makefile.package @@ -86,9 +86,9 @@ srcrpm-pkg: linux.tar.gz # --------------------------------------------------------------------------- PHONY += binrpm-pkg binrpm-pkg: - $(CONFIG_SHELL) $(MKSPEC) prebuilt > $(objtree)/binkernel.spec + $(CONFIG_SHELL) $(MKSPEC) prebuilt > $(objtree)/kernel.spec +rpmbuild $(RPMOPTS) --define "_builddir $(objtree)" --target \ - $(UTS_MACHINE)-linux -bb $(objtree)/binkernel.spec \ + $(UTS_MACHINE)-linux -bb $(objtree)/kernel.spec \ --build-in-place --noprep --define='_smp_mflags %{nil}' --without devel \ --define='make $(MAKE)' diff --git a/scripts/remove-stale-files b/scripts/remove-stale-files index f3659ea0335b..8b1a636f8543 100755 --- a/scripts/remove-stale-files +++ b/scripts/remove-stale-files @@ -37,3 +37,5 @@ rm -f .scmversion rm -rf include/ksym find . -name '*.usyms' | xargs rm -f + +rm -f binkernel.spec |