blob: 295b80499651e16f5a21cdc8f1872f64a9796d77 (
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
|
DEB_BUILD_ARCH := overridden
TEST_DEB_BUILD_ARCH := overridden
include $(srcdir)/mk/architecture.mk
vars := \
ARCH \
ARCH_ABI \
ARCH_BITS \
ARCH_CPU \
ARCH_ENDIAN \
ARCH_LIBC \
ARCH_OS \
GNU_CPU \
GNU_SYSTEM \
GNU_TYPE \
MULTIARCH \
# EOL
loop_targets := $(foreach machine,BUILD HOST TARGET,\
$(foreach var,$(vars),DEB_$(machine)_$(var)))
test: $(loop_targets)
$(loop_targets):
: # Test the $@ Make variable.
test '$($@)' = '$(TEST_$@)'
: # Test the $@ exported variable.
test "$${$@}" = '$(TEST_$@)'
|