summaryrefslogtreecommitdiff
path: root/elements/gnu-toolchain/linux-api-headers.bst
diff options
context:
space:
mode:
Diffstat (limited to 'elements/gnu-toolchain/linux-api-headers.bst')
-rw-r--r--elements/gnu-toolchain/linux-api-headers.bst4
1 files changed, 2 insertions, 2 deletions
diff --git a/elements/gnu-toolchain/linux-api-headers.bst b/elements/gnu-toolchain/linux-api-headers.bst
index 0020d2a..db89f18 100644
--- a/elements/gnu-toolchain/linux-api-headers.bst
+++ b/elements/gnu-toolchain/linux-api-headers.bst
@@ -17,7 +17,7 @@ environment:
config:
install-commands:
- |
- case "%{bst-arch}" in
+ case "%{bst-target-arch}" in
armv5l)
ARCH="arm" ;;
armv7b|armv7l|armv7lhf)
@@ -31,7 +31,7 @@ config:
ppc64)
ARCH="powerpc" ;;
*)
- echo "Error: unsupported Morph architecture: %{bst-arch}" >&2
+ echo "Error: unsupported architecture: %{bst-target-arch}" >&2
exit 1
esac
ARCH=$ARCH make INSTALL_HDR_PATH=dest headers_install