From 5ac7651c06b44ad27fa4c31bcadc6e26aef1177e Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Fri, 27 Nov 2020 19:27:59 +0500 Subject: [PATCH] Add DESTDIR tip to README --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 8659c6a..987b5f4 100644 --- a/README.md +++ b/README.md @@ -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: