diff options
author | aqua <aqua@iserlohn-fortress.net> | 2024-03-08 17:24:49 +0200 |
---|---|---|
committer | aqua <aqua@iserlohn-fortress.net> | 2024-03-08 22:00:07 +0200 |
commit | 20b97ea7c0dbbdc13800e12ff5c86c00c4a342ec (patch) | |
tree | 473281e5fc8b256827ce1a678573444e1aa5f669 /src/meson.build | |
parent | Generate src/conf.h (diff) | |
download | kernel-20b97ea7c0dbbdc13800e12ff5c86c00c4a342ec.tar.xz |
Bazel build
Diffstat (limited to 'src/meson.build')
-rw-r--r-- | src/meson.build | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/src/meson.build b/src/meson.build deleted file mode 100644 index 881dffa..0000000 --- a/src/meson.build +++ /dev/null @@ -1,36 +0,0 @@ - -# generated files -conf_h = configure_file( - #input: 'conf.h.in', - output: 'conf.h', - configuration: { - 'VERSION': '"@0@"'.format(meson.project_version()), - 'CC': '"@0@-@1@"'.format(meson.get_compiler('c').version(), - meson.get_compiler('c').get_id()), - } -) - -kernel_srcs = files('multiboot2.c', 'mmap.c', 'kernel.c', 'mem/vmm.c') -kernel_incl = include_directories('.') - -glitch_elf = executable('glitch.elf', kernel_srcs, - include_directories: [ kernel_incl, grub_incl ], - dependencies: [ libk, devs, i686 ], - link_args: [ '-static', '-nostdlib', '-T', '../i686/linker.ld' ], -) - -# tests -test('taskqueue', - executable('test_taskqueue', 'sched/test_taskqueue.cc', - dependencies: [ gtest ], - native: true), - suite: 'kernel' -) - -test('roundrobin', - executable('test_roundrobin', 'sched/test_roundrobin.cc', - dependencies: [ gtest ], - native: true), - suite: 'kernel' -) - |