mirror of
https://github.com/cowmonk/cowos.git
synced 2025-10-27 14:33:27 +00:00
allow for stripped down cowos kernel
This commit is contained in:
parent
3d0bd481c9
commit
f0ddc1ebee
1 changed files with 2 additions and 1 deletions
|
|
@ -28,7 +28,8 @@ make
|
||||||
By default the kernel is compiled with debug symbols, if you would like to avoid this, you can simply override the CFLAGS:
|
By default the kernel is compiled with debug symbols, if you would like to avoid this, you can simply override the CFLAGS:
|
||||||
```bash
|
```bash
|
||||||
cd kernel/ # it is recommended to go to the actual directory yourself
|
cd kernel/ # it is recommended to go to the actual directory yourself
|
||||||
make CFLAGS="-s -O3 -pipe"
|
make CFLAGS="-O3 -pipe"
|
||||||
|
llvm-strip --strip-all ./kernel/bin/cowos # strip everything
|
||||||
cd .. # return to root
|
cd .. # return to root
|
||||||
make
|
make
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue