Skip to contentSkip to conversation

CONFIG_KALLSYMS on 64-bitters

PATCH Pete Zaitcev 1 participant 1 message Mar 27, 2003 Kbuild

lore
Share & tools
lore
#0 lore raw

Guys,

the kallsyms program aborts for me when trying to build s390x kernel while running a 31-bit kernel. It takes the target from the environment variable, which actually is relevant to the build host, and not the target. So, what do you think about the attached patchlet?

-- Pete

Makefile +1 -1
@@ -45,7 +46,7 @@
 MAKEFILES	= $(TOPDIR)/.config
 GENKSYMS	= /sbin/genksyms
 DEPMOD		= /sbin/depmod
-KALLSYMS	= /sbin/kallsyms
+KALLSYMS	= UNAME_MACHINE=$(ARCH) /sbin/kallsyms
 MODFLAGS	= -DMODULE
 CFLAGS_KERNEL	=
 CFLAGS_KGDB	=