RUMPRUN_COOKFS_INCDIR="${RROBJ}/dest.stage/include" \
${RROBJ}/app-tools/${TOOLTUPLE}-cookfs -s 1 \
${MAKEOBJDIR}/librumprunfs_base.a rootfs )
+
+install:
+ mkdir -p ${DESTDIR}/share/rumprun/rumprunfs_base
+ ( cd ${.CURDIR}/rootfs ; tar -cf - . ) \
+ | ( cd ${DESTDIR}/share/rumprun/rumprunfs_base ; tar -xf - )
+ install -m 444 ${MAKEOBJDIR}/librumprunfs_base.a ${LIBDIR}
ifneq (${KERNONLY},true)
TARGETS+= userlibs
INSTALLTGTS+= librumprun_base_install librumprun_tester_install2
-INSTALLTGTS+= librumprunfs_base_install
+INSTALLTGTS+= librumprunfs_base_install_custom
ifeq (${CONFIG_CXX},yes)
INSTALLTGTS+= libunwind_install2
endif
( cd $${RROBJLIB}/${1} && \
install -m 0444 ${1}.a $${INSTALLDIR_LIBARCH} )
+.PHONY: ${1}_install_custom
+${1}_install_custom:
+ ( cd ${2}/${1} && \
+ ${RUMPMAKE} MAKEOBJDIR=${RROBJLIB}/${1} \
+ LIBDIR=$${INSTALLDIR_LIBPLAT} DESTDIR=$${INSTALLDIR} install )
+
.PHONY: ${1}_clean
${1}_clean:
( cd ${2}/${1} && \