From 5df306b0c9d713021edd9d81ff8f37b5d7f01db5 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 30 Jan 2010 18:35:58 +0100 Subject: use target-libc combination for all builddirs IMPORTANT: do a make distclean before compiling after this commit. The directories for all build and bin directories changed, so that toolchains for different target-libc combinations can coexist. This might be usefule in the future for continous compiling after git commit, without rebuilding the toolchain. Rework busybox rebuild, when config changes. Not optimal, but at least working after this change to the directory structure. --- scripts/cpio | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 scripts/cpio (limited to 'scripts/cpio') diff --git a/scripts/cpio b/scripts/cpio new file mode 100755 index 000000000..2a12d4ffe --- /dev/null +++ b/scripts/cpio @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +/bin/cpio --quiet "$@" -- cgit v1.2.3 From a619c16fa72c3c15a198b452e512a08f18251930 Mon Sep 17 00:00:00 2001 From: wbx Date: Tue, 9 Feb 2010 00:17:46 +0100 Subject: add support for netbsd. just minor fixes needed. --- scripts/cpio | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'scripts/cpio') diff --git a/scripts/cpio b/scripts/cpio index 2a12d4ffe..85c12ed18 100755 --- a/scripts/cpio +++ b/scripts/cpio @@ -2,4 +2,14 @@ # This file is part of the OpenADK project. OpenADK is copyrighted # material, please see the LICENCE file in the top-level directory. -/bin/cpio --quiet "$@" +os=$(uname) +case $os in + NetBSD|MirBSD) + quiet="" + ;; + *) + quiet="--quiet" + ;; +esac + +/bin/cpio $quiet "$@" -- cgit v1.2.3 From 91e7244abc54001dc7b1063cd1b9818d46128bba Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 9 Feb 2010 00:25:56 +0100 Subject: freebsd cpio is in /usr/bin --- scripts/cpio | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'scripts/cpio') diff --git a/scripts/cpio b/scripts/cpio index 2a12d4ffe..fc671ca48 100755 --- a/scripts/cpio +++ b/scripts/cpio @@ -2,4 +2,8 @@ # This file is part of the OpenADK project. OpenADK is copyrighted # material, please see the LICENCE file in the top-level directory. -/bin/cpio --quiet "$@" +if [ -x /usr/bin/cpio ];then + /usr/bin/cpio --quiet "$@" +else + /bin/cpio --quiet "$@" +fi -- cgit v1.2.3 From 42675af37cb5ce735452311734cc5b88a66d6d9d Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 14 Feb 2010 00:38:14 +0100 Subject: complete allmodconfig build on NetBSD --- scripts/cpio | 1 - 1 file changed, 1 deletion(-) (limited to 'scripts/cpio') diff --git a/scripts/cpio b/scripts/cpio index 1c481221e..0b406f712 100755 --- a/scripts/cpio +++ b/scripts/cpio @@ -16,4 +16,3 @@ if [ -x /usr/bin/cpio ];then else /bin/cpio $quiet "$@" fi - -- cgit v1.2.3