mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-23 20:24:12 +08:00
kbuild: remove "rpm" target, which is alias of "rpm-pkg"
As commit ebaad7d364
("kbuild: rpm: prompt to use "rpm-pkg" if "rpm"
target is used") noticed, the "rpm" target is now removed.
I assume people have already migrated to "rpm-pkg".
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
parent
c86b1f9342
commit
dd5806ede3
4
Makefile
4
Makefile
@ -1354,16 +1354,12 @@ distclean: mrproper
|
||||
|
||||
# Packaging of the kernel to various formats
|
||||
# ---------------------------------------------------------------------------
|
||||
# rpm target kept for backward compatibility
|
||||
package-dir := scripts/package
|
||||
|
||||
%src-pkg: FORCE
|
||||
$(Q)$(MAKE) $(build)=$(package-dir) $@
|
||||
%pkg: include/config/kernel.release FORCE
|
||||
$(Q)$(MAKE) $(build)=$(package-dir) $@
|
||||
rpm: rpm-pkg
|
||||
@echo " WARNING: \"rpm\" target will be removed after Linux 4.18"
|
||||
@echo " Please use \"rpm-pkg\" instead."
|
||||
|
||||
|
||||
# Brief documentation of the typical targets used
|
||||
|
Loading…
Reference in New Issue
Block a user