Makefile (09bd7c75e55cbaa6c731b0c3a5512ad89159f26f) | Makefile (16f8259ca77d04f95e5ca90be1b1894ed45816c0) |
---|---|
1# SPDX-License-Identifier: GPL-2.0 2VERSION = 4 3PATCHLEVEL = 14 4SUBLEVEL = 0 5EXTRAVERSION = 6NAME = Fearless Coyote 7 8# *DOCUMENTATION* --- 118 unchanged lines hidden (view full) --- 127ifneq ($(words $(subst :, ,$(CURDIR))), 1) 128 $(error main directory cannot contain spaces nor colons) 129endif 130 131ifneq ($(KBUILD_OUTPUT),) 132# check that the output directory actually exists 133saved-output := $(KBUILD_OUTPUT) 134KBUILD_OUTPUT := $(shell mkdir -p $(KBUILD_OUTPUT) && cd $(KBUILD_OUTPUT) \ | 1# SPDX-License-Identifier: GPL-2.0 2VERSION = 4 3PATCHLEVEL = 14 4SUBLEVEL = 0 5EXTRAVERSION = 6NAME = Fearless Coyote 7 8# *DOCUMENTATION* --- 118 unchanged lines hidden (view full) --- 127ifneq ($(words $(subst :, ,$(CURDIR))), 1) 128 $(error main directory cannot contain spaces nor colons) 129endif 130 131ifneq ($(KBUILD_OUTPUT),) 132# check that the output directory actually exists 133saved-output := $(KBUILD_OUTPUT) 134KBUILD_OUTPUT := $(shell mkdir -p $(KBUILD_OUTPUT) && cd $(KBUILD_OUTPUT) \ |
135 && /bin/pwd) | 135 && pwd) |
136$(if $(KBUILD_OUTPUT),, \ 137 $(error failed to create output directory "$(saved-output)")) 138 139PHONY += $(MAKECMDGOALS) sub-make 140 141$(filter-out _all sub-make $(CURDIR)/Makefile, $(MAKECMDGOALS)) _all: sub-make 142 @: 143 --- 1574 unchanged lines hidden --- | 136$(if $(KBUILD_OUTPUT),, \ 137 $(error failed to create output directory "$(saved-output)")) 138 139PHONY += $(MAKECMDGOALS) sub-make 140 141$(filter-out _all sub-make $(CURDIR)/Makefile, $(MAKECMDGOALS)) _all: sub-make 142 @: 143 --- 1574 unchanged lines hidden --- |