diff options
author | Juergen Borleis <jbe@pengutronix.de> | 2015-03-16 14:29:09 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2015-03-18 14:16:01 +0100 |
commit | 673655b407332293364c4279fccefff1ede7d22b (patch) | |
tree | 021f10355acc9aee69b8d86b8e5b3cb4ed3230fe /rules/dropbear.make | |
parent | 8d788b952187d0de9996395e8e5362f80beeff73 (diff) | |
download | ptxdist-673655b407332293364c4279fccefff1ede7d22b.tar.gz ptxdist-673655b407332293364c4279fccefff1ede7d22b.tar.xz |
dropbear: clean up the rule file and add bugfix
Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
[mol: rebased on Bruno Thomsens version bump]
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/dropbear.make')
-rw-r--r-- | rules/dropbear.make | 62 |
1 files changed, 18 insertions, 44 deletions
diff --git a/rules/dropbear.make b/rules/dropbear.make index ab9da5d29..a659114af 100644 --- a/rules/dropbear.make +++ b/rules/dropbear.make @@ -33,50 +33,24 @@ DROPBEAR_DIR := $(BUILDDIR)/$(DROPBEAR) # # autoconf # -DROPBEAR_AUTOCONF := \ - $(CROSS_AUTOCONF_USR) - -ifdef PTXCONF_DROPBEAR_ZLIB -DROPBEAR_AUTOCONF += --enable-zlib -else -DROPBEAR_AUTOCONF += --disable-zlib -endif - -ifdef PTXCONF_DROPBEAR_DIS_OPENPTY -DROPBEAR_AUTOCONF += --disable-openpty -endif - -ifdef PTXCONF_DROPBEAR_DIS_SYSLOG -DROPBEAR_AUTOCONF += --disable-syslog -endif - -ifdef PTXCONF_DROPBEAR_DIS_LASTLOG -DROPBEAR_AUTOCONF += --disable-lastlog -endif - -ifdef PTXCONF_DROPBEAR_DIS_UTMP -DROPBEAR_AUTOCONF += --disable-utmp -endif - -ifdef PTXCONF_DROPBEAR_DIS_UTMPX -DROPBEAR_AUTOCONF += --disable-utmpx -endif - -ifdef PTXCONF_DROPBEAR_DIS_WTMP -DROPBEAR_AUTOCONF += --disable-wtmp -endif - -ifdef PTXCONF_DROPBEAR_DIS_WTMPX -DROPBEAR_AUTOCONF += --disable-wtmpx -endif - -ifdef PTXCONF_DROPBEAR_DIS_PUTUTLINE -DROPBEAR_AUTOCONF += --disable-pututline -endif - -ifdef PTXCONF_DROPBEAR_DIS_PUTUTXLINE -DROPBEAR_AUTOCONF += --disable-pututxline -endif +DROPBEAR_CONF_TOOL := autoconf +DROPBEAR_CONF_OPT := \ + $(CROSS_AUTOCONF_USR) \ + $(GLOBAL_LARGE_FILE_OPTION) \ + --$(call ptx/endis, PTXCONF_DROPBEAR_ZLIB)-zlib \ + --disable-pam \ + --$(call ptx/disen, PTXCONF_DROPBEAR_DIS_OPENPTY)-openpty \ + --$(call ptx/disen, PTXCONF_DROPBEAR_DIS_SYSLOG)-syslog \ + --enable-shadow \ + --enable-bundled-libtom \ + --$(call ptx/disen, PTXCONF_DROPBEAR_DIS_LASTLOG)-lastlog \ + --$(call ptx/disen, PTXCONF_DROPBEAR_DIS_UTMP)-utmp \ + --$(call ptx/disen, PTXCONF_DROPBEAR_DIS_UTMPX)-utmpx \ + --$(call ptx/disen, PTXCONF_DROPBEAR_DIS_WTMP)-wtmp \ + --$(call ptx/disen, PTXCONF_DROPBEAR_DIS_WTMPX)-wtmpx \ + --disable-loginfunc \ + --$(call ptx/disen, PTXCONF_DROPBEAR_DIS_PUTUTLINE)-pututline \ + --$(call ptx/disen, PTXCONF_DROPBEAR_DIS_PUTUTXLINE)-pututxline $(STATEDIR)/dropbear.prepare: @$(call targetinfo) |