0001-force-arch-to-mips.patch 507 B

123456789101112
  1. --- a/Makefile.orig 2014-02-10 02:33:51.483125963 +0800
  2. +++ b/Makefile 2014-02-10 02:38:48.187847512 +0800
  3. @@ -192,7 +192,7 @@ SUBARCH := $(shell uname -m | sed -e s/i
  4. # "make" in the configured kernel build directory always uses that.
  5. # Default value for CROSS_COMPILE is not to prefix executables
  6. # Note: Some architectures assign CROSS_COMPILE in their arch/*/Makefile
  7. -ARCH ?= $(SUBARCH)
  8. +ARCH = mips
  9. CROSS_COMPILE ?= $(CONFIG_CROSS_COMPILE:"%"=%)
  10. # Architecture as present in compile.h