Skip to content

Commit

Permalink
busybox: remove dependency on CLEAN variable
Browse files Browse the repository at this point in the history
`clean` is being handled globally (whole build dir is being removed)
JIRA: CI-334
  • Loading branch information
nalajcie committed Sep 1, 2023
1 parent 5b42bd3 commit 1021ab8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions busybox/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ for patchfile in "$PREFIX_BUSYBOX"/*.patch; do
done

#
# Clean and configure
# Configure
#
if [ -n "$CLEAN" ] || [ ! -f "${PREFIX_BUSYBOX_BUILD}/.config" ] || [ "${BUSYBOX_CONFIG}" -nt "${PREFIX_BUSYBOX_BUILD}/.config" ]; then
if [ ! -f "${PREFIX_BUSYBOX_BUILD}/.config" ] || [ "${BUSYBOX_CONFIG}" -nt "${PREFIX_BUSYBOX_BUILD}/.config" ]; then
cp -a "${BUSYBOX_CONFIG}" "${PREFIX_BUSYBOX_BUILD}"/.config
make -C "${PREFIX_BUSYBOX_BUILD}" KBUILD_SRC="$PREFIX_BUSYBOX_SRC" -f "${PREFIX_BUSYBOX_SRC}"/Makefile CROSS_COMPILE="$CROSS" CONFIG_PREFIX="$PREFIX_FS/root" clean
fi
Expand Down

0 comments on commit 1021ab8

Please sign in to comment.