mirror of
https://git.planet-casio.com/Vhex-Kernel-Core/fxlibc.git
synced 2024-12-29 13:03:38 +01:00
move bits/unistd_32.h to bits/asm on all targets
Only Vhex had it at the correct place previously.
This commit is contained in:
parent
f6bed55f75
commit
6275b3e73b
4 changed files with 4 additions and 2 deletions
|
@ -17,10 +17,12 @@ if(FXLIBC_TARGET STREQUAL vhex-sh)
|
||||||
add_definitions(-D__SUPPORT_VHEX_KERNEL)
|
add_definitions(-D__SUPPORT_VHEX_KERNEL)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(FXLIB_TARGET STREQUAL vhex-x86)
|
if(FXLIBC_TARGET STREQUAL vhex-x86)
|
||||||
list(APPEND TARGET_FOLDERS vhex-generic x86-generic)
|
list(APPEND TARGET_FOLDERS vhex-generic x86-generic)
|
||||||
set(FXLIBC_ARCH x86)
|
set(FXLIBC_ARCH x86)
|
||||||
add_definitions(-D__SUPPORT_VHEX_KERNEL)
|
add_definitions(-D__SUPPORT_VHEX_KERNEL)
|
||||||
|
# TODO: Maybe add -nostdinc (but that removes compiler-provided headers like
|
||||||
|
# <stddef.h>), or use another compiler than the system one?
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(FXLIBC_TARGET STREQUAL casiowin-fx)
|
if(FXLIBC_TARGET STREQUAL casiowin-fx)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <bits/unistd_32.h>
|
#include <bits/asm/unistd_32.h>
|
||||||
#include <bits/trapa.h>
|
#include <bits/trapa.h>
|
||||||
.text
|
.text
|
||||||
.global _close
|
.global _close
|
||||||
|
|
Loading…
Reference in a new issue