Makefile.include (1ac731c529cd4d6adbce134754b51ff7d822b145) | Makefile.include (b5c532e90478e134b66b067c2b0487526ac4161e) |
---|---|
1# SPDX-License-Identifier: GPL-2.0 2ifneq ($(O),) 3ifeq ($(origin O), command line) 4 dummy := $(if $(shell cd $(PWD); test -d $(O) || echo $(O)),$(error O=$(O) does not exist),) 5 ABSOLUTE_O := $(shell cd $(PWD); cd $(O) ; pwd) 6 OUTPUT := $(ABSOLUTE_O)/$(if $(subdir),$(subdir)/) 7 COMMAND_O := O=$(ABSOLUTE_O) 8ifeq ($(objtree),) --- 122 unchanged lines hidden (view full) --- 131endif 132 133ifneq ($(findstring $(MAKEFLAGS), w),w) 134PRINT_DIR = --no-print-directory 135else 136NO_SUBDIR = : 137endif 138 | 1# SPDX-License-Identifier: GPL-2.0 2ifneq ($(O),) 3ifeq ($(origin O), command line) 4 dummy := $(if $(shell cd $(PWD); test -d $(O) || echo $(O)),$(error O=$(O) does not exist),) 5 ABSOLUTE_O := $(shell cd $(PWD); cd $(O) ; pwd) 6 OUTPUT := $(ABSOLUTE_O)/$(if $(subdir),$(subdir)/) 7 COMMAND_O := O=$(ABSOLUTE_O) 8ifeq ($(objtree),) --- 122 unchanged lines hidden (view full) --- 131endif 132 133ifneq ($(findstring $(MAKEFLAGS), w),w) 134PRINT_DIR = --no-print-directory 135else 136NO_SUBDIR = : 137endif 138 |
139ifneq ($(findstring s,$(filter-out --%,$(MAKEFLAGS))),) | 139# If the user is running make -s (silent mode), suppress echoing of commands 140# make-4.0 (and later) keep single letter options in the 1st word of MAKEFLAGS. 141ifeq ($(filter 3.%,$(MAKE_VERSION)),) 142short-opts := $(firstword -$(MAKEFLAGS)) 143else 144short-opts := $(filter-out --%,$(MAKEFLAGS)) 145endif 146 147ifneq ($(findstring s,$(short-opts)),) |
140 silent=1 141endif 142 143# 144# Define a callable command for descending to a new directory 145# 146# Call by doing: $(call descend,directory[,target]) 147# --- 36 unchanged lines hidden --- | 148 silent=1 149endif 150 151# 152# Define a callable command for descending to a new directory 153# 154# Call by doing: $(call descend,directory[,target]) 155# --- 36 unchanged lines hidden --- |