PATCH_LIST= FILE_LIST= SRC_FETCH_METHOD=http SRC_FETCH_PATH=http://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-3.3.2.tar.gz # optimize for size #FLXARCH=$FLX_ARCH_SMALL MAKEDEPENDS= function do_compile { $FLXPMAKE RUN_DIR=/var/run/mdadm \ CC="$CC" CXX="$CXX" LD="$LD" \ RANLIB="$RANLIB" AR="$AR" AS="$AS" NM="$NM" OBJDUMP="$OBJDUMP" \ CXFLAGS="$GCC_ARCH_SMALL $GCC_CPU_SMALL $GCC_OPT_SMALL" \ STRIP="" } function do_prepack { $FLXPMAKE RUN_DIR=/var/run/mdadm \ CC="$CC" CXX="$CXX" LD="$LD" \ RANLIB="$RANLIB" AR="$AR" AS="$AS" NM="$NM" OBJDUMP="$OBJDUMP" \ CXFLAGS="$GCC_ARCH_SMALL $GCC_CPU_SMALL $GCC_OPT_SMALL" \ STRIP="" install DESTDIR=$ROOTDIR || exit 1 set_default_perm $ROOTDIR }