Bump buildroot to 2019.02
This commit is contained in:
@@ -7,7 +7,6 @@ config BR2_PACKAGE_LINUX_TOOLS
|
||||
|
||||
config BR2_PACKAGE_LINUX_TOOLS_CPUPOWER
|
||||
bool "cpupower"
|
||||
depends on !BR2_bfin # pciutils
|
||||
select BR2_PACKAGE_LINUX_TOOLS
|
||||
select BR2_PACKAGE_PCIUTILS
|
||||
help
|
||||
@@ -35,6 +34,15 @@ config BR2_PACKAGE_LINUX_TOOLS_IIO
|
||||
|
||||
These tools are available only from kernel version 4.7.
|
||||
|
||||
config BR2_PACKAGE_LINUX_TOOLS_PCI
|
||||
bool "pci"
|
||||
select BR2_PACKAGE_LINUX_TOOLS
|
||||
help
|
||||
pcitest is a tool for testing capabilities related to a
|
||||
PCI Endpoint (only works with specific Endpoints).
|
||||
|
||||
These tools are available only from kernel version 4.20.
|
||||
|
||||
config BR2_PACKAGE_LINUX_TOOLS_PERF
|
||||
bool "perf"
|
||||
select BR2_PACKAGE_LINUX_TOOLS
|
||||
@@ -56,6 +64,19 @@ config BR2_PACKAGE_LINUX_TOOLS_PERF
|
||||
|
||||
https://perf.wiki.kernel.org/
|
||||
|
||||
if BR2_PACKAGE_LINUX_TOOLS_PERF
|
||||
|
||||
config BR2_PACKAGE_LINUX_TOOLS_PERF_TUI
|
||||
bool "enable perf TUI"
|
||||
depends on BR2_USE_MMU # slang
|
||||
select BR2_PACKAGE_SLANG
|
||||
help
|
||||
Enable the TUI interface for perf which requires a TTY and
|
||||
enables zooming into DSOs and threads as well as other
|
||||
features.
|
||||
|
||||
endif
|
||||
|
||||
config BR2_PACKAGE_LINUX_TOOLS_SELFTESTS
|
||||
bool"selftests"
|
||||
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # bash
|
||||
|
||||
27
bsp/buildroot/package/linux-tools/linux-tool-pci.mk.in
Normal file
27
bsp/buildroot/package/linux-tools/linux-tool-pci.mk.in
Normal file
@@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
#
|
||||
# pci
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LINUX_TOOLS += pci
|
||||
|
||||
PCI_MAKE_OPTS = $(LINUX_MAKE_FLAGS)
|
||||
|
||||
define PCI_BUILD_CMDS
|
||||
$(Q)if ! grep install $(LINUX_DIR)/tools/pci/Makefile >/dev/null 2>&1 ; then \
|
||||
echo "Your kernel version is too old and does not have install section in the pci tools." ; \
|
||||
echo "At least kernel 4.20 must be used." ; \
|
||||
exit 1 ; \
|
||||
fi
|
||||
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(LINUX_DIR)/tools/pci \
|
||||
$(PCI_MAKE_OPTS)
|
||||
endef
|
||||
|
||||
define PCI_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(LINUX_DIR)/tools/pci \
|
||||
$(PCI_MAKE_OPTS) \
|
||||
DESTDIR=$(TARGET_DIR) \
|
||||
install
|
||||
endef
|
||||
@@ -22,7 +22,6 @@ PERF_MAKE_FLAGS = \
|
||||
prefix=/usr \
|
||||
WERROR=0 \
|
||||
NO_LIBAUDIT=1 \
|
||||
NO_NEWT=1 \
|
||||
NO_GTK2=1 \
|
||||
NO_LIBPERL=1 \
|
||||
NO_LIBPYTHON=1 \
|
||||
@@ -59,10 +58,10 @@ ifeq ($(BR2_arc),y)
|
||||
PERF_MAKE_FLAGS += NO_BACKTRACE=1
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SLANG),y)
|
||||
ifeq ($(BR2_PACKAGE_LINUX_TOOLS_PERF_TUI),y)
|
||||
PERF_DEPENDENCIES += slang
|
||||
else
|
||||
PERF_MAKE_FLAGS += NO_SLANG=1
|
||||
PERF_MAKE_FLAGS += NO_NEWT=1 NO_SLANG=1
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBUNWIND),y)
|
||||
@@ -128,6 +127,13 @@ define PERF_BUILD_CMDS
|
||||
fi \
|
||||
fi \
|
||||
fi
|
||||
$(Q)if test "$(BR2_PACKAGE_LINUX_TOOLS_PERF_TUI)" = "y" ; then \
|
||||
if ! grep -q NO_SLANG $(LINUX_DIR)/tools/perf/Makefile* ; then \
|
||||
echo "The perf tool in your kernel cannot be build with the TUI." ; \
|
||||
echo "Either upgrade your kernel to >= 3.10, or disable the TUI." ; \
|
||||
exit 1 ; \
|
||||
fi \
|
||||
fi
|
||||
$(TARGET_MAKE_ENV) $(MAKE1) $(PERF_MAKE_FLAGS) \
|
||||
-C $(LINUX_DIR)/tools/perf O=$(LINUX_DIR)/tools/perf/
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user