Add DESTDIR tip to README

This commit is contained in:
Alex Kotov 2020-11-27 19:27:59 +05:00
parent 0a6207c254
commit 5ac7651c06
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
1 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,9 @@ Configure with cross-compiler in `$PATH` to make without it in `$PATH`:
CFLAGS='-ffreestanding -nostdinc -nostdlib -fno-builtin -fno-stack-protector -Wall -Wextra'
```
To install into specific directory use full path:
`DESTDIR="$(pwd)/dest" make install` instead of `DESTDIR=dest make install`.
Check if compilation targets i386: `objdump -d src/arch/i386.o`.
It should output something like this: