summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/Makefile.arch
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-11-15 00:51:36 +0000
committerMike Frysinger <vapier@gentoo.org>2005-11-15 00:51:36 +0000
commit0603b41c9359280c75c5dd9ba76d544d88d0e556 (patch)
tree46bf9644fd9ec1c1aff9ecbb2c96f1d79cb75158 /libc/sysdeps/linux/Makefile.arch
parentff10e4e4fa5e1fb987485025045b506d2bcbbbd9 (diff)
make sure TARGET_ARCH is set ... thought i committed this already?
Diffstat (limited to 'libc/sysdeps/linux/Makefile.arch')
-rw-r--r--libc/sysdeps/linux/Makefile.arch4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/Makefile.arch b/libc/sysdeps/linux/Makefile.arch
index a954e69ba..a2d675294 100644
--- a/libc/sysdeps/linux/Makefile.arch
+++ b/libc/sysdeps/linux/Makefile.arch
@@ -5,6 +5,10 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
+ifeq ($(TARGET_ARCH),)
+$(error TARGET_ARCH is not set, no .config exists in topdir)
+endif
+
ARCH_DIR := $(top_srcdir)libc/sysdeps/linux/$(TARGET_ARCH)
ARCH_OUT := $(top_builddir)libc/sysdeps/linux/$(TARGET_ARCH)