aboutsummaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-02-03 13:59:46 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-02-03 13:59:46 +0000
commita8f79b8d50115af4c36c07f83ec7dd9bc4475710 (patch)
treef30a0668ae41f06be86a037d6d4ef8e265ff4582 /make
parentb0c2b7e56e62aeb2bca8b4d2ab396f3d83a48def (diff)
downloadlh-bootstrap-a8f79b8d50115af4c36c07f83ec7dd9bc4475710.tar.xz
Add strace and an optional mechanism
Diffstat (limited to 'make')
-rwxr-xr-xmake5
1 files changed, 2 insertions, 3 deletions
diff --git a/make b/make
index 4030480..1324c98 100755
--- a/make
+++ b/make
@@ -26,8 +26,7 @@ BUILD_HOST_CC="$TRIPLE-${CROSS_CC:-gcc}"
ROOTFS_SIZE=${ROOTFS_SIZE:-1024M}
RWFS_SIZE=${RWFS_SIZE:-512M}
USERFS_SIZE=${USERFS_SIZE:-512M}
-
-
+LH_DEV=${DEVELOPMENT:-false}
if test -z "$BUILD_HOST_STATIC" ; then
case "$TRIPLE" in
@@ -71,7 +70,7 @@ PATH="$WD/bin:$OUTPUT/build-build/command:$OUTPUT/build-build/bin:$OUTPUT/build-
umask 022
exec env -i $crossenv LH_MAKE_MARKER=1 "WD=$WD" "NORMALUSER=$NORMALUSER" "TRIPLE=$TRIPLE" "OUTPUT=$OUTPUT" "PATH=$PATH" \
"ROOTFS_SIZE=$ROOTFS_SIZE" "RWFS_SIZE=$RWFS_SIZE" "USERFS_SIZE=$USERFS_SIZE" \
- "BUILD_HOST_STATIC=$BUILD_HOST_STATIC" "LIBC_SYSROOT=$LIBC_SYSROOT" "LIBC_COPY=$LIBC_COPY" \
+ "BUILD_HOST_STATIC=$BUILD_HOST_STATIC" "LIBC_SYSROOT=$LIBC_SYSROOT" "LIBC_COPY=$LIBC_COPY" "LH_DEV=$LH_DEV" \
"BUILD_HOST_CC=$BUILD_HOST_CC" "BUILD_HOST_CC_FULL=$BUILD_HOST_CC_FULL" "BUILD_HOST_SYSROOT=$BUILD_HOST_SYSROOT" "BUILD_HOST_PREFIX=$BUILD_HOST_PREFIX" \
"KERNEL_ARCH=$KERNEL_ARCH" "KERNEL_GENERIC_ARCH=$KERNEL_GENERIC_ARCH" "QEMU_ARCH=$QEMU_ARCH" "KERNEL_CONFIG=$KERNEL_CONFIG" \
"BUILD_BUILD_CC=$BUILD_BUILD_CC" SHELL=/bin/sh "CONSOLE=$CONSOLE" \