diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-04-20 10:57:37 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-04-20 10:58:16 +0200 |
commit | 12aab9286219400de76c73ae6a33eb4495253b20 (patch) | |
tree | a44762049078d7424ac495868226f7a4e98273fa /rules/prelink.in | |
parent | 2e911e59df85a57101039832340d1e4b4192b647 (diff) | |
download | ptxdist-12aab9286219400de76c73ae6a33eb4495253b20.tar.gz ptxdist-12aab9286219400de76c73ae6a33eb4495253b20.tar.xz |
[prelink] add option to skip prelinking on nfsroot
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/prelink.in')
-rw-r--r-- | rules/prelink.in | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/rules/prelink.in b/rules/prelink.in index d85994be7..2aa9c0025 100644 --- a/rules/prelink.in +++ b/rules/prelink.in @@ -3,6 +3,7 @@ menuconfig PRELINK tristate select LIBELF + select RC_ONCE if PRELINK_RC_ONCE prompt "prelink " help ELF prelinking utility to speed up dynamic linking. The @@ -15,10 +16,19 @@ if PRELINK config PRELINK_RC_ONCE bool - select RC_ONCE prompt "install rc.once.d script" help install a script that will be run on the first boot to prelink all programs and libraries. +config PRELINK_SKIP_ON_NFSROOT + bool + depends on PRELINK_RC_ONCE + prompt "skip prelinking on nfsroot" + help + prelinking is done for better startup performance for the + final system. nfsroot is usually used during development. + This option allows to skip prelinking when booting from + nfsroot. + endif |