aboutsummaryrefslogtreecommitdiff
path: root/tests/cyclictest/root/GNUmakefile
blob: 3b454033f3ca8d08cf888d482b83283949912995 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Automatically generated by /home/wsh/students/kocikare/linux-conf-perf/buildroot/support/scripts/mkmakefile: don't edit
export SRCARCH=$(CONF_KERNEL_ARCH)

lastword = $(word $(words $(1)),$(1))
makedir := $(dir $(call lastword,$(MAKEFILE_LIST)))

MAKEARGS := -C $(makedir)/../../../scripts/buildroot
MAKEARGS += O=$(if $(patsubst /%,,$(makedir)),$(CURDIR)/)$(patsubst %/,%,$(makedir))

MAKEFLAGS += --no-print-directory

.PHONY: all $(MAKECMDGOALS)

all	:= $(filter-out Makefile .config,$(MAKECMDGOALS))

_all:
	$(MAKE) $(MAKEARGS) $(all)

-include ../../../.conf.mk

../../../.conf.mk:
	$(MAKE) -C ../../../ .conf.mk

_all: .config
.config: config_base ../../../$(CONF_TEST_CONFIG_CYCLICTEST)
	cp config_base .config
	cat ../../../$(CONF_TEST_CONFIG_CYCLICTEST) >> .config
	yes "" | make oldconfig

Makefile:;

$(all): _all
	@:

%/: _all
	@: