aboutsummaryrefslogtreecommitdiff
path: root/shell/Kbuild.src
diff options
context:
space:
mode:
Diffstat (limited to 'shell/Kbuild.src')
-rw-r--r--shell/Kbuild.src10
1 files changed, 10 insertions, 0 deletions
diff --git a/shell/Kbuild.src b/shell/Kbuild.src
index a287fce4e..34dd93d48 100644
--- a/shell/Kbuild.src
+++ b/shell/Kbuild.src
@@ -10,3 +10,13 @@ INSERT
10 10
11lib-$(CONFIG_FEATURE_SH_MATH) += math.o 11lib-$(CONFIG_FEATURE_SH_MATH) += math.o
12lib-$(CONFIG_FEATURE_PRNG_SHELL) += random.o 12lib-$(CONFIG_FEATURE_PRNG_SHELL) += random.o
13
14quiet_cmd_gen_embedded_scripts = GEN include/embedded_scripts.h
15 cmd_gen_embedded_scripts = $(srctree_slash)shell/embedded_scripts include/embedded_scripts.h embed
16
17ifdef CONFIG_ASH_EMBEDDED_SCRIPTS
18shell/ash.o: include/embedded_scripts.h
19endif
20
21include/embedded_scripts.h: $(wildcard embed/*) shell/embedded_scripts
22 $(call cmd,gen_embedded_scripts)