base-files: fix Build/Compile override handling, fixes ar7 compile
[openwrt/svn-archive/archive.git] / include / toolchain-build.mk
1 #
2 # Copyright (C) 2009 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 override CONFIG_AUTOREBUILD=
9
10 REAL_STAGING_DIR_HOST:=$(STAGING_DIR_HOST)
11 STAGING_DIR_HOST:=$(TOOLCHAIN_DIR)
12 BUILD_DIR_HOST:=$(BUILD_DIR_TOOLCHAIN)
13
14 TOOLCHAIN_JOBS?=$(if $(CONFIG_TOOLCHAIN_PARALLEL),-j$(CONFIG_PKG_BUILD_JOBS))
15
16 include $(INCLUDE_DIR)/host-build.mk
17
18 HOST_STAMP_PREPARED=$(HOST_BUILD_DIR)/.prepared