Skip to contentSkip to conversation

Remove apm as a default MACHINE_FEATURE

PATCH New Saul Wold 1 participant 4 messages Sep 9, 2013

lore
Share & tools
lore

Saul Wold

author
#0 lore raw

cover Remove apm as a default MACHINE_FEATURE

Applogies for the cross post, but this one covers both oe-core and poky

Remove APM from MACHINE_FEATURE, there is no reason for it to be enabled by default since we do not include the appropriate Kernel CONFIG fragment.

For QEMU it makes no sense in the first place and for any new arm platform apci is available.

Sau!

The following changes since commit 2ab1bf27f79beadc45e86a26c85fc0b95ae3496f:

bitbake: prserv: Ensure data is committed (2013-09-08 10:51:56 +0100)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib sgw/apm
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=sgw/apm

Saul Wold (3):
qemu.inc: remove apm as a MACHINE_FEATURE beagelboard.inc: remove apm as a MACHINE_FEATURE
yocto-bsp: remove apm as a default MACHINE_FEATURE

 meta-yocto-bsp/conf/machine/beagleboard.conf                            | 2 +-
 meta/conf/machine/include/qemu.inc                                      | 2 +-
 .../lib/bsp/substrate/target/arch/arm/conf/machine/{{=machine}}.conf    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
1.8.3.1
author
#1 lore raw

PATCH 1/3 qemu.inc: remove apm as a MACHINE_FEATURE

APM is not only obsolete, but requires a kernel config enabled and is meaningless for QEMU VM

[YOCTO #5121]

---
 meta/conf/machine/include/qemu.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/conf/machine/include/qemu.inc +1 -1
index 545f8d1..95d7e66 100644
@@ -11,7 +11,7 @@ XSERVER ?= "xserver-xorg \
             xf86-video-fbdev \
             xf86-input-keyboard"
 
-MACHINE_FEATURES = "apm alsa pcmcia bluetooth irda usbgadget screen"
+MACHINE_FEATURES = "alsa pcmcia bluetooth irda usbgadget screen"
 
 MACHINEOVERRIDES =. "qemuall:"
 
Signature · 1 line
1.8.3.1
author
#2 lore raw

PATCH 2/3 beagelboard.inc: remove apm as a MACHINE_FEATURE

APM is not only obsolete, but also requires a kernel config enabled, which is not enabled by default

[YOCTO #5121]

---
 meta-yocto-bsp/conf/machine/beagleboard.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-yocto-bsp/conf/machine/beagleboard.conf +1 -1
index dd0c222..0775cf8 100644
@@ -40,4 +40,4 @@ UBOOT_MACHINE = "omap3_beagle_config"
 UBOOT_ENTRYPOINT = "0x80008000"
 UBOOT_LOADADDRESS = "0x80008000"
 
-MACHINE_FEATURES = "apm usbgadget usbhost vfat alsa"
+MACHINE_FEATURES = "usbgadget usbhost vfat alsa"
Signature · 1 line
1.8.3.1
author
#3 lore raw

PATCH 3/3 yocto-bsp: remove apm as a default MACHINE_FEATURE

In reply to Saul Wold

APM is not only obsolete, but also requires a kernel config enabled, which is not enabled by default

[YOCTO #5121]

---
 .../lib/bsp/substrate/target/arch/arm/conf/machine/{{=machine}}.conf    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/lib/bsp/substrate/target/arch/arm/conf/machine/{{=machine}}.conf +1 -1
index ce9a58f..744486e 100644
@@ -90,4 +90,4 @@ UBOOT_ENTRYPOINT = "{{=uboot_entrypoint}}"
 {{ input type:"edit" name:"uboot_loadaddress" prio:"40" msg:"Please specify a value for UBOOT_LOADADDRESS:" default:"0x80008000" }}
 UBOOT_LOADADDRESS = "{{=uboot_loadaddress}}"
 
-MACHINE_FEATURES = "apm usbgadget usbhost vfat alsa"
+MACHINE_FEATURES = "usbgadget usbhost vfat alsa"
Signature · 1 line
1.8.3.1