Loading Makefile +1 −2 Original line number Original line Diff line number Diff line Loading @@ -494,8 +494,7 @@ PHONY += outputmakefile outputmakefile: outputmakefile: ifneq ($(KBUILD_SRC),) ifneq ($(KBUILD_SRC),) $(Q)ln -fsn $(srctree) source $(Q)ln -fsn $(srctree) source $(Q)$(CONFIG_SHELL) $(srctree)/scripts/mkmakefile \ $(Q)$(CONFIG_SHELL) $(srctree)/scripts/mkmakefile $(srctree) $(objtree) $(srctree) $(objtree) $(VERSION) $(PATCHLEVEL) endif endif ifeq ($(cc-name),clang) ifeq ($(cc-name),clang) Loading scripts/mkmakefile +0 −6 Original line number Original line Diff line number Diff line Loading @@ -7,9 +7,6 @@ # Usage # Usage # $1 - Kernel src directory # $1 - Kernel src directory # $2 - Output directory # $2 - Output directory # $3 - version # $4 - patchlevel test ! -r $2/Makefile -o -O $2/Makefile || exit 0 test ! -r $2/Makefile -o -O $2/Makefile || exit 0 # Only overwrite automatically generated Makefiles # Only overwrite automatically generated Makefiles Loading @@ -25,9 +22,6 @@ fi cat << EOF > $2/Makefile cat << EOF > $2/Makefile # Automatically generated by $0: don't edit # Automatically generated by $0: don't edit VERSION = $3 PATCHLEVEL = $4 lastword = \$(word \$(words \$(1)),\$(1)) lastword = \$(word \$(words \$(1)),\$(1)) makedir := \$(dir \$(call lastword,\$(MAKEFILE_LIST))) makedir := \$(dir \$(call lastword,\$(MAKEFILE_LIST))) Loading Loading
Makefile +1 −2 Original line number Original line Diff line number Diff line Loading @@ -494,8 +494,7 @@ PHONY += outputmakefile outputmakefile: outputmakefile: ifneq ($(KBUILD_SRC),) ifneq ($(KBUILD_SRC),) $(Q)ln -fsn $(srctree) source $(Q)ln -fsn $(srctree) source $(Q)$(CONFIG_SHELL) $(srctree)/scripts/mkmakefile \ $(Q)$(CONFIG_SHELL) $(srctree)/scripts/mkmakefile $(srctree) $(objtree) $(srctree) $(objtree) $(VERSION) $(PATCHLEVEL) endif endif ifeq ($(cc-name),clang) ifeq ($(cc-name),clang) Loading
scripts/mkmakefile +0 −6 Original line number Original line Diff line number Diff line Loading @@ -7,9 +7,6 @@ # Usage # Usage # $1 - Kernel src directory # $1 - Kernel src directory # $2 - Output directory # $2 - Output directory # $3 - version # $4 - patchlevel test ! -r $2/Makefile -o -O $2/Makefile || exit 0 test ! -r $2/Makefile -o -O $2/Makefile || exit 0 # Only overwrite automatically generated Makefiles # Only overwrite automatically generated Makefiles Loading @@ -25,9 +22,6 @@ fi cat << EOF > $2/Makefile cat << EOF > $2/Makefile # Automatically generated by $0: don't edit # Automatically generated by $0: don't edit VERSION = $3 PATCHLEVEL = $4 lastword = \$(word \$(words \$(1)),\$(1)) lastword = \$(word \$(words \$(1)),\$(1)) makedir := \$(dir \$(call lastword,\$(MAKEFILE_LIST))) makedir := \$(dir \$(call lastword,\$(MAKEFILE_LIST))) Loading