diff options
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | init/Kconfig | 9 |
2 files changed, 0 insertions, 12 deletions
@@ -316,12 +316,9 @@ SUBARCH := $(shell uname -m | sed -e s/i.86/x86/ -e s/x86_64/x86/ \ | |||
316 | # CROSS_COMPILE can be set on the command line | 316 | # CROSS_COMPILE can be set on the command line |
317 | # make CROSS_COMPILE=ia64-linux- | 317 | # make CROSS_COMPILE=ia64-linux- |
318 | # Alternatively CROSS_COMPILE can be set in the environment. | 318 | # Alternatively CROSS_COMPILE can be set in the environment. |
319 | # A third alternative is to store a setting in .config so that plain | ||
320 | # "make" in the configured kernel build directory always uses that. | ||
321 | # Default value for CROSS_COMPILE is not to prefix executables | 319 | # Default value for CROSS_COMPILE is not to prefix executables |
322 | # Note: Some architectures assign CROSS_COMPILE in their arch/*/Makefile | 320 | # Note: Some architectures assign CROSS_COMPILE in their arch/*/Makefile |
323 | ARCH ?= $(SUBARCH) | 321 | ARCH ?= $(SUBARCH) |
324 | CROSS_COMPILE ?= $(CONFIG_CROSS_COMPILE:"%"=%) | ||
325 | 322 | ||
326 | # Architecture as present in compile.h | 323 | # Architecture as present in compile.h |
327 | UTS_MACHINE := $(ARCH) | 324 | UTS_MACHINE := $(ARCH) |
diff --git a/init/Kconfig b/init/Kconfig index 18b151f0ddc1..15aae32e0719 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -54,15 +54,6 @@ config INIT_ENV_ARG_LIMIT | |||
54 | Maximum of each of the number of arguments and environment | 54 | Maximum of each of the number of arguments and environment |
55 | variables passed to init from the kernel command line. | 55 | variables passed to init from the kernel command line. |
56 | 56 | ||
57 | |||
58 | config CROSS_COMPILE | ||
59 | string "Cross-compiler tool prefix" | ||
60 | help | ||
61 | Same as running 'make CROSS_COMPILE=prefix-' but stored for | ||
62 | default make runs in this kernel build directory. You don't | ||
63 | need to set this unless you want the configured kernel build | ||
64 | directory to select the cross-compiler automatically. | ||
65 | |||
66 | config COMPILE_TEST | 57 | config COMPILE_TEST |
67 | bool "Compile also drivers which will not load" | 58 | bool "Compile also drivers which will not load" |
68 | depends on !UML | 59 | depends on !UML |