[lkml]   [2007]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH] add a missing LIB_Y to arch/alpha/boot Makefile
> kasprintf pulls in kmalloc which proved to be fatal for at least
> bootimage target on alpha.
> Move it to a separate file so only users of kasprintf are exposed
> to the dependency on kmalloc.

Withe the addition of missing $(LIB_Y) it really seems to compile now.
Can not boot test before some time next week.

Add $(LIBS_Y) to get lib/lib.a so srm_printk is present.

Signed-off-by: Meelis Roos <>

diff --git a/arch/alpha/boot/Makefile b/arch/alpha/boot/Makefile
index e1ae14c..cd14388 100644
--- a/arch/alpha/boot/Makefile
+++ b/arch/alpha/boot/Makefile
@@ -104,7 +104,7 @@ OBJ_bootlx := $(obj)/head.o $(obj)/main.o
OBJ_bootph := $(obj)/head.o $(obj)/bootp.o
OBJ_bootpzh := $(obj)/head.o $(obj)/bootpz.o $(obj)/misc.o

-$(obj)/bootloader: $(obj)/ $(OBJ_bootlx) FORCE
+$(obj)/bootloader: $(obj)/ $(OBJ_bootlx) $(LIBS_Y) FORCE
$(call if_changed,ld)

$(obj)/bootpheader: $(obj)/ $(OBJ_bootph) $(LIBS_Y) FORCE
Meelis Roos (
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2007-07-28 22:55    [W:0.039 / U:0.920 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site