Fix missing headers, generate compile db with bear
All checks were successful
Build documentation / build-and-deploy (push) Successful in 31s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 31s
This commit is contained in:
1
kernel/.gitignore
vendored
Normal file
1
kernel/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
*.json
|
||||
@@ -1,6 +1,8 @@
|
||||
#ifndef _KERNEL_LIBK_STRING_H
|
||||
#define _KERNEL_LIBK_STRING_H
|
||||
|
||||
#include <libk/std.h>
|
||||
|
||||
size_t memset (void* dst, uint8_t b, size_t n);
|
||||
size_t memcpy (void* dst, const void* src, size_t n);
|
||||
void strncpy (char* dst, const char* src, size_t n);
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
#ifndef _KERNEL_SYS_PROC_H
|
||||
#define _KERNEL_SYS_PROC_H
|
||||
|
||||
#include <libk/std.h>
|
||||
|
||||
struct proc;
|
||||
|
||||
struct proc* proc_from_elf (uint8_t* elf_contents);
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
all_kernel:
|
||||
make -C kernel platform=$(platform) all
|
||||
|
||||
all_compiledb_kernel:
|
||||
bear --output kernel/compile_commands.json -- make -C kernel platform=$(platform) all
|
||||
|
||||
clean_kernel:
|
||||
make -C kernel platform=$(platform) clean
|
||||
|
||||
|
||||
Reference in New Issue
Block a user