Makefile (753d179ad001b25425beb977d00f2531540e7d42) | Makefile (028568d84da3cfca49f5f846eeeef01441d70451) |
---|---|
1VERSION = 4 2PATCHLEVEL = 14 3SUBLEVEL = 0 4EXTRAVERSION = -rc3 5NAME = Fearless Coyote 6 7# *DOCUMENTATION* 8# To see a list of typical targets execute "make help" --- 116 unchanged lines hidden (view full) --- 125 126ifneq ($(words $(subst :, ,$(CURDIR))), 1) 127 $(error main directory cannot contain spaces nor colons) 128endif 129 130ifneq ($(KBUILD_OUTPUT),) 131# check that the output directory actually exists 132saved-output := $(KBUILD_OUTPUT) | 1VERSION = 4 2PATCHLEVEL = 14 3SUBLEVEL = 0 4EXTRAVERSION = -rc3 5NAME = Fearless Coyote 6 7# *DOCUMENTATION* 8# To see a list of typical targets execute "make help" --- 116 unchanged lines hidden (view full) --- 125 126ifneq ($(words $(subst :, ,$(CURDIR))), 1) 127 $(error main directory cannot contain spaces nor colons) 128endif 129 130ifneq ($(KBUILD_OUTPUT),) 131# check that the output directory actually exists 132saved-output := $(KBUILD_OUTPUT) |
133$(shell [ -d $(KBUILD_OUTPUT) ] || mkdir -p $(KBUILD_OUTPUT)) 134KBUILD_OUTPUT := $(realpath $(KBUILD_OUTPUT)) | 133KBUILD_OUTPUT := $(shell mkdir -p $(KBUILD_OUTPUT) && cd $(KBUILD_OUTPUT) \ 134 && /bin/pwd) |
135$(if $(KBUILD_OUTPUT),, \ 136 $(error failed to create output directory "$(saved-output)")) 137 138PHONY += $(MAKECMDGOALS) sub-make 139 140$(filter-out _all sub-make $(CURDIR)/Makefile, $(MAKECMDGOALS)) _all: sub-make 141 @: 142 --- 1572 unchanged lines hidden --- | 135$(if $(KBUILD_OUTPUT),, \ 136 $(error failed to create output directory "$(saved-output)")) 137 138PHONY += $(MAKECMDGOALS) sub-make 139 140$(filter-out _all sub-make $(CURDIR)/Makefile, $(MAKECMDGOALS)) _all: sub-make 141 @: 142 --- 1572 unchanged lines hidden --- |