feat: 在riscv32_virt中新增graphic适配,将musl调整为newlib
在riscv32_virt中新增graphic适配,将riscv32_virt编译从musl调整为newlib。 fix #I52IID Signed-off-by: xiexg-dc <xiexg@digitalchina.com> Change-Id: I1a774666609172c5de6310fe43b33185f86ac872
This commit is contained in:
parent
56565beeb6
commit
8746f5abe5
|
@ -35,4 +35,10 @@
|
||||||
|
|
||||||
#define O_NDELAY _FNDELAY
|
#define O_NDELAY _FNDELAY
|
||||||
|
|
||||||
|
#ifdef __riscv
|
||||||
|
#ifndef O_CLOEXEC
|
||||||
|
#define O_CLOEXEC 02000000
|
||||||
|
#endif
|
||||||
|
#endif /* __riscv */
|
||||||
|
|
||||||
#endif /* !_ADAPT_SYS_FCNTL_H */
|
#endif /* !_ADAPT_SYS_FCNTL_H */
|
||||||
|
|
|
@ -37,4 +37,38 @@
|
||||||
|
|
||||||
#include_next <time.h>
|
#include_next <time.h>
|
||||||
|
|
||||||
|
#ifdef __riscv
|
||||||
|
#ifndef CLOCK_MONOTONIC_RAW
|
||||||
|
#define CLOCK_MONOTONIC_RAW 12
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef CLOCK_REALTIME_COARSE
|
||||||
|
#define CLOCK_REALTIME_COARSE 5
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef CLOCK_MONOTONIC_COARSE
|
||||||
|
#define CLOCK_MONOTONIC_COARSE 6
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef CLOCK_BOOTTIME
|
||||||
|
#define CLOCK_BOOTTIME 7
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef CLOCK_REALTIME_ALARM
|
||||||
|
#define CLOCK_REALTIME_ALARM 8
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef CLOCK_BOOTTIME_ALARM
|
||||||
|
#define CLOCK_BOOTTIME_ALARM 9
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef CLOCK_SGI_CYCLE
|
||||||
|
#define CLOCK_SGI_CYCLE 10
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef CLOCK_TAI
|
||||||
|
#define CLOCK_TAI 11
|
||||||
|
#endif
|
||||||
|
#endif /* __riscv */
|
||||||
|
|
||||||
#endif /* !_ADAPT_TIME_H */
|
#endif /* !_ADAPT_TIME_H */
|
||||||
|
|
Loading…
Reference in New Issue