Skip to content

Commit 678dea0

Browse files
authored
[ATfE] Fix path to the root of the repo when applying llvm patch (#325)
1 parent 5b37801 commit 678dea0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

arm-software/embedded/docs/building-from-source.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ tools to the `LLVM_DISTRIBUTION_COMPONENTS` CMake list.
7171

7272
## Building
7373

74+
The commands in the sections below assume you are in the `arm-toolchain/arm-software/embedded` directory.
75+
7476
The toolchain can be built directly with CMake.
7577

7678
```
@@ -93,7 +95,7 @@ export CXX=clang++
9395
mkdir repos
9496
git -C repos clone https://github.com/picolibc/picolibc.git
9597
git -C repos/picolibc am -k "$PWD"/patches/picolibc/*.patch
96-
git -C arm-toolchain am -k "$PWD"/patches/llvm-project/*.patch
98+
git -C ../.. am -k "$PWD"/patches/llvm-project/*.patch
9799
mkdir build
98100
cd build
99101
cmake .. -GNinja -DFETCHCONTENT_SOURCE_DIR_PICOLIBC=../repos/picolibc

0 commit comments

Comments
 (0)