Convert non-tools build system to plain old makefiles (bmake-flavor)
commit0bd9b90cbf31dc9d02e380ecdda3ac439bb82409
authorJosef 'Jeff' Sipek <jeffpc@josefsipek.net>
Mon, 29 Jul 2019 21:36:19 +0000 (29 17:36 -0400)
committerJosef 'Jeff' Sipek <jeffpc@josefsipek.net>
Mon, 29 Jul 2019 21:36:19 +0000 (29 17:36 -0400)
tree11699a95912702ba11d99ef14fb002140ddd8b29
parent010514bde6a4f1f414018bd7da89a15c4218dafc
Convert non-tools build system to plain old makefiles (bmake-flavor)

CMake works great when not cross compiling, and that's why we continue using
it for tools building.  When it comes to cross-compling, it is much simpler
to just use a hand-crafted makefile that does all the heavy lifting.

This build-a-stand-alone-binary makefile still has some rough edges, but it
seems to work well enough.

bmake seems to be the simplest variant of make to accomplish all this
without too much pain.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
71 files changed:
.hgignore
CMakeLists.txt [deleted file]
Makefile [new file with mode: 0644]
build.mk [new file with mode: 0644]
build/.hgignore
cp/.hgignore
cp/CMakeLists.txt [deleted file]
cp/Makefile [new file with mode: 0644]
cp/drivers/objs.cmake [deleted file]
cp/fs/objs.cmake [deleted file]
cp/guest/objs.cmake [deleted file]
cp/include/interrupt.h
cp/include/nucleus.h
cp/linker.script [moved from cp/scripts/linker-hvf.script with 100% similarity]
cp/mm/objs.cmake [deleted file]
cp/nucleus/.hgignore
cp/nucleus/config_grammar.y [moved from cp/nucleus/config.y with 100% similarity]
cp/nucleus/config_lexer.l [moved from cp/nucleus/config.l with 96% similarity]
cp/nucleus/direct.c
cp/nucleus/direct_grammar.y [moved from cp/nucleus/direct.y with 100% similarity]
cp/nucleus/direct_lexer.l [moved from cp/nucleus/direct.l with 97% similarity]
cp/nucleus/objs.cmake [deleted file]
cp/shell/objs.cmake [deleted file]
include/types.h
installer/.hgignore
installer/CMakeLists.txt [deleted file]
installer/Makefile [new file with mode: 0644]
installer/installer/.hgignore [new file with mode: 0644]
installer/installer/Makefile [new file with mode: 0644]
installer/installer/cpio.c [moved from installer/cpio.c with 97% similarity]
installer/installer/edf.c [moved from installer/edf.c with 100% similarity]
installer/installer/linker.script [moved from installer/linker.script with 75% similarity]
installer/installer/loader.h [moved from installer/loader.h with 100% similarity]
installer/installer/loader_asm.s [moved from installer/loader_asm.s with 98% similarity]
installer/installer/loader_c.c [moved from installer/loader_c.c with 100% similarity]
installer/installer/malloc.c [moved from installer/malloc.c with 100% similarity]
installer/installer/setmode.s [moved from installer/setmode.s with 100% similarity]
installer/rdr-ipl-rec/.hgignore [new file with mode: 0644]
installer/rdr-ipl-rec/Makefile [new file with mode: 0644]
installer/rdr-ipl-rec/linker.script [moved from installer/linker-rdr.script with 100% similarity]
lib/CMakeLists.txt [deleted file]
lib/Makefile [new file with mode: 0644]
loader/CMakeLists.txt [deleted file]
loader/Makefile [new file with mode: 0644]
loader/eckd-ipl-rec/.hgignore [copied from loader/.hgignore with 57% similarity]
loader/eckd-ipl-rec/Makefile [new file with mode: 0644]
loader/eckd-ipl-rec/eckd.s [moved from loader/eckd.s with 100% similarity]
loader/eckd-ipl-rec/linker.script [moved from loader/linker-eckd.script with 100% similarity]
loader/layout.txt
loader/loader/.hgignore [moved from loader/.hgignore with 63% similarity]
loader/loader/Makefile [new file with mode: 0644]
loader/loader/linker.script [moved from loader/linker.script with 75% similarity]
loader/loader/loader.h [moved from loader/loader.h with 100% similarity]
loader/loader/loader_asm.s [moved from loader/loader_asm.s with 99% similarity]
loader/loader/loader_c.c [moved from loader/loader_c.c with 97% similarity]
loader/loader/setmode.s [moved from loader/setmode.s with 100% similarity]
nss/8ball/.hgignore
nss/8ball/CMakeLists.txt [deleted file]
nss/8ball/Makefile [new file with mode: 0644]
nss/8ball/linker.script [moved from nss/8ball/linker-8ball.script with 100% similarity]
nss/CMakeLists.txt [deleted file]
nss/Makefile [new file with mode: 0644]
nss/ipldev/CMakeLists.txt [deleted file]
nss/ipldev/Makefile [new file with mode: 0644]
nss/login/CMakeLists.txt [deleted file]
nss/login/Makefile [new file with mode: 0644]
nss/login/io.c
nss/login/linker.script
nss/login/main.c
nss/login/mch.c
nss/login/prg.c