瀏覽代碼

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

Mike Frysinger 18 年之前
父節點
當前提交
0603b41c93
共有 1 個文件被更改,包括 4 次插入0 次删除
  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)