diff options
| author | Jonathan Bauer | 2013-03-01 18:23:10 +0100 |
|---|---|---|
| committer | Jonathan Bauer | 2013-03-01 18:23:10 +0100 |
| commit | 63eb54a9a717b80a18f3993065cf6eb5fa194cdd (patch) | |
| tree | 6857630ffb0392064556ff5a998a35f2c7f1f24d | |
| parent | use list_packet_files in ldm.build (diff) | |
| download | tm-scripts-63eb54a9a717b80a18f3993065cf6eb5fa194cdd.tar.gz tm-scripts-63eb54a9a717b80a18f3993065cf6eb5fa194cdd.tar.xz tm-scripts-63eb54a9a717b80a18f3993065cf6eb5fa194cdd.zip | |
formatting
| -rw-r--r-- | remote/tools/busybox/busybox.build | 29 | ||||
| -rw-r--r-- | remote/tools/dbus/dbus.build | 2 |
2 files changed, 15 insertions, 16 deletions
diff --git a/remote/tools/busybox/busybox.build b/remote/tools/busybox/busybox.build index 936f0730..da41e6e2 100644 --- a/remote/tools/busybox/busybox.build +++ b/remote/tools/busybox/busybox.build @@ -2,25 +2,26 @@ fetch_source() { - [ ! -d src ] && mkdir src - if [ ! -e .fetched_source ]; then - git clone ${GIT} src - touch .fetched_source - fi + [ ! -d src ] && mkdir src + if [ ! -e .fetched_source ]; then + git clone "${GIT}" src + touch .fetched_source + fi } build() { - if [ ! -e .built ]; then - cd src - make -j5 - [ ! -d $TOOL_DIR/$TOOL/build/$TARGET_DIR ] && mkdir -p $TOOL_DIR/$TOOL/build/$TARGET_DIR - make CONFIG_PREFIX=$TOOL_DIR/$TOOL/build/$TARGET_DIR install - cd - - touch .built - fi + if [ ! -e .built ]; then + cd src + pinfo "Running make" + make -j5 || perror "failed." + pinfo "Running make install" + make CONFIG_PREFIX="${TOOL_DIR}"/"${TOOL}"/build/"${TARGET_DIR}" install || perror "failed" + cd - + touch .built + fi } post_copy() { - : + : } diff --git a/remote/tools/dbus/dbus.build b/remote/tools/dbus/dbus.build index 3a434fcf..6f75c705 100644 --- a/remote/tools/dbus/dbus.build +++ b/remote/tools/dbus/dbus.build @@ -6,12 +6,10 @@ fetch_source() { build() { BUILDDIR="${TOOL_DIR}/${TOOL}/build" - COPYLIST="list_dpkg_output" [ -e "${COPYLIST}" ] && rm "${COPYLIST}" list_packet_files >> "${COPYLIST}" - tarcopy "$(cat "${COPYLIST}" | sort -u)" "${BUILDDIR}" } |
