> Hi > > Is it possible to get assembly output? i tried the -c options, it works on > normal programs but not on the kernel > > here is the makefile. I added -c and -save-temps to HOSTCFLAGS but it > doesn't work. > > > VERSION = 2 > PATCHLEVEL = 2 > SUBLEVEL = 10 > EXTRAVERSION = > > ARCH := m68k > > .EXPORT_ALL_VARIABLES: > > CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \ > else if [ -x /bin/bash ]; then echo /bin/bash; \ > else echo sh; fi ; fi) > TOPDIR := $(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; > fi) > > HPATH = $(TOPDIR)/include > FINDHPATH = $(HPATH)/asm $(HPATH)/linux $(HPATH)/scsi $(HPATH)/net > > HOSTCC =gcc > HOSTCFLAGS =-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c > -save-temps > > CROSS_COMPILE =m68k-linux- > > AS =$(CROSS_COMPILE)as > LD =$(CROSS_COMPILE)ld > CC =$(CROSS_COMPILE)gcc -D__KERNEL__ -I$(HPATH) > CPP =$(CC) -E > AR =$(CROSS_COMPILE)ar > NM =$(CROSS_COMPILE)nm > STRIP =$(CROSS_COMPILE)strip > OBJDUMP =$(CROSS_COMPILE)objdump > MAKE =make > GENKSYMS=/sbin/genksyms > > ------------------------------------- > > thx, > > Luuk Mettes -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/