diff --git a/Makefile b/Makefile index e1c362f3..83a0ec60 100644 --- a/Makefile +++ b/Makefile @@ -9,5 +9,5 @@ check: @./check_whence.py install: - mkdir -p $(DESTDIR)$(FIRMWAREDIR) + install -d $(DESTDIR)$(FIRMWAREDIR) ./copy-firmware.sh $(DESTDIR)$(FIRMWAREDIR) 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)/$ //g' | while read f d; d if test -L "$f"; then test -f "$destdir/$f" && continue $verbose "copying link $f" - mkdir -p $destdir/$(dirname "$f") + install -d $destdir/$(dirname "$f") cp -d "$f" $destdir/"$f" if test "x$d" != "x"; then @@ -63,7 +63,7 @@ grep -E '^Link:' WHENCE | sed -e's/^Link: *//g' -e's/-> //g' | while read f d; d fi else $verbose "creating link $f -> $d" - mkdir -p $destdir/$(dirname "$f") + install -d $destdir/$(dirname "$f") ln -sf "$d" "$destdir/$f" fi done