Now, mkfoofs and mount the appropriate partitions at /foo/bar (and then /foo/bar/boot, etcetera for whatever else you desire). But, you most probably don't want to compile on the USB device, for space reasons, and you definitely don't want to redownload all those tarballs. So,
cd /foo/bar
mkdir ...