tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

make question


I would like to build a package from a Makefile with a changing set of 
build options, like so:

.for _opt_ in ${PKG_SUPPORTED_OPTIONS}
        @echo "=> Building without option ${_opt_} 
        ${MAKE} clean

but while (e.g.) ${PKG_OPTIONS.samba4} shows the intended subset of 
options, the build dialog "Currently selected..." shows  the full set 
for ${PKG_OPTIONS}, and that apparently is the set that is used for the 

An example:

=> Building without option ads (ads avahi fam ldap pam winbind acl)
/usr/bin/make clean
===> Cleaning for samba-4.13.9
/usr/bin/make PKG_OPTIONS.samba4=avahi\ fam\ ldap\ pam\ winbind\ acl
===> Installing dependencies for samba-4.13.9
The supported build options for samba are:

        acl ads avahi fam ldap pam winbind

The currently selected options are:

        acl ads avahi fam ldap pam winbind

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

        PKG_OPTIONS.samba4 = avahi fam ldap pam winbind acl

What am I missing?


Hauke Fath                        <hauke%Espresso.Rhein-Neckar.DE@localhost>
Linnéweg 7
64342 Seeheim-Jugenheim

Home | Main Index | Thread Index | Old Index