示例#1
0
def setup():
    pisitools.dosed("LocalConfig.kmk", "__VBOXLIBDIR__", VBoxLibDir)
    pisitools.dosed("LocalConfig.kmk", "__VBOXDATADIR__", VBoxDataDir)

    shelltools.echo("vbox.cfg", "INSTALL_DIR=%s" % VBoxLibDir)

    # TODO: Enable web service when we have soapcpp2
    autotools.rawConfigure("\
                             --with-makeself=/bin/echo \
                             --disable-docs \
                             --enable-vde \
                             --enable-vnc \
                             --enable-webservice \
                             --with-linux=/usr/src/linux-headers-%s \
                             --with-gcc=%s \
                             --with-g++=%s \
                           " % (KDIR, get.CC(), get.CXX()))
示例#2
0
def setup():
    shelltools.export("CFLAGS",
                      "%s -pie -fPIE -fno-strict-aliasing" % get.CFLAGS())

    # needed to link with avahi
    shelltools.export("ac_cv_header_dns_sd_h", "yes")
    shelltools.export("ac_cv_lib_dns_sd_DNSServiceRegister", "yes")

    pisitools.dosed("ntpstat-0.2/Makefile", "^CC=.*gcc", "CC=%s" % get.CC())
    pisitools.dosed("ntpstat-0.2/Makefile", "^CFLAGS=.*",
                    "CFLAGS=%s" % get.CFLAGS())

    autotools.configure("--enable-all-clocks \
                         --enable-parse-clocks \
                         --enable-linuxcaps \
                         --enable-ipv6 \
                         --with-crypto")
示例#3
0
def setup():
    options = "--prefix=/usr \
               --sysconfdir=/etc"
               
    if get.buildTYPE() == "_emul32":
        options += " --libdir=/usr/lib32 \
                     --bindir=/_emul32/bin \
                     --sbindir=/_emul32/sbin \
                     --disable-dtrace"
                     
        shelltools.export("CC", "%s -m32" % get.CC())
        shelltools.export("CXX", "%s -m32" % get.CXX())
        shelltools.export("PKG_CONFIG_PATH", "/usr/lib32/pkgconfig")
        
    autotools.configure(options)

    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
示例#4
0
def build():
    autotools.make('BUILD_CLIENT=1 \
                    BUILD_CLIENT_SMP=1 \
                    BUILD_SERVER=1 \
                    BUILD_GAME_SO=0 \
                    BUILD_GAME_QVM=0 \
                    CC=%s \
                    DEFAULT_BASEDIR=%s \
                    USE_CODEC_VORBIS=1 \
                    USE_OPENAL=1 \
                    USE_LOCAL_HEADERS=0 \
                    USE_INTERNAL_SPEEX=0 \
                    USE_INTERNAL_ZLIB=0 \
                    GENERATE_DEPENDENCIES=0 \
                    %s \
                    OPTIMIZE="%s -fno-strict-aliasing -ffast-math"' %
                   (get.CC(), datadir, archparam, get.CFLAGS()))
示例#5
0
def setup():
    shelltools.system("qmake-qt4 main.pro \
                       QMAKE_CFLAGS+='%s' \
                       QMAKE_CXXFLAGS+='%s' \
                       QMAKE_CXX=%s \
                       QMAKE_CC=%s \
                       CONFIG+=no-bundled-speex \
                       CONFIG+=no-g15 \
                       CONFIG+=no-portaudio \
                       CONFIG+=no-oss \
                       CONFIG+=no-speechd \
                       CONFIG+=no-update \
                       CONFIG+=no-embed-qt-translation \
                       CONFIG+=no-ice \
                       DEFINIES+=NO_UPDATE_CHECK \
                       DEFINES+=PLUGIN_PATH=/usr/lib/mumble" %
                      (get.CFLAGS(), get.CXXFLAGS(), get.CXX(), get.CC()))
示例#6
0
def setup():
    options = "--with-module-path=/usr/lib/pkcs11 \
              "

    if get.buildTYPE() == "emul32":
        options += "--sysconfdir=/usr/emul32/etc \
                    --bindir=/usr/emul32/bin \
                    --libdir=/usr/lib32 \
                    --datadir=/usr/emul32/share \
                    --with-module-path=/usr/lib32/pkcs11 \
                    --libexecdir=/usr/emul32/libexec"

        shelltools.export("CC", "%s -m32" % get.CC())
        shelltools.export("CXX", "%s -m32" % get.CXX())
        shelltools.export("PKG_CONFIG_PATH", "/usr/lib32/pkgconfig")

    autotools.configure(options)
示例#7
0
def build():
    shelltools.export("CC", get.CC())
    shelltools.export("CXX", get.CXX())
    shelltools.export("CXXFLAGS", get.CXXFLAGS())

    scons.make('release=1 \
                destdir="%s" \
                NLS=0 \
                prefix='
               ' \
                localedir=/usr/share/locale \
                datadir=/usr/share/vdrift \
                bindir=/usr/bin \
                os_cc=1 \
                os_cxx=1 \
                os_cxxflags=1 \
                use_binreloc=0' % get.installDIR())
示例#8
0
def setup():
    # Set python version in user-config
    pisitools.dosed("user-config.py", "@LIB@", "/usr/lib")
    pisitools.dosed("user-config.py", "@PYVER@",
                    get.curPYTHON().replace("python", ""))
    pisitools.dosed("user-config.py", "@CC@", get.CC())
    pisitools.dosed("user-config.py", "@CXX@", get.CXX())
    pisitools.dosed("user-config.py", "^WITH_BF_FFMPEG = 'false'.*",
                    "WITH_BF_FFMPEG = 'true'")

    # Drop bundled libraries
    for d in [
            "ffmpeg", "x264", "xvidcore", "fftw", "glew", "libopenjpeg", "ode",
            "qhull"
    ]:
        shelltools.system("rm -rf extern/%s" % d)
    shelltools.system("rm -rf scons")
示例#9
0
def setup():
    options = " --prefix=/usr \
                --libdir=lib \
                --openssldir=/etc/pki/ \
                no-idea no-mdc2 no-rc5 no-ec no-ecdh no-ecdsa \
                --enginesdir=/usr/lib/openssl/engines \
                zlib enable-camellia enable-seed enable-tlsext enable-rfc3779 \
                enable-cms enable-md2 threads shared -Wa,--noexecstack"

    if get.buildTYPE() == "emul32":
        options += " --prefix=/emul32 --libdir=lib32"
        shelltools.export("CC", "%s -m32" % get.CC())
        shelltools.system("./Configure linux-elf %s" % options)
    else:
        shelltools.system("./config %s" % options)
        pisitools.dosed("Makefile", "^(SHARED_LDFLAGS=).*", "\\1 ${LDFLAGS}")
        pisitools.dosed("Makefile", "^(CFLAG=.*)", "\\1 ${CFLAGS}")
示例#10
0
def setup():
    options = "--disable-gtk-doc-html \
               --disable-gtk-doc \
               --enable-introspection \
              "

    if get.buildTYPE() == "_emul32":
        options += " --libdir=/usr/lib32 \
                     --bindir=/_emul32/bin \
                     --sbindir=/_emul32/sbin \
                   "

        shelltools.export("CC", "%s -m32" % get.CC())
        shelltools.export("CXX", "%s -m32" % get.CXX())
        shelltools.export("PKG_CONFIG_PATH", "/usr/lib32/pkgconfig")

    autotools.configure(options)
示例#11
0
def build():
    autotools.make('CC="%s" \
                    ARCH="%s" \
                    OPTIMIZE="%s" \
                    DEFAULT_BASEDIR="%s" \
                    BUILD_SERVER=1 \
                    BUILD_CLIENT=1 \
                    BUILD_CLIENT_SMP=1 \
                    BUILD_GAME_SO=1 \
                    USE_SDL=1 \
                    USE_OPENAL=1 \
                    USE_CURL=1 \
                    USE_CODEC_VORBIS=1 \
                    USE_VOIP=1 \
                    USE_INTERNAL_SPEEX=0 \
                    USE_INTERNAL_ZLIB=0 \
                    USE_LOCAL_HEADERS=0 \
                    release' % (get.CC(), arch, cflags, datadir))
示例#12
0
def setup():
    #adding necessary flags
    shelltools.export("CC", get.CC())
    shelltools.export("CXX", get.CXX())

    #fixing wrong header and library locations for ffmpeg
    pisitools.dosed("configure", "ffmpeg/avformat.h", "libavformat/avformat.h")
    pisitools.dosed("configure.ac", "ffmpeg/avformat.h",
                    "libavformat/avformat.h")
    pisitools.dosed("src/metadata/ffmpeg_handler.cc", "ffmpeg/avformat.h",
                    "libavformat/avformat.h")

    #configuring with ffmpeg and spidermonkey from Firefox
    autotools.configure("--disable-static \
                         --with-js-libs=/usr/lib/MozillaFirefox \
                         --enable-ffmpeg \
                         --with-ffmpeg-h=/usr/include \
                         --with-ffmpeg-libs=/usr/lib")
示例#13
0
def build():
    shelltools.system("cp -rf Python Python3")
    shelltools.cd("Qt4Qt5")
    autotools.make("all staticlib CC=\"%s\" CXX=\"%s\" LINK=\"%s\"" %
                   (get.CC(), get.CXX(), get.CXX()))

    shelltools.cd("../designer-Qt4/")
    autotools.make("DESTDIR=\"%s/%s/designer\"" %
                   (get.installDIR(), qt4.plugindir))

    # Get Makefile of qscintilla-python via sip
    shelltools.cd("../Python")
    pythonmodules.run("configure.py -p 4 -n ../Qt4Qt5 -o ../Qt4Qt5")
    autotools.make()
    shelltools.cd("../Python3")
    pythonmodules.run("configure.py -p 4 -n ../Qt4Qt5 -o ../Qt4Qt5", pyVer="3")
    pisitools.dosed("Makefile", "-lpython3.4", "-lpython3")
    autotools.make()
示例#14
0
文件: actions.py 项目: waroi/main
def setup():
    options = "-Ddocs=false \
               -Dintrospection=true \
              "
               
    if get.buildTYPE() == "_emul32":
        options += " --libdir=/usr/lib32 \
                     --bindir=/usr/lib32/bin \
                     --sbindir=/usr/lib32/sbin \
                     --datadir=/usr/lib32/share \
                     --libexecdir=/usr/lib32/libexec \
                     --localedir=/usr/lib32/share/locale \
                   "
        shelltools.export("CC", "%s -m32" % get.CC())
        shelltools.export("CXX", "%s -m32" % get.CXX())
        shelltools.export("PKG_CONFIG_PATH", "/usr/lib32/pkgconfig")

    mesontools.configure(options)
示例#15
0
def setup():
    options = "--builtin-libraries=replace \
               --bundled-libraries=NONE \
               --disable-rpath \
              "

    if get.buildTYPE() == "_emul32":
        shelltools.export("CC", "%s -m32" % get.CC())
        shelltools.export("CXX", "%s -m32" % get.CXX())
        shelltools.export("PKG_CONFIG_PATH", "/usr/lib32/pkgconfig")
        options += " --libdir=/usr/lib32 \
                     --bindir=/usr/bin32 \
                     --disable-python \
                   "

    else:
        shelltools.export("LDFLAGS", "-lpthread")
    autotools.configure(options)
示例#16
0
def setup():
    pisitools.flags.add("-I/usr/include/gtk-2.0/gdk")
    #make sure we don't use them
    checkdeletepath = "%s/qtbase/src/3rdparty" % absoluteWorkDir
    for dir in ('libjpeg', 'freetype', 'libpng', 'zlib', "libtiff"):
        if os.path.exists(checkdeletepath + dir):
            shelltools.unlinkDir(checkdeletepath + dir)

    filteredCFLAGS = get.CFLAGS().replace("-g3", "-g")
    filteredCXXFLAGS = get.CXXFLAGS().replace("-g3", "-g")

    vars = {
        "PISILINUX_CC":
        get.CC() + (" -m32" if get.buildTYPE() == "emul32" else ""),
        "PISILINUX_CXX":
        get.CXX() + (" -m32" if get.buildTYPE() == "emul32" else ""),
        "PISILINUX_CFLAGS":
        filteredCFLAGS + (" -m32" if get.buildTYPE() == "emul32" else ""),
        "PISILINUX_LDFLAGS":
        get.LDFLAGS() + (" -m32" if get.buildTYPE() == "emul32" else "")
    }

    for k, v in vars.items():
        pisitools.dosed("mkspecs/common/g++-base.conf", k, v)
        pisitools.dosed("mkspecs/common/g++-unix.conf", k, v)

    shelltools.export("CFLAGS", filteredCFLAGS)
    shelltools.export("CXXFLAGS", filteredCXXFLAGS)
    #check that dosed commands without releated patches
    pisitools.dosed("mkspecs/common/gcc-base-unix.conf", "\-Wl,\-rpath,")
    pisitools.dosed("mkspecs/common/gcc-base.conf", "\-O2", filteredCFLAGS)
    pisitools.dosed("mkspecs/common/gcc-base.conf", "^(QMAKE_LFLAGS\s+\+=)",
                    r"\1 %s" % get.LDFLAGS())

    if not get.buildTYPE() == "emul32":
        #-no-pch makes build ccache-friendly
        options = t
    else:
        pisitools.dosed("mkspecs/linux-g++-64/qmake.conf", "-m64", "-m32")
        shelltools.export("LDFLAGS", "-m32 %s" % get.LDFLAGS())
        options = w

    autotools.rawConfigure(options)
示例#17
0
文件: actions.py 项目: 46imt/main
def setup():
    shelltools.export("AUTOPOINT", "true")
    options = "-Dpackage-name='PisiLinux gstreamer-plugins-base package' \
               -Dpackage-origin='https://www.pisilinux.org' \
               -Dexamples=disabled \
               -Dgtk_doc=disabled \
              "

    if get.buildTYPE() == "emul32":
        shelltools.export("CC", "%s -m32" % get.CC())
        shelltools.export("CXX", "%s -m32" % get.CXX())
        shelltools.export("PKG_CONFIG_PATH", "/usr/lib32/pkgconfig")

        options += " --bindir=/usr/bin32 \
                     --libdir=/usr/lib32 \
                     -Dintrospection=disabled \
                   "

    mesontools.configure(options)
示例#18
0
def setup():
    options = " --prefix=/usr \
                --libdir=lib \
                --openssldir=/etc/pki/tls \
                --enginesdir=/usr/lib/openssl/engines \
                zlib enable-camellia enable-seed enable-tlsext enable-rfc3779 \
                enable-cms enable-md2 threads shared -Wa,--noexecstack"

    if get.buildTYPE() == "_emul32":
        options += " --prefix=/_emul32 --libdir=lib32"
        shelltools.export("CC", "%s -m32" % get.CC())
        shelltools.export("CXX", "%s -m32" % get.CXX())
        shelltools.system("./Configure linux-elf %s" % options)
        shelltools.export("PKG_CONFIG_PATH","/usr/lib32/pkgconfig")
    else:
        options += " enable-ec_nistp_64_gcc_128"
        shelltools.system("./config %s" % options)
        pisitools.dosed("Makefile", "^(SHARED_LDFLAGS=).*", "\\1 ${LDFLAGS}")
        pisitools.dosed("Makefile", "^(CFLAG=.*)", "\\1 ${CFLAGS}")
示例#19
0
def setup():
    options = "--disable-gtk-doc \
               --with-pcre=system \
               --disable-fam \
               --disable-static \
               --disable-systemtap"

    if get.buildTYPE() == "emul32":
        options += " --prefix=/emul32 \
                     --libdir=/usr/lib32 \
                     --disable-dtrace"

        shelltools.export("CC", "%s -m32" % get.CC())
        shelltools.export("PKG_CONFIG_LIBDIR", "/usr/lib32/pkgconfig")

    autotools.autoreconf("-vif")
    autotools.configure(options)

    pisitools.dosed("libtool", " -shared ", " -Wl,--as-needed -shared ")
示例#20
0
def setup():
    options = "-Dselinux=disabled \
               -Dman=true \
               -Dgtk_doc=false"

    if get.buildTYPE() == "_emul32":
        shelltools.export("CC", "%s -m32" % get.CC())
        shelltools.export("CXX", "%s -m32" % get.CXX())
        shelltools.export("PKG_CONFIG_PATH", "/usr/lib32/pkgconfig")
        options += " --libdir=/usr/lib32 \
                     --bindir=/usr/emul32 \
                     --sbindir=/usr/emul32 \
                     --datadir=/usr/_emul32 \
                     --mandir=/usr/emul32 \
                     --localedir=/usr/emul32/locale \
                     -Dlibmount=disabled"

        shelltools.system("patch -p1 < multilib.diff")
    mesontools.configure(options)
示例#21
0
def setup():
    shelltools.export("LC_ALL", "C")
    shelltools.export("BUILD_BZIP2", "0")

    shelltools.system(
        'sh Configure -des \
                      -Darchname=i686-linux \
                      -Dcccdlflags=-fPIC \
                      -Dccdlflags=-rdynamic \
                      -Dcc=%s \
                      -Dprefix=/usr \
                      -Dvendorprefix=/usr \
                      -Dsiteprefix=/usr \
                      -Ulocincpth=  \
                      -Doptimize="%s" \
                      -Duselargefiles \
                      -Dd_dosuid \
                      -Dusethreads \
                      -Duseithreads \
                      -Dd_semctl_semun \
                      -Dscriptdir=/usr/bin \
                      -Dman1dir=/usr/share/man/man1 \
                      -Dman3dir=/usr/share/man/man3 \
                      -Dinstallman1dir=%s/usr/share/man/man1 \
                      -Dinstallman3dir=%s/usr/share/man/man3 \
                      -Dlibperl=libperl.so.1.5.8 \
                      -Duseshrplib \
                      -Dman1ext=1 \
                      -Dman3ext=3pm \
                      -Dcf_by=Pardus \
                      -Ud_csh \
                      -Di_ndbm \
                      -Di_gdbm \
                      -Di_db \
                      -Ubincompat5005 \
                      -Uversiononly \
                      -Dpager="/usr/bin/less -isr" \
                      -Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto \
                      -Ud_endprotoent_r_proto -Ud_setprotoent_r_proto \
                      -Ud_endservent_r_proto -Ud_setservent_r_proto \
                      ' %
        (get.CC(), get.CFLAGS(), get.installDIR(), get.installDIR()))
示例#22
0
def install():
    autotools.rawInstall('COPT_FLAGS="%s -fPIC" \
                          CC="%s" \
                          KERNEL_DIR="/usr" \
                          PREFIX= \
                          LIBDIR="/usr/lib" \
                          BINDIR="/sbin" \
                          MANDIR="/usr/share/man" \
                          INCDIR="/usr/include" \
                          DESTDIR="%s" \
                          ' % (get.CFLAGS(), get.CC(), get.installDIR()))

    autotools.make('LIBDIR="/usr/lib" \
                    INCDIR="/usr/include" \
                    DESTDIR="%s" \
                    MANDIR="/usr/share/man" \
                    install-devel' % get.installDIR())

    pisitools.dodir("/var/lib/iptables")
    pisitools.dodir("/etc/iptables")
示例#23
0
def setup():
    pisitools.dosed("test/Makefile.am", "noinst_PROGRAMS", "check_PROGRAMS")

    autotools.autoreconf("-vfi")

    options = "--disable-werror \
	       --enable-largefile"

    if get.buildTYPE() == "emul32":
        options += " --prefix=/emul32 \
                     --libdir=/usr/lib32 \
                     --bindir=/emul32/bin"

        shelltools.export("CC", "%s -m32" % get.CC())
        shelltools.export("CXX", "%s -m32" % get.CXX())
        shelltools.export("CFLAGS", "%s -m32" % get.CFLAGS())
        shelltools.export("CXXFLAGS", "%s -m32" % get.CFLAGS())
        shelltools.export("LDFLAGS", "%s -m32" % get.LDFLAGS())

    autotools.configure(options)
示例#24
0
def install():
    autotools.rawInstall("COPT_FLAGS=\"%s\" \
                          CC=\"%s\" \
                          KERNEL_DIR=\"/usr\" \
                          PREFIX= \
                          LIBDIR=\"/usr/lib\" \
                          BINDIR=\"/sbin\" \
                          MANDIR=\"/usr/share/man\" \
                          INCDIR=\"/usr/include\" \
                          DESTDIR=\"%s\" \
                          " % (get.CFLAGS(), get.CC(), get.installDIR()))
    
    autotools.make("LIBDIR=\"/usr/lib\" \
                    INCDIR=\"/usr/include\" \
                    DESTDIR=\"%s\" \
                    MANDIR=\"/usr/share/man\" \
                    install-devel" % get.installDIR())

    pisitools.dodir("/var/run/iptables")
    pisitools.dodir("/var/lib/iptables")
示例#25
0
def setup():
    shelltools.export("AUTOPOINT", "true")
    options = "-Dpackage-name='GStreamer for PisiLinux' \
               -Dpackage-origin='https://www.pisilinux.org' \
               -Dptp-helper-permissions=capabilities \
               -Ddbghelp=disabled \
              "

    if get.buildTYPE() == "emul32":
        shelltools.export("CC", "%s -m32" % get.CC())
        shelltools.export("CXX", "%s -m32" % get.CXX())
        shelltools.export("PKG_CONFIG_PATH", "/usr/lib32/pkgconfig")

        options += " --bindir=/usr/bin32 \
                     --libdir=/usr/lib32 \
                     --libexecdir=/usr/libexec32 \
                     -Dintrospection=disabled \
                   "

    mesontools.configure(options)
示例#26
0
def setup():
    # fix sandbox violations when attempt to read "/missing.xml"
    pisitools.dosed("testapi.c", "\/missing.xml", "missing.xml")

    options = "--with-zlib \
               --with-python \
               --with-readline \
               --enable-ipv6 \
               --disable-static \
               --with-threads"

    if get.buildTYPE() == "emul32":
        options += " --bindir=/emul32/bin \
                     --without-python"

        shelltools.export("CC", "%s -m32" % get.CC())
    else:
        options += " --with-python"

    autotools.configure(options)
示例#27
0
def setup():
    options = "--disable-static"

    if get.buildTYPE() == "emul32":
        #        options += " --prefix=/emul32 \
        #                     --libdir=/usr/lib32 \
        #                     --libexecdir=/emul32/lib \
        #                     --bindir=/emul32/bin \
        #                     --sbindir=/emul32/sbin \
        #                     --mandir=/emul32/usr/share/man"
        options += " --prefix=/emul32 \
                     --libdir=/usr/lib32"

        shelltools.export("CC", "%s -m32" % get.CC())
        shelltools.export("CFLAGS", "%s -m32" % get.CFLAGS())
        shelltools.export("CXXFLAGS", "%s -m32" % get.CXXFLAGS())
        shelltools.export("LDFLAGS", "%s -m32" % get.LDFLAGS())

    autotools.autoreconf("-fiv")
    autotools.configure(options)
示例#28
0
def setup():
    options = "\
                --disable-static \
                --without-apache-httpd \
                --without-apache-module-dir \
              "

    if get.buildTYPE() == "_emul32":
        options += " --libdir=/usr/lib32 \
                     --bindir=/_emul32/bin \
                     --sbindir=/_emul32/sbin \
                     --disable-tls-check"

        shelltools.export("CC", "%s -m32" % get.CC())
        shelltools.export("CXX", "%s -m32" % get.CXX())
        shelltools.export("PKG_CONFIG_PATH", "/usr/lib32/pkgconfig")

    autotools.configure(options)

    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
示例#29
0
def build():
    shelltools.export("AR", "ar")
    shelltools.export("RANLIB", "ranlib")

    shelltools.cd(source)
    autotools.make("-C ../libsrcs/angelscript/angelSVN/sdk/angelscript/projects/gnuc")

    autotools.make('BINDIR=release \
                    BUILD_CLIENT=YES \
                    BUILD_SERVER=YES \
                    BUILD_IRC=YES \
                    BUILD_SND_QF=YES \
                    BUILD_SND_OPENAL=YES \
                    BUILD_TV_SERVER=YES \
                    BUILD_ANGELWRAP=YES \
                    DEBUG_BUILD=NO \
                    BASE_ARCH=%s \
                    CFLAGS_RELEASE="%s -fno-strict-aliasing -ffast-math -funroll-loops -DNDEBUG" \
                    CC="%s" \
                    all' % (arch, get.CFLAGS(), get.CC()))
示例#30
0
def setup():
    CONFIGFILE = ".config"

    shelltools.echo(CONFIGFILE, "CC = %s" % get.CC())

    # Linux specific drivers
    shelltools.echo(CONFIGFILE, "CONFIG_DRIVER_HOSTAP=y")
    shelltools.echo(CONFIGFILE, "CONFIG_DRIVER_WEXT=y")
    shelltools.echo(CONFIGFILE, "CONFIG_DRIVER_IPW=y")
    shelltools.echo(CONFIGFILE, "CONFIG_DRIVER_ATMEL=y")
    shelltools.echo(CONFIGFILE, "CONFIG_DRIVER_NDISWRAPPER=y")
    shelltools.echo(CONFIGFILE, "CONFIG_DRIVER_PRISM54=y")
    shelltools.echo(CONFIGFILE, "CONFIG_DRIVER_WIRED=y")

    # Basic authentication methods
    shelltools.echo(CONFIGFILE, "CONFIG_TLS=openssl")
    shelltools.echo(CONFIGFILE, "CONFIG_IEEE8021X_EAPOL=y")
    shelltools.echo(CONFIGFILE, "CONFIG_EAP_MD5=y")
    shelltools.echo(CONFIGFILE, "CONFIG_EAP_GTC=y")
    shelltools.echo(CONFIGFILE, "CONFIG_EAP_OTP=y")
    shelltools.echo(CONFIGFILE, "CONFIG_EAP_PSK=y")
    shelltools.echo(CONFIGFILE, "CONFIG_EAP_PAX=y")
    shelltools.echo(CONFIGFILE, "CONFIG_EAP_TLV=y")
    shelltools.echo(CONFIGFILE, "CONFIG_EAP_PEERKEY=y")
    shelltools.echo(CONFIGFILE, "CONFIG_PKCS12=y")
    shelltools.echo(CONFIGFILE, "CONFIG_EAP_LEAP=y")
    shelltools.echo(CONFIGFILE, "CONFIG_EAP_MSCHAPV2=y")
    shelltools.echo(CONFIGFILE, "CONFIG_EAP_PEAP=y")
    shelltools.echo(CONFIGFILE, "CONFIG_EAP_TLS=y")
    shelltools.echo(CONFIGFILE, "CONFIG_EAP_TTLS=y")

    # Smart card authentication
    shelltools.echo(CONFIGFILE, "CONFIG_SMARTCARD=y")
    #shelltools.echo(CONFIGFILE, "CONFIG_EAP_SIM=y")
    #shelltools.echo(CONFIGFILE, "CONFIG_EAP_AKA=y")
    #shelltools.echo(CONFIGFILE, "CONFIG_PCSC=y")

    # Basic configuration
    shelltools.echo(CONFIGFILE, "CONFIG_READLINE=y")
    shelltools.echo(CONFIGFILE, "CONFIG_CTRL_IFACE=y")
    shelltools.echo(CONFIGFILE, "CONFIG_CTRL_IFACE_DBUS=y")