summaryrefslogtreecommitdiffstats
path: root/rules/readline.make
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2009-05-14 08:21:37 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2009-05-14 08:21:37 +0000
commit40205fb63a2bb4b1c081632e4ef25c8b580fd231 (patch)
tree8de79448a9c6e6e01c031677adf5db2ebe78bddc /rules/readline.make
parentfb9b70e05abcc6e29cf8ab1663535aba881ee6e2 (diff)
downloadptxdist-40205fb63a2bb4b1c081632e4ef25c8b580fd231.tar.gz
ptxdist-40205fb63a2bb4b1c081632e4ef25c8b580fd231.tar.xz
[readline] Option to install /etc/inputrc
Author: Jon Ringle <jon@ringle.org> This adds an option to install a /etc/inputrc to the target. The generic /etc/inputrc was obtained from the buildroot project. Signed-off-by: Jon Ringle <jon@ringle.org> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10518 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/readline.make')
-rw-r--r--rules/readline.make3
1 files changed, 3 insertions, 0 deletions
diff --git a/rules/readline.make b/rules/readline.make
index 5ee8dacb7..428347184 100644
--- a/rules/readline.make
+++ b/rules/readline.make
@@ -77,6 +77,9 @@ $(STATEDIR)/readline.targetinstall:
@$(call install_link, readline, libreadline.so.5.2, /lib/libreadline.so.5)
@$(call install_link, readline, libreadline.so.5.2, /lib/libreadline.so)
+ifdef PTXCONF_READLINE_ETC_INPUTRC
+ @$(call install_alternative, readline, 0, 0, 0644, /etc/inputrc, n)
+endif
@$(call install_finish, readline)
@$(call touch)