From 0603b41c9359280c75c5dd9ba76d544d88d0e556 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 15 Nov 2005 00:51:36 +0000 Subject: make sure TARGET_ARCH is set ... thought i committed this already? --- libc/sysdeps/linux/Makefile.arch | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libc') 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) -- cgit v1.2.3