Skip to contentSkip to conversation

2.6.23-mm1 [PATCH] restore default ARCH

DISCUSSION Don Mullis 1 participant 1 message Oct 12, 2007 2 messages not in the archive Kbuild

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

Don Mullis

author
#2 lore raw
Quoted 8 lines · KAMEZAWA Hiroyuki

[kamezawa@hannibal ref-2.6.23-mm1]$ make menuconfig
Makefile:456: /home/kamezawa/ref-2.6.23-mm1/arch//Makefile: No such file or directory
make: *** No rule to make target `/home/kamezawa/ref-2.6.23-mm1/arch//Makefile'. Stop. ==

$(ARCH) cannot be detected automatically...

What information is useful for fixing this ?

This works for i386 on Ubuntu:

Definition of ARCH to the empty string defeated default native ARCH assignment during initial run of make; eliminate said definition.

---
 Makefile |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
Makefile 2007-10-11 23:30:50.000000000 -0700 renamed from Makefile 2007-10-11 23:28:43.000000000 -0700 +2 -3
Index: linux-2.6.23-mm/Makefile
===================================================================
@@ -189,9 +189,8 @@
 # Default value for CROSS_COMPILE is not to prefix executables
 # Note: Some architectures assign CROSS_COMPILE in their arch/*/Makefile
 
-# The empty ARCH and CROSS_COMPILE statements exist so it is easy to
-# patch in hardcoded values for ARCH and CROSS_COMPILE
-ARCH           ?=
+# The empty CROSS_COMPILE statement exists so it is easy to
+# patch in a hardcoded value.
 CROSS_COMPILE  ?=
 
 # Kbuild save the ARCH and CROSS_COMPILE setting in .kbuild