summaryrefslogtreecommitdiff
path: root/target/native/target.mk
blob: 28f3d6f4335a5e6b6e0559b87ca0f0229d58b0eb (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.7
KERNEL_RELEASE:=	1
KERNEL_MD5SUM:=		f741879bcd3a5366a1bbe0ad5cdb7935
TARGET_OPTIMIZATION:=	-Os -pipe
TARGET_CFLAGS_ARCH:=    -march=native