diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2023-10-20 16:07:58 +0200 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2023-10-20 16:07:58 +0200 |
commit | 060a0cf338d6024eee37cc344c224fe3bcb78e81 (patch) | |
tree | 3fea7c654b69ecf3490fe9c6cbc542aba0d5bd8f /src/tools/make-4.4.TARGETS | |
download | bootstrappable-toolchain-060a0cf338d6024eee37cc344c224fe3bcb78e81.tar.gz |
Initial commit
Diffstat (limited to 'src/tools/make-4.4.TARGETS')
-rw-r--r-- | src/tools/make-4.4.TARGETS | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/tools/make-4.4.TARGETS b/src/tools/make-4.4.TARGETS new file mode 100644 index 0000000..e35fb08 --- /dev/null +++ b/src/tools/make-4.4.TARGETS @@ -0,0 +1,20 @@ +{ "toolchain": + { "type": "export" + , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"] + , "target": "make" + } +, "make": + { "type": ["@", "rules", "CC/foreign/shell", "data"] + , "project": [["TREE", null, "."]] + , "cmds": + [ "export NJOBS=$(nproc --all 2>/dev/null || echo 1)" + , "unset CFLAGS" + , "export CXX=unused" + , "export LDFLAGS='-static'" + , "./configure --prefix=/ --disable-rpath --disable-load >configure.log 2>&1 || (cat configure.log && exit 1)" + , "${MAKE} -j${NJOBS} MAKEINFO=missing >build.log 2>&1 || (cat configure.log build.log && exit 1)" + , "${MAKE} -j${NJOBS} MAKEINFO=missing DESTDIR=${DESTDIR} install-strip >>build.log 2>&1 || (cat configure.log build.log && exit 1)" + ] + , "outs": ["bin/make"] + } +} |