mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 07:17:18 +00:00
chore: fix error functions in Makefile (#970)
`$(error ...)` (and `$(warning ...)`) functions in a Makefile can't be indented - if they are make displays a `*** commands commence before first target. Stop.` error.
This commit is contained in:
parent
db379bd341
commit
c4a92d772d
6
Makefile
6
Makefile
@ -66,16 +66,16 @@ else
|
||||
endif
|
||||
|
||||
ifndef HOST_PLATFORM
|
||||
$(error We couldn\'t detect your host platform)
|
||||
$(error We couldn\'t detect your host platform)
|
||||
endif
|
||||
ifndef HOST_ARCH
|
||||
$(error We couldn\'t detect your host architecture)
|
||||
$(error We couldn\'t detect your host architecture)
|
||||
endif
|
||||
|
||||
TARGET_PLATFORM = $(HOST_PLATFORM)
|
||||
|
||||
ifneq ($(TARGET_PLATFORM),$(HOST_PLATFORM))
|
||||
$(error We don\'t support cross-platform builds yet)
|
||||
$(error We don\'t support cross-platform builds yet)
|
||||
endif
|
||||
|
||||
# Default to host architecture. You can override by doing:
|
||||
|
Loading…
x
Reference in New Issue
Block a user