Module Name: src Committed By: uebayasi Date: Thu Oct 9 17:00:15 UTC 2014
Modified Files: src/usr.bin/config: mkmakefile.c Log Message: Implement code to generate Makefile to build netbsd via intermediate relocatable object files. Disabled for now. Commit this for further experiments. Kernel (netbsd) has been built as: netbsd: *.o ld -o netbsd *.o Change this to: netbsd: *.ko ld -o netbsd *.ko acpica.ko: ${OBJS.acpica} ld -r acpica.ko ${OBJS.acpica} : You can call *.ko as a module, but this is not only beneficial for loadable module, but also localize related text/data. Various options/flags/params will be able to be per-ko. Unnecessary symbols can be hidden. Many ideas will follow. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/usr.bin/config/mkmakefile.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.