Advertisement
Guest User

patch for ls-wvl: Using ubuntu arm toolchain to cross compil

a guest
Mar 3rd, 2013
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. --- linux-3.3.4-orig/Makefile 2012-04-28 01:17:35.000000000 +0800
  2. +++ linux-3.3.4/Makefile 2012-05-07 17:58:22.834245952 +0800
  3. @@ -192,8 +192,8 @@
  4. # Default value for CROSS_COMPILE is not to prefix executables
  5. # Note: Some architectures assign CROSS_COMPILE in their arch/*/Makefile
  6. export KBUILD_BUILDHOST := $(SUBARCH)
  7. -ARCH ?= $(SUBARCH)
  8. -CROSS_COMPILE ?= $(CONFIG_CROSS_COMPILE:"%"=%)
  9. +ARCH ?= arm
  10. +CROSS_COMPILE ?= arm-linux-gnueabi-
  11.  
  12. # Architecture as present in compile.h
  13. UTS_MACHINE := $(ARCH)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement