code: 9ferno

Download patch

ref: 779e097fb890f3da6aa36a526293ab82d5e028b5
parent: f7eca4b6902490485c6cebd0d4c209fdefcd4e55
author: joe9 <joe9mail@gmail.com>
date: Sat Jul 17 03:00:58 EDT 2021

integrating libflate into the build

--- a/libflate/mkfile
+++ b/libflate/mkfile
@@ -1,6 +1,6 @@
-</$objtype/mkfile
+<../mkconfig
 
-LIB=/$objtype/lib/libflate.a
+LIB=libflate.a
 OFILES=\
 	deflate.$O\
 	deflatezlib.$O\
@@ -15,13 +15,7 @@
 	adler.$O\
 
 HFILES=\
-	/sys/include/flate.h\
+	$ROOT/include/flate.h\
 	zlib.h\
 
-UPDATE=\
-	mkfile\
-	$HFILES\
-	${OFILES:%.$O=%.c}\
-	${LIB:/$objtype/%=/386/%}\
-
-</sys/src/cmd/mksyslib
+<$ROOT/mkfiles/mksyslib-$SHELLTYPE
--- a/mkfile
+++ b/mkfile
@@ -29,6 +29,8 @@
 
 
 KERNEL_DIRS=\
+	libfis\
+	libflate\
 	os\
 	os/boot/pc\