From b312842f2515377ca1846287b95be06961f646c8 Mon Sep 17 00:00:00 2001 From: Kytech Date: Mon, 19 Apr 2021 22:35:46 -0600 Subject: [PATCH] Rename buildroot work directory --- README.md | 2 +- {build => build_workdir}/.gitignore | 0 {build => build_workdir}/configure | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) rename {build => build_workdir}/.gitignore (100%) rename {build => build_workdir}/configure (92%) diff --git a/README.md b/README.md index 850baf5..95cda14 100644 --- a/README.md +++ b/README.md @@ -10,4 +10,4 @@ This repository uses git submodules to manage the buildroot version used by this ## Usage -After cloning the repository (and initializing the buildroot submodule if cloning without `--recursive`), navigate to the `build` directory and run `./configure`. This sets up the buildroot external tree. From there, run any buildroot commands from the `build` directory to keep a clean external tree setup. +After cloning the repository (and initializing the buildroot submodule if cloning without `--recursive`), navigate to the `build_workdir` directory and run `./configure`. This sets up the buildroot external tree. From there, run any buildroot commands from the `build_workdir` directory to keep a clean external tree setup. diff --git a/build/.gitignore b/build_workdir/.gitignore similarity index 100% rename from build/.gitignore rename to build_workdir/.gitignore diff --git a/build/configure b/build_workdir/configure similarity index 92% rename from build/configure rename to build_workdir/configure index 6daea01..801213f 100755 --- a/build/configure +++ b/build_workdir/configure @@ -10,6 +10,7 @@ then # Clean output directory find $DIR -type f ! -name ".gitignore" ! -name "configure" -delete + find $DIR -empty -type d -delete # Setup buidroot external tree make BR2_EXTERNAL=../rpi-zero-min-tree/ O=$DIR -C ../buildroot/ 2> /dev/null > /dev/null