summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Weber <Matthew.Weber@rockwellcollins.com>2015-06-02 08:28:26 -0500
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-06-28 22:48:27 +0200
commitf21b2558a097d07b53b6f20a47770468e9e4f7ed (patch)
treedd5ca1b0805f927688b69a6518b6bf8d3b991894
parent3b198722a5cfdf2ad5fd5a243aaa5f9f730b0101 (diff)
downloadbuildroot-f21b2558a097d07b53b6f20a47770468e9e4f7ed.tar.gz
buildroot-f21b2558a097d07b53b6f20a47770468e9e4f7ed.zip
busybox: added linux-pam support
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com> Reviewed-by: Samuel Martin <s.martin49@gmail.com>
-rw-r--r--package/busybox/busybox.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk
index 090e174690..34eb1f3654 100644
--- a/package/busybox/busybox.mk
+++ b/package/busybox/busybox.mk
@@ -152,6 +152,13 @@ define BUSYBOX_INSTALL_WATCHDOG_SCRIPT
endef
endif
+ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
+define BUSYBOX_LINUX_PAM
+ $(call KCONFIG_ENABLE_OPT,CONFIG_PAM,$(BUSYBOX_BUILD_CONFIG))
+endef
+BUSYBOX_DEPENDENCIES += linux-pam
+endif
+
# Enable "noclobber" in install.sh, to prevent BusyBox from overwriting any
# full-blown versions of apps installed by other packages with sym/hard links.
define BUSYBOX_NOCLOBBER_INSTALL
@@ -165,6 +172,7 @@ define BUSYBOX_KCONFIG_FIXUP_CMDS
$(BUSYBOX_PREFER_STATIC)
$(BUSYBOX_SET_MDEV)
$(BUSYBOX_SET_CRYPT_SHA)
+ $(BUSYBOX_LINUX_PAM)
$(BUSYBOX_INTERNAL_SHADOW_PASSWORDS)
$(BUSYBOX_SET_INIT)
$(BUSYBOX_SET_WATCHDOG)
OpenPOWER on IntegriCloud