Browse Source

make sure TARGET_ARCH is set ... thought i committed this already?

Mike Frysinger 18 years ago
parent
commit
0603b41c93
1 changed files with 4 additions and 0 deletions
  1. 4 0
      libc/sysdeps/linux/Makefile.arch

+ 4 - 0
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)