Lines Matching +full:output +full:- +full:only
1 # SPDX-License-Identifier: GPL-2.0-only
11 # O is an alias for OUTPUT
12 OUTPUT := $(O) macro
14 ifeq ($(OUTPUT),)
15 OUTPUT := $(CURDIR) macro
19 OUTPUT := $(OUTPUT)/$(subdir) macro
23 ifneq ($(patsubst %/,,$(lastword $(OUTPUT))),)
24 OUTPUT := $(OUTPUT)/ macro
27 RTLA := $(OUTPUT)rtla
28 RTLA_IN := $(RTLA)-in.o
30 VERSION := $(shell sh -c "make -sC ../../.. kernelversion | grep -v make")
51 # check for dependencies only on required targets
56 ifeq ($(filter-out $(NON_CONFIG_TARGETS),$(MAKECMDGOALS)),)
68 export CFLAGS OUTPUT srctree
71 $(QUIET_LINK)$(CC) $(LDFLAGS) -o $(RTLA) $(RTLA_IN) $(EXTLIBS)
74 $(eval LDFLAGS += -static)
75 $(QUIET_LINK)$(CC) -static $(LDFLAGS) -o $(RTLA)-static $(RTLA_IN) $(EXTLIBS)
78 make -f $(srctree)/tools/build/Makefile.build dir=. $@
83 clean: doc_clean fixdep-clean
85 $(Q)find . -name '*.o' -delete -o -name '\.*.cmd' -delete -o -name '\.*.d' -delete
86 $(Q)rm -f rtla rtla-static fixdep FEATURE-DUMP rtla-*
87 $(Q)rm -rf feature