[Buildroot] [PATCH] Add package linux-pam
From: Thomas Petazzoni <hidden>
Date: 2012-08-10 20:04:24
Le Fri, 10 Aug 2012 06:30:49 -0400, Dmitry Golubovsky [off-list ref] a ?crit :
quoted
This line is not needed, please remove.I removed it. However it is still there in few places: $ grep -rl "INSTALL_TARGET = YES" package/ package/libglib2/libglib2.mk package/libgtk2/libgtk2.mk
Patches welcome :-)
And surely install to target is needed for PAM (security modules)
Installation to target is enabled by default. From package/pkg-generic.mk: $(2)_INSTALL_STAGING ?= NO $(2)_INSTALL_IMAGES ?= NO $(2)_INSTALL_TARGET ?= YES
quoted
Instead of overriding LINUX_PAM_BUILD_CMDS, I would recommend using: LINUX_PAM_CONF_ENV += \ CC="$(TARGET_CC) -lintl -lfl"This gives me configure error "compiler cannot create executables" so I left this unchanged.
Try this instead: ifeq ($(BR2_PACKAGE_LIBINTL),y) LINUX_PAM_MAKE_OPT += LIBS=-lintl endif Best regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com