aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
-rw-r--r--generated/README.txt17
-rwxr-xr-xscripts/make.sh1
3 files changed, 2 insertions, 21 deletions
diff --git a/Makefile b/Makefile
index 4784ffb0..ad3aaf92 100644
--- a/Makefile
+++ b/Makefile
@@ -41,10 +41,7 @@ uninstall:
scripts/install.sh --long --uninstall
clean::
- rm -rf toybox toybox_unstripped generated/testdir generated/build.sh \
- .singleconfig .singleconfig.old generated/obj \
- generated/Config.* generated/*.h generated/*.dat \
- generated/instlist generated/mkflags generated/config2help
+ rm -rf toybox toybox_unstripped generated .singleconfig*
distclean: clean
rm -f toybox_old .config*
diff --git a/generated/README.txt b/generated/README.txt
deleted file mode 100644
index 93a10398..00000000
--- a/generated/README.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-All the files in this directory except this README are generated by the
-build. (See scripts/make.sh)
-
-config.h: CFG_COMMAND and USE_COMMAND() macros set by menuconfig via .config.
-
-Config.in: Kconfig entries for each command. Included by top level Config.in.
- The help text in here is used to generated help.h
-
-help.h: Help text strings for use by "help" command. Building this file
- requires python on the host system, so the prebuilt file is shipped
- in the build tarball to avoid requiring python to build toybox.
-
-newtoys.h: List of NEWTOY() or OLDTOY() macros for all available commands.
- Associates command_main() functions with command names, provides
- option string for command line parsing (see lib/args.c), specifies
- where to install each command and whether toysh should fork before
- calling it.
diff --git a/scripts/make.sh b/scripts/make.sh
index 165b8f1e..dab52061 100755
--- a/scripts/make.sh
+++ b/scripts/make.sh
@@ -21,6 +21,7 @@ do_loudly()
"$@"
}
+mkdir -p generated
echo "Make generated/config.h from $KCONFIG_CONFIG."
# This long and roundabout sed invocation is to make old versions of sed happy.