From patchwork Sat Apr 4 12:10:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 1266387 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=free.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=MSfycNat; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48vbHj55Vnz9sSM for ; Sat, 4 Apr 2020 23:11:13 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 59F4E87D9E; Sat, 4 Apr 2020 12:11:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wo4N4x2fvYLe; Sat, 4 Apr 2020 12:11:05 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 2FA4F87DAE; Sat, 4 Apr 2020 12:11:03 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 006B51BF962 for ; Sat, 4 Apr 2020 12:10:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 94E8020531 for ; Sat, 4 Apr 2020 12:10:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 39IVOeP1FZw2 for ; Sat, 4 Apr 2020 12:10:48 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) by silver.osuosl.org (Postfix) with ESMTPS id 52CB520346 for ; Sat, 4 Apr 2020 12:10:48 +0000 (UTC) Received: by mail-wr1-f44.google.com with SMTP id p10so11742451wrt.6 for ; Sat, 04 Apr 2020 05:10:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ygKkQaB9BtMwTzfeACT+aFxRZ78JNk2XgG4Iytzvzh8=; b=MSfycNatyTm/UwwT7IO/UBCLCR1kAUoySTGCa/o6cFdqjyY4fONo+obiX1V5nT8Hxm LcB5OtL+WNb4/w9u7KLlF0mvEGNgOGxApR5jOlOuOle9ywXrVMCgejQVdNLjgZ1E0xFo IAC5Crnpe7jxWMCIVlLgdhrD1zUaRxIMtFwVI3EssQVy+yY+YUbKDM7rILD4gd6dbgK5 nUnf4tqQGzFlvWHVsjCp3h6atKr5J/53qUV+GknxTOtZjGAYedAPe3UNy9HGMOoJ/tU4 ta8X/x3qxUJHxD403qyWeJvdw4j+D2fK+EfipA0SLVwddhlyh1hhAdrTNM9VXTljkvbc ocRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=ygKkQaB9BtMwTzfeACT+aFxRZ78JNk2XgG4Iytzvzh8=; b=reK7v/uCXuJbKsYoZd/O+Kas8B0yNi7GLOjvVb9tUfAM+jS5JwZiYs6I9NJm7VgiS5 jiryMjwWq7E2i3Gg3Q6K/gO9PJswEwd18D+POXiHL7zwC66XvwRNoFjQl2jyj+mL9wAh hrYN7taqHOJfEWqQzslpLYvYlq6sfkV2Vmgkpu1+efb+PFnAoooHGSAngpev724AJ9pv vu4riF3Yxrp0RUw+aAaNermhyrx/6sw9hZ+CqDArmCVrVBop1gGHh3p7qITNp0KcdE98 WXWAjyxkTc8gNb/4HTSvbg4+1BVXq3I7za71hURvTW3uOvKXZPL9+N7sew4BOVTTE5ut 9Z7w== X-Gm-Message-State: AGi0PuYZ/Olzq/ZyWaMm0rBKw9fWBHddDJiSa9F1/W3sMTtxpEMxtyCq tbC8tWTQTjo2US0OlBhOos7JX/GY X-Google-Smtp-Source: APiQypL4QIGlRd1mThQ5vfYyXrpkUUCy3ICRbSghpH25KvMCxl9fNilPVKuHw994ZyPYl7xuA11Uew== X-Received: by 2002:adf:ed4a:: with SMTP id u10mr13801070wro.399.1586002246646; Sat, 04 Apr 2020 05:10:46 -0700 (PDT) Received: from scaer.home ([2a01:cb19:8b51:cb00:2984:4c3:cd3a:118d]) by smtp.gmail.com with ESMTPSA id q19sm12031907wra.38.2020.04.04.05.10.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Apr 2020 05:10:46 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Sat, 4 Apr 2020 14:10:26 +0200 Message-Id: X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Subject: [Buildroot] [PATCH 14/22] package/linux-tools/perf: bear the kernel options munging X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Yann E. MORIN" Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Yann E. MORIN --- linux/linux.mk | 2 -- package/linux-tools/linux-tool-perf.mk.in | 4 ++++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/linux/linux.mk b/linux/linux.mk index ec57f580ea..60fefd0eba 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -355,8 +355,6 @@ define LINUX_KCONFIG_FIXUP_CMDS $(call KCONFIG_ENABLE_OPT,CONFIG_INOTIFY_USER)) $(if $(BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV), $(call KCONFIG_ENABLE_OPT,CONFIG_NET)) - $(if $(BR2_PACKAGE_LINUX_TOOLS_PERF), - $(call KCONFIG_ENABLE_OPT,CONFIG_PERF_EVENTS)) $(if $(BR2_PACKAGE_SYSTEMD), $(call KCONFIG_ENABLE_OPT,CONFIG_CGROUPS) $(call KCONFIG_ENABLE_OPT,CONFIG_INOTIFY_USER) diff --git a/package/linux-tools/linux-tool-perf.mk.in b/package/linux-tools/linux-tool-perf.mk.in index 7106b622cb..53b7c5b9cd 100644 --- a/package/linux-tools/linux-tool-perf.mk.in +++ b/package/linux-tools/linux-tool-perf.mk.in @@ -158,3 +158,7 @@ define PERF_INSTALL_TARGET_CMDS $(RM) -rf $(TARGET_DIR)/usr/libexec/perf-core/scripts/ $(RM) -rf $(TARGET_DIR)/usr/libexec/perf-core/tests/ endef + +define PERF_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_PERF_EVENTS) +endef