diff --git a/bootstrap.d/sys-fs.yml b/bootstrap.d/sys-fs.yml index bd3fa75e2..0b39f351a 100644 --- a/bootstrap.d/sys-fs.yml +++ b/bootstrap.d/sys-fs.yml @@ -1,3 +1,17 @@ +sources: + - name: echfs + subdir: 'ports' + git: 'https://github.com/echfs/echfs.git' + branch: 'master' + tools_required: + - host-autoconf-v2.69 + - host-automake-v1.15 + - host-libtool + - host-pkg-config + regenerate: + - args: ['@THIS_SOURCE_DIR@/echfs-utils/bootstrap'] + - args: ['@THIS_SOURCE_DIR@/echfs-fuse/bootstrap'] + packages: - name: libfuse source: @@ -27,3 +41,49 @@ packages: - args: ['meson', 'install', '-C', '@THIS_BUILD_DIR@'] environ: DESTDIR: '@THIS_COLLECT_DIR@' + + - name: echfs-utils + from_source: 'echfs' + tools_required: + - system-gcc + - host-pkg-config + - host-automake-v1.15 + - host-autoconf-v2.69 + - virtual: pkgconfig-for-target + triple: "@OPTION:arch-triple@" + pkgs_required: + - mlibc + - util-linux-libs + configure: + - args: + - '@THIS_SOURCE_DIR@/echfs-utils/configure' + - '--host=@OPTION:arch-triple@' + - '--prefix=/usr' + build: + - args: ['make', '-j@PARALLELISM@'] + - args: ['make', 'install'] + environ: + DESTDIR: '@THIS_COLLECT_DIR@' + + - name: echfs-fuse + from_source: 'echfs' + tools_required: + - system-gcc + - host-pkg-config + - host-automake-v1.15 + - host-autoconf-v2.69 + - virtual: pkgconfig-for-target + triple: "@OPTION:arch-triple@" + pkgs_required: + - mlibc + - libfuse + configure: + - args: + - '@THIS_SOURCE_DIR@/echfs-fuse/configure' + - '--host=@OPTION:arch-triple@' + - '--prefix=/usr' + build: + - args: ['make', '-j@PARALLELISM@'] + - args: ['make', 'install'] + environ: + DESTDIR: '@THIS_COLLECT_DIR@'