mkfs-simple: generate build files in build/ directory

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2019-06-09 15:57:47 +08:00
parent 2091c2ed21
commit e6701a4b50

View File

@ -28,10 +28,10 @@ static int make_image(const char *name, uint32_t size) {
int main(int argc, char **argv) { int main(int argc, char **argv) {
int ret = 0; int ret = 0;
ret += make_image("fat12-1300k.img", 1300 * 1024); ret += make_image("build/fat12-1300k.img", 1300 * 1024);
ret += make_image("fat12-1800k.img", 1800 * 1024); ret += make_image("build/fat12-1800k.img", 1800 * 1024);
ret += make_image("fat12-128k.img", 128 * 1024); ret += make_image("build/fat12-128k.img", 128 * 1024);
ret += make_image("fat12-16M.img", 16 * 1024 * 1024); ret += make_image("build/fat12-16M.img", 16 * 1024 * 1024);
return ret; return ret;
} }