kbuild: remove PYTHON2 variable
diff mbox series

Message ID 20200106083628.29729-1-masahiroy@kernel.org
State New
Headers show
Series
  • kbuild: remove PYTHON2 variable
Related show

Commit Message

Masahiro Yamada Jan. 6, 2020, 8:36 a.m. UTC
Python 2 has retired. There is no user of this variable.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---

 Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Masahiro Yamada Jan. 11, 2020, 7:21 a.m. UTC | #1
On Mon, Jan 6, 2020 at 5:36 PM Masahiro Yamada <masahiroy@kernel.org> wrote:
>
> Python 2 has retired. There is no user of this variable.
>
> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>


Applied to linux-kbuild.


> ---
>
>  Makefile | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index 4f01de6cd43c..4a0796b05324 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -423,7 +423,6 @@ INSTALLKERNEL  := installkernel
>  DEPMOD         = /sbin/depmod
>  PERL           = perl
>  PYTHON         = python
> -PYTHON2                = python2
>  PYTHON3                = python3
>  CHECK          = sparse
>  BASH           = bash
> @@ -474,7 +473,7 @@ CLANG_FLAGS :=
>
>  export ARCH SRCARCH CONFIG_SHELL BASH HOSTCC KBUILD_HOSTCFLAGS CROSS_COMPILE AS LD CC
>  export CPP AR NM STRIP OBJCOPY OBJDUMP OBJSIZE READELF PAHOLE LEX YACC AWK INSTALLKERNEL
> -export PERL PYTHON PYTHON2 PYTHON3 CHECK CHECKFLAGS MAKE UTS_MACHINE HOSTCXX
> +export PERL PYTHON PYTHON3 CHECK CHECKFLAGS MAKE UTS_MACHINE HOSTCXX
>  export KBUILD_HOSTCXXFLAGS KBUILD_HOSTLDFLAGS KBUILD_HOSTLDLIBS LDFLAGS_MODULE
>
>  export KBUILD_CPPFLAGS NOSTDINC_FLAGS LINUXINCLUDE OBJCOPYFLAGS KBUILD_LDFLAGS
> --
> 2.17.1
>

Patch
diff mbox series

diff --git a/Makefile b/Makefile
index 4f01de6cd43c..4a0796b05324 100644
--- a/Makefile
+++ b/Makefile
@@ -423,7 +423,6 @@  INSTALLKERNEL  := installkernel
 DEPMOD		= /sbin/depmod
 PERL		= perl
 PYTHON		= python
-PYTHON2		= python2
 PYTHON3		= python3
 CHECK		= sparse
 BASH		= bash
@@ -474,7 +473,7 @@  CLANG_FLAGS :=
 
 export ARCH SRCARCH CONFIG_SHELL BASH HOSTCC KBUILD_HOSTCFLAGS CROSS_COMPILE AS LD CC
 export CPP AR NM STRIP OBJCOPY OBJDUMP OBJSIZE READELF PAHOLE LEX YACC AWK INSTALLKERNEL
-export PERL PYTHON PYTHON2 PYTHON3 CHECK CHECKFLAGS MAKE UTS_MACHINE HOSTCXX
+export PERL PYTHON PYTHON3 CHECK CHECKFLAGS MAKE UTS_MACHINE HOSTCXX
 export KBUILD_HOSTCXXFLAGS KBUILD_HOSTLDFLAGS KBUILD_HOSTLDLIBS LDFLAGS_MODULE
 
 export KBUILD_CPPFLAGS NOSTDINC_FLAGS LINUXINCLUDE OBJCOPYFLAGS KBUILD_LDFLAGS