Loading u-boot-tree/scripts/Kbuild.include +2 −3 Original line number Diff line number Diff line Loading @@ -7,7 +7,6 @@ quote := " squote := ' empty := space := $(empty) $(empty) pound := \# ### # Name of target with a '.' as filename prefix. foo/bar.o => foo/.bar.o Loading Loading @@ -243,11 +242,11 @@ endif # Replace >$< with >$$< to preserve $ when reloading the .cmd file # (needed for make) # Replace >#< with >$(pound)< to avoid starting a comment in the .cmd file # Replace >#< with >\#< to avoid starting a comment in the .cmd file # (needed for make) # Replace >'< with >'\''< to be able to enclose the whole string in '...' # (needed for the shell) make-cmd = $(call escsq,$(subst $(pound),$$(pound),$(subst $$,$$$$,$(cmd_$(1))))) make-cmd = $(call escsq,$(subst \#,\\\#,$(subst $$,$$$$,$(cmd_$(1))))) # Find any prerequisites that is newer than target or that does not exist. # PHONY targets skipped in both cases. Loading u-boot-tree/scripts/Makefile +12 −1 Original line number Diff line number Diff line # SPDX-License-Identifier: GPL-2.0 ### # scripts contains sources for various helper programs used throughout # the kernel for the build process. # --------------------------------------------------------------------------- # docproc: Used in Documentation/DocBook # # SPDX-License-Identifier: GPL-2.0 # hostprogs-$(CONFIG_BUILD_BIN2C) += bin2c always := $(hostprogs-y) # The following hostprogs-y programs are only build on demand hostprogs-y += docproc # These targets are used internally to avoid "is up to date" messages PHONY += build_docproc build_docproc: $(obj)/docproc @: # Let clean descend into subdirs subdir- += basic kconfig subdir-$(CONFIG_DTC) += dtc u-boot-tree/scripts/Makefile.autoconf +3 −1 Original line number Diff line number Diff line # SPDX-License-Identifier: GPL-2.0 # This helper makefile is used for creating # - symbolic links (arch/$ARCH/include/asm/arch # - include/autoconf.mk, {spl,tpl}/include/autoconf.mk Loading @@ -7,6 +6,9 @@ # When our migration to Kconfig is done # (= When we move all CONFIGs from header files to Kconfig) # this makefile can be deleted. # # SPDX-License-Identifier: GPL-2.0 # __all: include/autoconf.mk include/autoconf.mk.dep Loading u-boot-tree/scripts/Makefile.build +3 −12 Original line number Diff line number Diff line # SPDX-License-Identifier: GPL-2.0 # ========================================================================== # Building # ========================================================================== # # SPDX-License-Identifier: GPL-2.0 # # Modified for U-Boot prefix := tpl Loading Loading @@ -415,17 +417,6 @@ $(call multi_depend, $(multi-used-m), .o, -objs -y) targets += $(multi-used-y) $(multi-used-m) # Add intermediate targets: # When building objects with specific suffix patterns, add intermediate # targets that the final targets are derived from. intermediate_targets = $(foreach sfx, $(2), \ $(patsubst %$(strip $(1)),%$(sfx), \ $(filter %$(strip $(1)), $(targets)))) # %.lex.o <- %.lex.c <- %.l # %.tab.o <- %.tab.[ch] <- %.y targets += $(call intermediate_targets, .lex.o, .lex.c) \ $(call intermediate_targets, .tab.o, .tab.c .tab.h) # Descending # --------------------------------------------------------------------------- Loading u-boot-tree/scripts/Makefile.clean +3 −1 Original line number Diff line number Diff line # SPDX-License-Identifier: GPL-2.0 # ========================================================================== # Cleaning up # ========================================================================== # # SPDX-License-Identifier: GPL-2.0 # src := $(obj) Loading Loading
u-boot-tree/scripts/Kbuild.include +2 −3 Original line number Diff line number Diff line Loading @@ -7,7 +7,6 @@ quote := " squote := ' empty := space := $(empty) $(empty) pound := \# ### # Name of target with a '.' as filename prefix. foo/bar.o => foo/.bar.o Loading Loading @@ -243,11 +242,11 @@ endif # Replace >$< with >$$< to preserve $ when reloading the .cmd file # (needed for make) # Replace >#< with >$(pound)< to avoid starting a comment in the .cmd file # Replace >#< with >\#< to avoid starting a comment in the .cmd file # (needed for make) # Replace >'< with >'\''< to be able to enclose the whole string in '...' # (needed for the shell) make-cmd = $(call escsq,$(subst $(pound),$$(pound),$(subst $$,$$$$,$(cmd_$(1))))) make-cmd = $(call escsq,$(subst \#,\\\#,$(subst $$,$$$$,$(cmd_$(1))))) # Find any prerequisites that is newer than target or that does not exist. # PHONY targets skipped in both cases. Loading
u-boot-tree/scripts/Makefile +12 −1 Original line number Diff line number Diff line # SPDX-License-Identifier: GPL-2.0 ### # scripts contains sources for various helper programs used throughout # the kernel for the build process. # --------------------------------------------------------------------------- # docproc: Used in Documentation/DocBook # # SPDX-License-Identifier: GPL-2.0 # hostprogs-$(CONFIG_BUILD_BIN2C) += bin2c always := $(hostprogs-y) # The following hostprogs-y programs are only build on demand hostprogs-y += docproc # These targets are used internally to avoid "is up to date" messages PHONY += build_docproc build_docproc: $(obj)/docproc @: # Let clean descend into subdirs subdir- += basic kconfig subdir-$(CONFIG_DTC) += dtc
u-boot-tree/scripts/Makefile.autoconf +3 −1 Original line number Diff line number Diff line # SPDX-License-Identifier: GPL-2.0 # This helper makefile is used for creating # - symbolic links (arch/$ARCH/include/asm/arch # - include/autoconf.mk, {spl,tpl}/include/autoconf.mk Loading @@ -7,6 +6,9 @@ # When our migration to Kconfig is done # (= When we move all CONFIGs from header files to Kconfig) # this makefile can be deleted. # # SPDX-License-Identifier: GPL-2.0 # __all: include/autoconf.mk include/autoconf.mk.dep Loading
u-boot-tree/scripts/Makefile.build +3 −12 Original line number Diff line number Diff line # SPDX-License-Identifier: GPL-2.0 # ========================================================================== # Building # ========================================================================== # # SPDX-License-Identifier: GPL-2.0 # # Modified for U-Boot prefix := tpl Loading Loading @@ -415,17 +417,6 @@ $(call multi_depend, $(multi-used-m), .o, -objs -y) targets += $(multi-used-y) $(multi-used-m) # Add intermediate targets: # When building objects with specific suffix patterns, add intermediate # targets that the final targets are derived from. intermediate_targets = $(foreach sfx, $(2), \ $(patsubst %$(strip $(1)),%$(sfx), \ $(filter %$(strip $(1)), $(targets)))) # %.lex.o <- %.lex.c <- %.l # %.tab.o <- %.tab.[ch] <- %.y targets += $(call intermediate_targets, .lex.o, .lex.c) \ $(call intermediate_targets, .tab.o, .tab.c .tab.h) # Descending # --------------------------------------------------------------------------- Loading
u-boot-tree/scripts/Makefile.clean +3 −1 Original line number Diff line number Diff line # SPDX-License-Identifier: GPL-2.0 # ========================================================================== # Cleaning up # ========================================================================== # # SPDX-License-Identifier: GPL-2.0 # src := $(obj) Loading