| srctree := $(patsubst %/,%,$(dir $(CURDIR))) |
| srctree := $(patsubst %/,%,$(dir $(srctree))) |
| include $(srctree)/tools//scripts/Makefile.include |
| $(if $(or $(findstring environment,$(origin $(1))),\ |
| $(findstring command line,$(origin $(1)))),,\ |
| $(call allow-override,CC,$(CROSS_COMPILE)gcc) |
| $(call allow-override,LD,$(CROSS_COMPILE)ld) |
| export HOSTCC HOSTLD HOSTAR |
| MAKEFLAGS := --no-print-directory |
| build := -f $(srctree)/tools/build/Makefile.build dir=. obj |
| $(call QUIET_CLEAN, fixdep) |
| $(Q)find $(if $(OUTPUT),$(OUTPUT),.) -name '*.o' -delete -o -name '\.*.cmd' -delete -o -name '\.*.d' -delete |
| $(Q)rm -f $(OUTPUT)fixdep |
| $(OUTPUT)fixdep-in.o: FORCE |
| $(Q)$(MAKE) $(build)=fixdep |
| $(OUTPUT)fixdep: $(OUTPUT)fixdep-in.o |
| $(QUIET_LINK)$(HOSTCC) $(LDFLAGS) -o $@ $< |