I'm having trouble getting the right Makefile.in syntax to build a library (/arch/ppc/boot/lib/zlib.a to be precice).
The original Makefile has only 3 statements. L_TARGET := zlib.a obj-y := zlib.o include $(TOP_DIR)/Rules.make I thought this would be sooo easy to convert to a Makefile.in (and it probably is) but I'm stumped. I've currently got the following in /arch/ppc/boot/lib/Makefile.in base_target(zvmlinux) #select(zlib.o) select(zlib.a) I don't know if I need the base_target statement though kbuild complains that zlib.o is selectd but not part of vmlinux (how it know's it is not part of vmlinux escapes me). My /arch/ppc/boot/simple/Makefile.in has the following fragment: base_target(zvmlinux) link_subdir(/arch/ppc/boot/lib) link_subdir(/arch/ppc/boot/common) link_subdir(/arch/ppc/boot/images) select(...) The error I'm getting is that kbuild does not know how to build zlib.a. Is this a standard rule or do I have to specify a user_command() statement in the /arch/ppc/boot/lib/Makefile.in file ??? Thanks, Brendan Simon. _______________________________________________ kbuild-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/kbuild-devel