|
|
@ -2,7 +2,7 @@ |
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
# |
|
|
|
# |
|
|
|
# Filename: package/.../linux/linux-conf.in |
|
|
|
# Filename: package/.../linux/linux-conf.in |
|
|
|
# Copyright (C) 2006 - 2012 The OpenSDE Project |
|
|
|
# Copyright (C) 2006 - 2013 The OpenSDE Project |
|
|
|
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|
|
|
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|
|
|
# Copyright (C) 1998 - 2003 Clifford Wolf |
|
|
|
# Copyright (C) 1998 - 2003 Clifford Wolf |
|
|
|
# |
|
|
|
# |
|
|
@ -326,6 +326,28 @@ lx_config() { |
|
|
|
echo "... configuration of $lx_kernelrelease finished!" |
|
|
|
echo "... configuration of $lx_kernelrelease finished!" |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lx_build_perftools() { |
|
|
|
|
|
|
|
echo_status "Building performance analysis tools" |
|
|
|
|
|
|
|
local perfmakeopt= |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var_append perfmakeopt ' ' 'ARCH=$arch' |
|
|
|
|
|
|
|
var_append perfmakeopt ' ' 'DESTDIR=$root/' |
|
|
|
|
|
|
|
var_append perfmakeopt ' ' 'prefix=/$prefix' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ! pkginstalled python; then |
|
|
|
|
|
|
|
echo_warning "Disabling python extensions (python not available)" |
|
|
|
|
|
|
|
var_append perfmakeopt ' ' "NO_LIBPYTHON=1 PYTHON=" |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ! pkginstalled elfutils; then |
|
|
|
|
|
|
|
echo_warning "Disabling debug-info analysis feature (elfutils not available)" |
|
|
|
|
|
|
|
var_append perfmakeopt ' ' "NO_DWARF=1" |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
eval $MAKE -C tools/perf $perfmakeopt |
|
|
|
|
|
|
|
eval $MAKE -C tools/perf $perfmakeopt install |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
pkg_linux_brokenfiles="$base/architecture/$arch/kernel$treever-disable.lst \ |
|
|
|
pkg_linux_brokenfiles="$base/architecture/$arch/kernel$treever-disable.lst \ |
|
|
|
$base/package/*/linux$treever/disable-broken.lst \ |
|
|
|
$base/package/*/linux$treever/disable-broken.lst \ |
|
|
|
$pkg_linux_brokenfiles" |
|
|
|
$pkg_linux_brokenfiles" |
|
|
|