build-bootenv

reproducible boot environment with LVM2 and cryptsetup
git clone https://ccx.te2000.cz/git/build-bootenv
Log | Files | Refs | Submodules

pv (864B)


      1 [vars]
      2 filesize=105001
      3 sha512=913a5c84e24e0bfb23930a790d9e030f2c88014bb61266c96e3d11890c4667fe42662f01c103c4dcbbc2e69515598a8546a4edb185b81422b90524432f7cc2e5
      4 desc='pipe viewer. add to piped command chains to see speed information'
      5 
      6 [mirrors]
      7 http://www.ivarch.com/programs/sources/pv-1.5.2.tar.bz2
      8 
      9 [build]
     10 [ -n "$CROSS_COMPILE" ] && \
     11   xconfflags="--host=$($CC -dumpmachine|sed 's/musl/gnu/') \
     12   --with-sysroot=$butch_root_dir"
     13 
     14 CPPFLAGS="-D_GNU_SOURCE" CFLAGS="$optcflags" CXXFLAGS="$optcflags" \
     15 LDFLAGS="$optldflags  -static --static -Wl,-rpath-link=$butch_root_dir$butch_prefix/lib" \
     16   ./configure -C --prefix="$butch_prefix" --disable-nls $xconfflags --disable-shared --enable-static
     17 
     18 #[ -n "$CROSS_COMPILE" ] && "$K"/libtool.cross.gen --sysroot="$butch_root_dir"
     19 
     20 make V=1 -j$MAKE_THREADS LD="$CROSS_COMPILE"ld
     21 make DESTDIR="$butch_install_dir" install