Move VENDOR stuff to project

This commit is contained in:
Ulf Samuelsson 2007-08-24 05:27:17 +00:00
parent c4931c315a
commit 1f1faff85a
2 changed files with 19 additions and 17 deletions

View File

@ -13,6 +13,8 @@ WGET:=$(strip $(subst ",, $(BR2_WGET))) $(SPIDER)
#")) #"))
SVN:=$(strip $(subst ",, $(BR2_SVN))) SVN:=$(strip $(subst ",, $(BR2_SVN)))
#")) #"))
GIT:=$(strip $(subst ",, $(BR2_GIT)))
#"))
ZCAT:=$(strip $(subst ",, $(BR2_ZCAT))) ZCAT:=$(strip $(subst ",, $(BR2_ZCAT)))
#")) #"))
BZCAT:=$(strip $(subst ",, $(BR2_BZCAT))) BZCAT:=$(strip $(subst ",, $(BR2_BZCAT)))
@ -54,3 +56,20 @@ STAGING_DIR:=$(strip $(subst ",, $(BR2_STAGING_DIR)))
PROJECT_BUILD_DIR:=$(BASE_DIR)/$(TOPDIR_PREFIX)project_build_$(ARCH)$(ARCH_FPU_SUFFIX)$(TOPDIR_SUFFIX)/$(PROJECT) PROJECT_BUILD_DIR:=$(BASE_DIR)/$(TOPDIR_PREFIX)project_build_$(ARCH)$(ARCH_FPU_SUFFIX)$(TOPDIR_SUFFIX)/$(PROJECT)
BINARIES_DIR:=$(BASE_DIR)/binaries/$(PROJECT) BINARIES_DIR:=$(BASE_DIR)/binaries/$(PROJECT)
TARGET_DIR:=$(PROJECT_BUILD_DIR)/root TARGET_DIR:=$(PROJECT_BUILD_DIR)/root
# define values for prepatched source trees for toolchains
VENDOR_SITE:=$(strip $(subst ",,$(BR2_VENDOR_SITE)))
#"))
VENDOR_SUFFIX:=$(strip $(subst ",,$(BR2_VENDOR_SUFFIX)))
#"))
VENDOR_BINUTILS_RELEASE:=$(strip $(subst ",,$(BR2_VENDOR_BINUTILS_RELEASE)))
#"))
VENDOR_GCC_RELEASE:=$(strip $(subst ",,$(BR2_VENDOR_GCC_RELEASE)))
#"))
VENDOR_UCLIBC_RELEASE:=$(strip $(subst ",,$(BR2_VENDOR_UCLIBC_RELEASE)))
#"))
VENDOR_GDB_RELEASE:=$(strip $(subst ",,$(BR2_VENDOR_GDB_RELEASE)))
#"))
VENDOR_PATCH_DIR:=$(strip $(subst ",,$(BR2_VENDOR_PATCH_DIR)))
#"))

View File

@ -45,22 +45,5 @@ CFLAGS_WHOLE_PROGRAM = $(call cc-option,-fwhole-program,)
# gcc-3.4 would need -combine, I only support 4.2, which correctly uses '--' # gcc-3.4 would need -combine, I only support 4.2, which correctly uses '--'
CFLAGS_COMBINE = $(call cc-option,--combine,) CFLAGS_COMBINE = $(call cc-option,--combine,)
# define values for prepatched source trees for toolchains
#XXX: ulf, what about moving this to project/* ? (BF)
VENDOR_SITE:=$(strip $(subst ",,$(BR2_VENDOR_SITE)))
#"))
VENDOR_SUFFIX:=$(strip $(subst ",,$(BR2_VENDOR_SUFFIX)))
#"))
VENDOR_BINUTILS_RELEASE:=$(strip $(subst ",,$(BR2_VENDOR_BINUTILS_RELEASE)))
#"))
VENDOR_GCC_RELEASE:=$(strip $(subst ",,$(BR2_VENDOR_GCC_RELEASE)))
#"))
VENDOR_UCLIBC_RELEASE:=$(strip $(subst ",,$(BR2_VENDOR_UCLIBC_RELEASE)))
#"))
VENDOR_GDB_RELEASE:=$(strip $(subst ",,$(BR2_VENDOR_GDB_RELEASE)))
#"))
VENDOR_PATCH_DIR:=$(strip $(subst ",,$(BR2_VENDOR_PATCH_DIR)))
#"))
# gcc has a bunch of needed stuff.... # gcc has a bunch of needed stuff....
include toolchain/gcc/Makefile.in include toolchain/gcc/Makefile.in