mirror of
https://github.com/justinian/jsix.git
synced 2025-12-09 16:04:32 -08:00
[libj6] Move remaining j6 headers out of src/include
This means the kernel now depends on libj6. I've added the macro definition __j6kernel when building for the kernel target, so I can remove parts with #ifdefs.
This commit is contained in:
@@ -23,7 +23,8 @@ variables:
|
||||
"-ggdb",
|
||||
|
||||
"-D__ELF__",
|
||||
"-D__JSIX__",
|
||||
"-D__jsix__",
|
||||
"-D__j6kernel",
|
||||
"-U__linux",
|
||||
"-U__linux__",
|
||||
"-DPRINTF_ALIAS_STANDARD_FUNCTION_NAMES=1",
|
||||
|
||||
@@ -37,7 +37,7 @@ rule compile_asm
|
||||
deps = gcc
|
||||
|
||||
rule parse_cog
|
||||
command = $cog -o $out -d $cogflags $in
|
||||
command = $cog -o $out -d -D target=$target $cogflags $in
|
||||
description = Parsing $name
|
||||
|
||||
rule exe
|
||||
|
||||
@@ -11,7 +11,7 @@ variables:
|
||||
"-g",
|
||||
|
||||
"-D__ELF__",
|
||||
"-D__JSIX__",
|
||||
"-D__jsix__",
|
||||
"-U__linux",
|
||||
"-U__linux__",
|
||||
|
||||
|
||||
Reference in New Issue
Block a user