blob: 160ef09ecafff6c0d3f36064623d07e064774e00 (
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
|
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
@:
|