diff options
| author | Konrad Weihmann <kweihmann@outlook.com> | 2022-05-09 12:25:02 +0200 |
|---|---|---|
| committer | Josh Boyer <jwboyer@kernel.org> | 2022-05-31 12:57:56 -0400 |
| commit | eaee2dacc2be1609089a1eb4ce574bea8b047d32 (patch) | |
| tree | 73dc291c5a7a3f527eb90ff2ad93159b80c4b50d /carl9170fw | |
| parent | 12865e7e4b1b55ee4538a915b89cd05f9a6b2b91 (diff) | |
Makefile: replace mkdir by install
mkdir -p creates paths that are bound to user's settings and therefore
can lead to different file mode bits of the base paths accross different
machines.
Use install instead, as this tool is not prone to such behavior.
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
Diffstat (limited to 'carl9170fw')
| -rw-r--r-- | carl9170fw/toolchain/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/carl9170fw/toolchain/Makefile b/carl9170fw/toolchain/Makefile index 2b25ffe6..aaea8e84 100644 --- a/carl9170fw/toolchain/Makefile +++ b/carl9170fw/toolchain/Makefile @@ -46,14 +46,14 @@ src/gcc-$(GCC_VER): src/$(GCC_TAR) src/newlib-$(NEWLIB_VER) ln -s $(BASEDIR)/src/newlib-$(NEWLIB_VER)/libgloss $@ binutils: src/binutils-$(BINUTILS_VER) - mkdir -p build/binutils + install -d build/binutils cd build/binutils; \ $(BASEDIR)/$</configure --target=sh-elf --prefix=$(BASEDIR)/inst; \ $(MAKE) -j3; \ $(MAKE) install gcc: src/gcc-$(GCC_VER) binutils - mkdir -p build/gcc + install -d build/gcc cd build/gcc; \ $(BASEDIR)/$</configure --target=sh-elf --prefix=$(BASEDIR)/inst -enable-languages=c --without-pkgversion --with-newlib; \ $(MAKE) -j3; \ |
