target.mk 575 B

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