lkml.org 
[lkml]   [2012]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 1/7] trace-cmd: Add NO_PYTHON option for Makefile
    Date
    If someone do not want to build python plugins, [s]he can
    define the option to disable python support:

    $ make NO_PYTHON=1

    Signed-off-by: Namhyung Kim <namhyung.kim@lge.com>
    ---
    Makefile | 2 ++
    1 files changed, 2 insertions(+), 0 deletions(-)

    diff --git a/Makefile b/Makefile
    index edf3402..54dbba4 100644
    --- a/Makefile
    +++ b/Makefile
    @@ -76,6 +76,7 @@ ifndef VERBOSE
    VERBOSE = 0
    endif

    +ifndef NO_PYTHON
    PYTHON := ctracecmd.so
    PYTHON_GUI := ctracecmd.so ctracecmdgui.so

    @@ -86,6 +87,7 @@ ifeq ($(shell sh -c "python-config --includes > /dev/null 2>&1 && echo y"), y)
    PYTHON_SO_INSTALL := ctracecmd.install
    PYTHON_PY_INSTALL := event-viewer.install tracecmd.install tracecmdgui.install
    endif
    +endif # NO_PYTHON

    # $(call test-build, snippet, ret) -> ret if snippet compiles
    # -> empty otherwise
    --
    1.7.7.6


    \
     
     \ /
      Last update: 2012-04-09 04:57    [W:0.020 / U:0.168 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site