diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2020-01-31 18:01:34 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2020-01-31 18:01:34 +0000 |
commit | aaef3ede8287d966b1fbf1b8241ebe9c777e774c (patch) | |
tree | 637899ff42ff51ea2a74e88aee0f84c84c13d794 /make | |
parent | be6792557c070df3ec3baaf940d5628ab3094b93 (diff) | |
download | lh-bootstrap-aaef3ede8287d966b1fbf1b8241ebe9c777e774c.tar.xz |
Small incremental build fixes (50)
Diffstat (limited to 'make')
-rwxr-xr-x | make | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -15,14 +15,20 @@ if test -z "$NORMALUSER" || test -z "$ROOTFS_SIZE" || test -z "$TRIPLE" ; then fi -WD=$(pwd) -BUILD_BUILD_CC=${BUILD_BUILD_CC:-gcc} +WD=`pwd` OUTPUT=${OUTPUT:-$WD/output} +if test $OUTPUT = ${OUTPUT#/} ; then + OUTPUT="$WD/$OUTPUT" +fi + +BUILD_BUILD_CC=${BUILD_BUILD_CC:-gcc} BUILD_HOST_CC="$TRIPLE-${CROSS_CC:-gcc}" ROOTFS_SIZE=${ROOTFS_SIZE:-1024M} RWFS_SIZE=${RWFS_SIZE:-512M} USERFS_SIZE=${USERFS_SIZE:-512M} + + if test -z "$BUILD_HOST_STATIC" ; then case "$TRIPLE" in *-*-musl*) BUILD_HOST_STATIC=true ;; |