aboutsummaryrefslogtreecommitdiff
path: root/libc/src/stdlib/baremetal/CMakeLists.txt
blob: 67ab1979e4d104d2f55efee3bc15848508b7d1ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
add_entrypoint_object(
  abort
  SRCS
    abort.cpp
  HDRS
    ../abort.h
)

add_entrypoint_object(
  malloc
  SRCS
    malloc.cpp
  HDRS
    ../malloc.h
  DEPENDS
    libc.src.__support.freelist_heap
)

add_entrypoint_object(
  free
  SRCS
    free.cpp
  HDRS
    ../free.h
  DEPENDS
    libc.src.__support.freelist_heap
)

add_entrypoint_object(
  calloc
  SRCS
    calloc.cpp
  HDRS
    ../calloc.h
  DEPENDS
    libc.src.__support.freelist_heap
)

add_entrypoint_object(
  realloc
  SRCS
    realloc.cpp
  HDRS
    ../realloc.h
  DEPENDS
    libc.src.__support.freelist_heap
)

add_entrypoint_object(
  aligned_alloc
  SRCS
    aligned_alloc.cpp
  HDRS
    ../aligned_alloc.h
  DEPENDS
    libc.src.__support.freelist_heap
)