summaryrefslogtreecommitdiff
path: root/target/native/target.mk
blob: bc6beb0346f1758dbc459283b9a73e5008082113 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
ARCH:=			$(shell uname -m|sed -e "s/i.*86/x86/" -e "s/_\?64//")
CPU_ARCH:=		$(shell gcc -dumpmachine | sed -e s'/-.*//' \
			 -e 's/sparc.*/sparc/' \
	   		 -e 's/arm.*/arm/g' \
	 		 -e 's/m68k.*/m68k/' \
			 -e 's/ppc/powerpc/g' \
			 -e 's/v850.*/v850/g' \
			 -e 's/sh[234]/sh/' \
	   		 -e 's/mips-.*/mips/' \
	  		 -e 's/mipsel-.*/mipsel/' \
			 -e 's/cris.*/cris/' \
			 -e 's/i[3-9]86/i686/' \
	    		)
KERNEL_VERSION:=	2.6.35
KERNEL_RELEASE:=	1
KERNEL_MD5SUM:=		091abeb4684ce03d1d936851618687b6
TARGET_OPTIMIZATION:=	-Os -pipe
TARGET_CFLAGS_ARCH:=    -march=native