Changeset View
Changeset View
Standalone View
Standalone View
include/Makefile
Show First 20 Lines • Show All 480 Lines • ▼ Show 20 Lines | |||||
.if ${MACHINE} == "host" && !defined(_SKIP_BUILD) | .if ${MACHINE} == "host" && !defined(_SKIP_BUILD) | ||||
# we're here because we are building a sysroot... | # we're here because we are building a sysroot... | ||||
# we need MACHINE et al set correctly | # we need MACHINE et al set correctly | ||||
HOST_MACHINE!= uname -m | HOST_MACHINE!= uname -m | ||||
HOST_MACHINE_ARCH!= uname -p | HOST_MACHINE_ARCH!= uname -p | ||||
MACHINE:= ${HOST_MACHINE} | MACHINE:= ${HOST_MACHINE} | ||||
MACHINE_ARCH:= ${HOST_MACHINE_ARCH} | MACHINE_ARCH:= ${HOST_MACHINE_ARCH} | ||||
.endif | .endif | ||||
check-ldirs: | |||||
missing_dirs=""; \ | |||||
for dir in ${LDIRS} ${LSUBDIRS} ${LSUBSUBDIRS}; do \ | |||||
if [ ! -d ${SRCTOP}/sys/$$dir ]; then \ | |||||
echo "${SRCTOP}/sys/$$dir"; \ | |||||
missing_dirs="$$missing_dirs $$dir"; \ | |||||
fi; \ | |||||
done; \ | |||||
if [ -n "$$missing_dirs" ]; then \ | |||||
echo "Nonexistant directories:" $$missing_dirs; \ | |||||
false; \ | |||||
fi |