[Buildroot] [PATCH] Add package linux-pam

2 messages, 2 authors, 2012-08-11 · open the first message on its own page

[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

[Buildroot] [PATCH] Add package linux-pam

From: Dmitry Golubovsky <hidden>
Date: 2012-08-11 02:52:12

Thomas,

On Fri, Aug 10, 2012 at 4:04 PM, Thomas Petazzoni
[off-list ref] wrote:
Try this instead:

ifeq ($(BR2_PACKAGE_LIBINTL),y)
LINUX_PAM_MAKE_OPT += LIBS=-lintl
endif
Thanks, this works.

Patch resubmitted.

-- 
Dmitry Golubovsky

Anywhere on the Web
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help