History

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.

Masahiro Yamada committed 3 years ago

Commit 975667d1 parent 49c803c4 files · +6 −4Browse files

Unified · Split

4 files
  1. .gitignore +1 −1
  2. Makefile +1 −1
  3. scripts/Makefile.package +2 −2
  4. scripts/remove-stale-files +2 −0
.gitignore+1−1
@@ -74,7 +74,7 @@ modules.order · 73 unmodified lines
7474 #
7575 # RPM spec file (make rpm-pkg)
7676 #
77−/*.spec
77+/kernel.spec
7878 /rpmbuild/
7979
8080 #
Makefile+1−1
@@ -1610,7 +1610,7 @@ MRPROPER_FILES += include/config include/generated \ · 1609 unmodified lines
16101610 certs/signing_key.pem \
16111611 certs/x509.genkey \
16121612 vmlinux-gdb.py \
1613− *.spec rpmbuild \
1613+ kernel.spec rpmbuild \
16141614 rust/libmacros.so
16151615
16161616 # clean - Delete most, but leave enough to build external modules
scripts/Makefile.package+2−2
@@ -86,9 +86,9 @@ srcrpm-pkg: linux.tar.gz · 85 unmodified lines
8686 # ---------------------------------------------------------------------------
8787 PHONY += binrpm-pkg
8888 binrpm-pkg:
89− $(CONFIG_SHELL) $(MKSPEC) prebuilt > $(objtree)/binkernel.spec
89+ $(CONFIG_SHELL) $(MKSPEC) prebuilt > $(objtree)/kernel.spec
9090 +rpmbuild $(RPMOPTS) --define "_builddir $(objtree)" --target \
91− $(UTS_MACHINE)-linux -bb $(objtree)/binkernel.spec \
91+ $(UTS_MACHINE)-linux -bb $(objtree)/kernel.spec \
9292 --build-in-place --noprep --define='_smp_mflags %{nil}' --without devel \
9393 --define='make $(MAKE)'
9494
scripts/remove-stale-files+2−0
@@ -37,3 +37,5 @@ rm -f .scmversion · 36 unmodified lines
3737 rm -rf include/ksym
3838
3939 find . -name '*.usyms' | xargs rm -f
40+
41+rm -f binkernel.spec

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t