summaryrefslogtreecommitdiff
path: root/chunks/stage2-make.morph
diff options
context:
space:
mode:
Diffstat (limited to 'chunks/stage2-make.morph')
-rw-r--r--chunks/stage2-make.morph11
1 files changed, 11 insertions, 0 deletions
diff --git a/chunks/stage2-make.morph b/chunks/stage2-make.morph
new file mode 100644
index 00000000..533cfe9a
--- /dev/null
+++ b/chunks/stage2-make.morph
@@ -0,0 +1,11 @@
+name: stage2-make
+kind: chunk
+repo: upstream:make
+ref: 56968f58301e6e5157cf4c8b6deefbaff2955eba
+build-system: autotools
+configure-commands:
+- STAGE2_SYSROOT="$(dirname $(pwd))" CPPFLAGS="--sysroot=$STAGE2_SYSROOT" CXX=false
+ LDFLAGS="-Wl,--sysroot=$STAGE2_SYSROOT" ./configure --prefix="$PREFIX" --disable-nls
+ --build=$(sh config/config.guess) --host=$TARGET_STAGE1
+build-commands:
+- STAGE2_SYSROOT="$(dirname $(pwd))" make