package/pcm-tools: bear the kernel options munging
authorYann E. MORIN <yann.morin.1998@free.fr>
Sat, 4 Apr 2020 12:10:25 +0000 (14:10 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 1 May 2020 13:50:28 +0000 (15:50 +0200)
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
linux/linux.mk
package/pcm-tools/pcm-tools.mk

index 9ba75f395617008a3b4e35b9cd707b53dd1b9c46..1bf7932a55db89fc68a0597f10bf84a10cc5127d 100644 (file)
@@ -357,8 +357,6 @@ define LINUX_KCONFIG_FIXUP_CMDS
                $(call KCONFIG_ENABLE_OPT,CONFIG_NET))
        $(if $(BR2_PACKAGE_LINUX_TOOLS_PERF),
                $(call KCONFIG_ENABLE_OPT,CONFIG_PERF_EVENTS))
-       $(if $(BR2_PACKAGE_PCM_TOOLS),
-               $(call KCONFIG_ENABLE_OPT,CONFIG_X86_MSR))
        $(if $(BR2_PACKAGE_SYSTEMD),
                $(call KCONFIG_ENABLE_OPT,CONFIG_CGROUPS)
                $(call KCONFIG_ENABLE_OPT,CONFIG_INOTIFY_USER)
index 6d5938f94e4d7afa98421847d305bc1bd1c7760f..6de11c0da27f56fe1c42e4466fdd6979b764fda1 100644 (file)
@@ -33,4 +33,8 @@ define PCM_TOOLS_INSTALL_TARGET_CMDS
        $(PCM_TOOLS_INSTALL_PMU_QUERY)
 endef
 
+define PCM_TOOLS_LINUX_CONFIG_FIXUPS
+       $(call KCONFIG_ENABLE_OPT,CONFIG_X86_MSR)
+endef
+
 $(eval $(generic-package))