diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2012-10-30 15:36:52 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-10-30 15:42:39 +0100 |
commit | e8018cf5f0eb6d70fb62a855206efe41918b726c (patch) | |
tree | a1ece5359cb1aba96f178e9bf6ea1784296fad61 /commands/Makefile | |
parent | cc9fffc825d7404315c60b70f68f293c355b90fd (diff) | |
download | barebox-e8018cf5f0eb6d70fb62a855206efe41918b726c.tar.gz barebox-e8018cf5f0eb6d70fb62a855206efe41918b726c.tar.xz |
add filetype command support
This adds support for a filetype detection command. It can be
used to print a filename on the console or to set a variable
with the detection result for use in shell scripts.
The command also has an option to print the known filetypes
so that a user knows what to match for.
Based on an earlier version from Jean-Christophe.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/Makefile')
-rw-r--r-- | commands/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/Makefile b/commands/Makefile index 610be55c6a..6540802677 100644 --- a/commands/Makefile +++ b/commands/Makefile @@ -76,3 +76,4 @@ obj-$(CONFIG_CMD_READLINK) += readlink.o obj-$(CONFIG_CMD_LN) += ln.o obj-$(CONFIG_CMD_CLK) += clk.o obj-$(CONFIG_CMD_TFTP) += tftp.o +obj-$(CONFIG_CMD_FILETYPE) += filetype.o |