mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 07:18:40 +01:00
configure: Add variable to see if we're bootstrapping
This commit is contained in:
parent
c0e645210a
commit
c9dd05ff40
@ -43,7 +43,7 @@ rule AddRepositoryPackage repository : architecture : baseName : version
|
||||
: $(baseName) ] ;
|
||||
baseName = $(packageFamily:G=) ;
|
||||
|
||||
if $(HAIKU_NO_DOWNLOADS) = 1 && $(HAIKU_BUILD_TYPE) != bootstrap {
|
||||
if $(HAIKU_NO_DOWNLOADS) = 1 && $(HAIKU_IS_BOOTSTRAP) != 1 {
|
||||
# Only add packages to repository that already exist in download
|
||||
# directory.
|
||||
if ! [ Glob $(HAIKU_DOWNLOAD_DIR) : $(packageFileName) ] {
|
||||
|
4
configure
vendored
4
configure
vendored
@ -451,6 +451,7 @@ HOST_SHA256=
|
||||
HOST_HAIKU_PORTER=
|
||||
HAIKU_PORTS=
|
||||
HAIKU_PORTS_CROSS=
|
||||
HAIKU_IS_BOOTSTRAP=0
|
||||
HAIKU_BOOT_BOARD=
|
||||
HAIKU_NO_DOWNLOADS=0
|
||||
|
||||
@ -524,6 +525,8 @@ while [ $# -gt 0 ] ; do
|
||||
HOST_HAIKU_PORTER="`absolute_path $2`"
|
||||
HAIKU_PORTS_CROSS="`absolute_path $3`"
|
||||
HAIKU_PORTS="`absolute_path $4`"
|
||||
HAIKU_IS_BOOTSTRAP=1
|
||||
HAIKU_NO_DOWNLOADS=1
|
||||
check_file_exists "$HOST_HAIKU_PORTER" || (
|
||||
echo "Invalid path to haikuporter: $HOST_HAIKU_PORTER" >&2
|
||||
exit 1
|
||||
@ -882,6 +885,7 @@ HOST_SHA256 ?= ${HOST_SHA256} ;
|
||||
HOST_HAIKU_PORTER ?= ${HOST_HAIKU_PORTER} ;
|
||||
HAIKU_PORTS ?= ${HAIKU_PORTS} ;
|
||||
HAIKU_PORTS_CROSS ?= ${HAIKU_PORTS_CROSS} ;
|
||||
HAIKU_IS_BOOTSTRAP ?= ${HAIKU_IS_BOOTSTRAP} ;
|
||||
|
||||
EOF
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user