local.conf option to produce powertop kernel and citadel-image
This commit is contained in:
parent
29e6be9e96
commit
1102aba418
@ -198,3 +198,9 @@ PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
|
||||
# this doesn't mean anything to you.
|
||||
CONF_VERSION = "1"
|
||||
INHERIT+="toaster buildhistory"
|
||||
|
||||
#
|
||||
# Enable to build a custom kernel with options set so that powertop can be used, and
|
||||
# will also build citadel-image with powertop package installed
|
||||
#
|
||||
# DISTROOVERRIDES = "citadel-powertop"
|
||||
|
@ -1,6 +1,10 @@
|
||||
|
||||
inherit packagegroup
|
||||
|
||||
CITADEL_POWERTOP = ""
|
||||
# append only if citadel-powertop override is set
|
||||
CITADEL_POWERTOP_append_citadel-powertop= "powertop"
|
||||
|
||||
RDEPENDS_${PN} = "\
|
||||
atk \
|
||||
at-spi2-atk \
|
||||
@ -17,7 +21,7 @@ RDEPENDS_${PN} = "\
|
||||
networkmanager \
|
||||
network-manager-applet \
|
||||
networkmanager-nmtui \
|
||||
clutter-1.0 \
|
||||
clutter-1.0 \
|
||||
gnome-desktop \
|
||||
gnome-bluetooth \
|
||||
gnome-control-center \
|
||||
@ -88,4 +92,5 @@ RDEPENDS_${PN} = "\
|
||||
sway \
|
||||
xcb-util-xrm \
|
||||
rofi \
|
||||
${CITADEL_POWERTOP} \
|
||||
"
|
||||
|
@ -4,6 +4,11 @@ LICENSE = "GPLv2"
|
||||
|
||||
inherit kernel
|
||||
|
||||
# if OVERRIDES contains citadel-powertop, then find defconfig in citadel-powertop dirctory
|
||||
# This config disables CONFIG_GRKERNSEC_KMEM and enables CONFIG_DEBUG_FS so that
|
||||
# powertop will work
|
||||
FILESEXTRAPATHS_prepend_citadel-powertop = "${FILE_DIRNAME}/citadel-powertop:"
|
||||
LINUX_VERSION_EXTENSION_append_citadel-powertop = "-powertop"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
|
||||
LINUX_VERSION ?= "${PV}"
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user