From 47501014fa60b2b20e33477338d91b7d55c69f9b Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 2 Jan 2008 18:47:08 +0000 Subject: buildroot snapshot git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@480 42af7a65-404d-4744-a932-0658087f49c3 --- misc/buildroot/toolchain/Makefile.in | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 misc/buildroot/toolchain/Makefile.in (limited to 'misc/buildroot/toolchain/Makefile.in') diff --git a/misc/buildroot/toolchain/Makefile.in b/misc/buildroot/toolchain/Makefile.in new file mode 100644 index 000000000..84e2ae42f --- /dev/null +++ b/misc/buildroot/toolchain/Makefile.in @@ -0,0 +1,21 @@ +ifeq ($(BR2_PTHREADS_NONE),y) +THREADS:=--disable-threads +else +THREADS:=--enable-threads +endif + +ifeq ($(BR2_ENABLE_MULTILIB),y) +MULTILIB:=--enable-multilib +else +MULTILIB:=--disable-multilib +endif + + +# FIXME -- this is temporary +OPTIMIZE_FOR_CPU=$(ARCH) + +# late binding check to see if the target cc supports -fwhole-program +CFLAGS_WHOLE_PROGRAM = $(call cc-option,-fwhole-program,) + +# gcc has a bunch of needed stuff.... +include toolchain/gcc/Makefile.in -- cgit v1.2.3