Update of /cvsroot/leaf/src/The_UnNamed_One/buildtool/make
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv15949/buildtool/make
Added Files:
MasterInclude.mk
Log Message:
initial import
--- NEW FILE: MasterInclude.mk ---
# $Id: MasterInclude.mk,v 1.1 2008/03/01 16:24:28 hejl Exp $
# this is the Master make file that should be included by all the makefiles
# used for buildroot...
# where the sources are
export BT_SOURCE_DIR=$(BT_BUILDROOT)/source
# where the buildstuff goes into
export BT_BUILD_DIR=$(BT_BUILDROOT)/build
export BT_BUILDDIR=$(BT_BUILDROOT)/build
# we assume that we have the global root dir for buildtool as environment var
export BT_STAGING_DIR:=$(BT_BUILDROOT)/staging
# where are the linux sources
export BT_LINUX_DIR:=$(BT_SOURCE_DIR)/linux/linux
# where to put finished packages
export BT_PACKAGE_DIR:=$(BT_BUILDROOT)/package
# toolsdir
export BT_TOOLS_DIR:=$(BT_BUILDROOT)/tools
# where to find the patchtool
export BT_PATCHTOOL:=$(BT_TOOLS_DIR)/make-patches.sh
# where is dpatch
export BT_DPATCH=$(BT_TOOLS_DIR)/dpatch
# getdirname tool
export BT_TGZ_GETDIRNAME=$(BT_TOOLS_DIR)/getdirname.pl
########################################
# set arch here
export ARCH:=i386
#
export GNU_TARGET_NAME:=$(ARCH)-linux
# host compiler
#export HOSTCC:=gcc34
export HOSTCC:=gcc
#build for:
export GNU_HOST_NAME:=$(ARCH)-linux
# target gcc
export TARGET_CC:=$(BT_STAGING_DIR)/usr/bin/gcc
# target ld
export TARGET_LD:=$(BT_STAGING_DIR)/usr/bin/ld
# for dpatch (debian patch)
export DEB_BUILD_ARCH=$(ARCH)
# strip
export BT_STRIP:=$(BT_STAGING_DIR)/usr/bin/strip
export BT_STRIP_LIBOPTS:=--strip-unneeded
export BT_STRIP_BINOPTS:=-s --remove-section=.note --remove-section=.comment
# hack for RH 9 systems - perl seems to have a problem with UTF8
export LANG=en_US
# default optimization settings for compiling code
export BT_COPT_FLAGS=-Os -march=i486
# check for linux version
BT_KERNEL_RELEASE1=$(shell eval cat
$(BT_SOURCE_DIR)/linux/linux/include/linux/utsrelease.h 2>/dev/null| grep
"UTS_RELEASE" | cut -f 3 -d ' ' )
export BT_KERNEL_RELEASE=$(shell echo ${BT_KERNEL_RELEASE1} )
BT_DEPMOD=$(BT_STAGING_DIR)/sbin/depmod
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
leaf-cvs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-cvs-commits