Skip to content

Add CONF_ENABLE and CONF_PKG_ENABLE helper functions

Thomas Petazzoni buildroot 1 version New

Get series with b4
b4 am 20120512134224.6cfda750@skate

Versions newest first

  1. v1 Latest0 of 3 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/3] Add CONF_ENABLE and CONF_PKG_ENABLE helper functions

Le Sat, 12 May 2012 11:03:45 +0200,
Samuel Martin <[email protected]> a ?crit :

Quoted 3 lines

I'd prefer having something like:
SYSTEMD_CONF_OPT += $(call AUTO_ARG_ENDISABLE,acl,$(BR2_PACKAGE_ACL)) SYSTEMD_DEPENDENCIES += $(call COND_DEPS,acl,$(BR2_PACKAGE_ACL))

Is this really better than:

SYSTEMD_CONF_OPT += $(if $(BR2_PACKAGE_ACL),--enable-acl,--disable-acl)
SYSTEMD_DEPENDENCIES += $(if $(BR2_PACKAGE_ACL),acl)

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com