summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--remote/tools/busybox/busybox.build29
-rw-r--r--remote/tools/dbus/dbus.build2
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}"
}