From 24e2b51f2b81b6b48376a5b4facbcddb4caad177 Mon Sep 17 00:00:00 2001
From: Tristan Van Berkom <tristan.vanberkom@codethink.co.uk>
Date: Tue, 21 Mar 2017 12:36:42 +0000
Subject: Renamed build-essential to gnu-toolchain

---
 gnu-toolchain/stage2-make.bst | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 gnu-toolchain/stage2-make.bst

(limited to 'gnu-toolchain/stage2-make.bst')

diff --git a/gnu-toolchain/stage2-make.bst b/gnu-toolchain/stage2-make.bst
new file mode 100644
index 00000000..9c804f1b
--- /dev/null
+++ b/gnu-toolchain/stage2-make.bst
@@ -0,0 +1,29 @@
+kind: autotools
+
+sources:
+- kind: git
+  url: upstream:make-tarball
+  track: baserock/make-4.1-ttyname-segfault-fix
+  ref: 4978d7129e42340ab9efeb0cb9cae4ad0fa052d4
+
+depends:
+- filename: gnu-toolchain/stage1.bst
+  type: build
+- filename: gnu-toolchain/stage2-fhs-dirs.bst
+  type: runtime
+- gnu-toolchain/stage2-linux-api-headers.bst
+- gnu-toolchain/stage2-glibc.bst
+
+variables:
+  prefix: /tools
+
+environment:
+  PATH: /tools/bin:/usr/bin:/bin:/usr/sbin:/sbin
+
+config:
+  configure-commands:
+  - STAGE2_SYSROOT="$(dirname $(dirname $(pwd)))" CPPFLAGS="--sysroot=$STAGE2_SYSROOT" CXX=false
+    LDFLAGS="--sysroot=$STAGE2_SYSROOT" ./configure --prefix="%{prefix}" --disable-nls --without-guile
+    --build=$(sh config/config.guess) --host=%{target-stage1}
+  build-commands:
+  - STAGE2_SYSROOT="$(dirname $(dirname $(pwd)))" make
-- 
cgit v1.2.1

