<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.asteroidos.org/index.php?action=history&amp;feed=atom&amp;title=Anatomy_of_machine.conf</id>
	<title>Anatomy of machine.conf - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.asteroidos.org/index.php?action=history&amp;feed=atom&amp;title=Anatomy_of_machine.conf"/>
	<link rel="alternate" type="text/html" href="https://wiki.asteroidos.org/index.php?title=Anatomy_of_machine.conf&amp;action=history"/>
	<updated>2026-07-05T02:27:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.8</generator>
	<entry>
		<id>https://wiki.asteroidos.org/index.php?title=Anatomy_of_machine.conf&amp;diff=887&amp;oldid=prev</id>
		<title>Dodoradio: Created page with &quot;Machine.conf is likely the first file you&#039;ll edit when making a new port. This page describes what the different lines do. Below is the machine.conf from Bass.&lt;syntaxhighlight lang=&quot;ini&quot;&gt; #@TYPE: Machine #@NAME: LG Watch Urbane #@DESCRIPTION: Machine configuration for the LG Watch Urbane  require conf/machine/include/arm/armv7a/tune-cortexa7.inc DEFAULTTUNE = &quot;armv7vehf-neon&quot; require conf/machine/include/hybris-watch.inc  MACHINE_DISPLAY_ROUND = &quot;true&quot; MACHINE_HAS_WLAN =...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.asteroidos.org/index.php?title=Anatomy_of_machine.conf&amp;diff=887&amp;oldid=prev"/>
		<updated>2026-06-23T01:42:50Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Machine.conf is likely the first file you&amp;#039;ll edit when making a new port. This page describes what the different lines do. Below is the machine.conf from Bass.&amp;lt;syntaxhighlight lang=&amp;quot;ini&amp;quot;&amp;gt; #@TYPE: Machine #@NAME: LG Watch Urbane #@DESCRIPTION: Machine configuration for the LG Watch Urbane  require conf/machine/include/arm/armv7a/tune-cortexa7.inc DEFAULTTUNE = &amp;quot;armv7vehf-neon&amp;quot; require conf/machine/include/hybris-watch.inc  MACHINE_DISPLAY_ROUND = &amp;quot;true&amp;quot; MACHINE_HAS_WLAN =...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Machine.conf is likely the first file you&amp;#039;ll edit when making a new port. This page describes what the different lines do. Below is the machine.conf from Bass.&amp;lt;syntaxhighlight lang=&amp;quot;ini&amp;quot;&amp;gt;&lt;br /&gt;
#@TYPE: Machine&lt;br /&gt;
#@NAME: LG Watch Urbane&lt;br /&gt;
#@DESCRIPTION: Machine configuration for the LG Watch Urbane&lt;br /&gt;
&lt;br /&gt;
require conf/machine/include/arm/armv7a/tune-cortexa7.inc&lt;br /&gt;
DEFAULTTUNE = &amp;quot;armv7vehf-neon&amp;quot;&lt;br /&gt;
require conf/machine/include/hybris-watch.inc&lt;br /&gt;
&lt;br /&gt;
MACHINE_DISPLAY_ROUND = &amp;quot;true&amp;quot;&lt;br /&gt;
MACHINE_HAS_WLAN = &amp;quot;true&amp;quot;&lt;br /&gt;
&lt;br /&gt;
PREFERRED_VERSION_android = &amp;quot;marshmallow&amp;quot;&lt;br /&gt;
&lt;br /&gt;
PREFERRED_PROVIDER_virtual/kernel = &amp;quot;linux-bass&amp;quot;&lt;br /&gt;
PREFERRED_VERSION_linux = &amp;quot;3.10+lollipop&amp;quot;&lt;br /&gt;
&lt;br /&gt;
IMAGE_INSTALL += &amp;quot;sensorfw-hybris-hal-plugins msm-fb-refresher brcm-patchram-plus iproute2 wpa-supplicant underclock asteroid-compass asteroid-hrm&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;syntaxhighlight lang=&amp;quot;ini&amp;quot;&amp;gt;&lt;br /&gt;
#@TYPE: Machine&lt;br /&gt;
&lt;br /&gt;
#@NAME: LG Watch Urbane&lt;br /&gt;
&lt;br /&gt;
#@DESCRIPTION: Machine configuration for the LG Watch Urbane&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Modify the NAME and DESCRIPTION line to match the common name of your device.&amp;lt;syntaxhighlight lang=&amp;quot;ini&amp;quot;&amp;gt;&lt;br /&gt;
require conf/machine/include/arm/armv7a/tune-cortexa7.inc&lt;br /&gt;
&lt;br /&gt;
DEFAULTTUNE = &amp;quot;armv7vehf-neon&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;The &amp;#039;tune&amp;#039; is a variant of a device architecture that specifies additional features. In this case, hf (hard float) and neon are floating point extensions. &lt;br /&gt;
&lt;br /&gt;
The &amp;#039;require&amp;#039; keyword is used to include a file, which makes available a selection of armv7 tunes. The &amp;#039;DEFAULTTUNE&amp;#039; variable selects one of them.&lt;br /&gt;
&lt;br /&gt;
DEFAULTTUNE is used by bitbake to decide the device&amp;#039;s overall architecture, selecting both the compiler architecture and compiler tuning options.&amp;lt;syntaxhighlight lang=&amp;quot;ini&amp;quot;&amp;gt;&lt;br /&gt;
require conf/machine/include/hybris-watch.inc&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;This line includes hybris packages. &amp;lt;syntaxhighlight lang=&amp;quot;ini&amp;quot;&amp;gt;&lt;br /&gt;
MACHINE_DISPLAY_ROUND = &amp;quot;true&amp;quot;&lt;br /&gt;
&lt;br /&gt;
MACHINE_HAS_WLAN = &amp;quot;true&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;These variables are packaged into a file which is accessible from the watch&amp;#039;s userspace and used to behave the default behaviour of the launcher and applications. &amp;lt;syntaxhighlight lang=&amp;quot;ini&amp;quot;&amp;gt;&lt;br /&gt;
PREFERRED_VERSION_android = &amp;quot;marshmallow&amp;quot;&lt;br /&gt;
&lt;br /&gt;
PREFERRED_PROVIDER_virtual/kernel = &amp;quot;linux-bass&amp;quot;&lt;br /&gt;
&lt;br /&gt;
PREFERRED_VERSION_linux = &amp;quot;3.10+lollipop&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;For packages such as kernels and android library packages, there are multiple variants available. This selects the kernel variant and version, and the android library packages which are necessary for this device&amp;lt;syntaxhighlight lang=&amp;quot;ini&amp;quot;&amp;gt;&lt;br /&gt;
IMAGE_INSTALL += &amp;quot;sensorfw-hybris-hal-plugins msm-fb-refresher brcm-patchram-plus iproute2 wpa-supplicant underclock asteroid-compass asteroid-hrm&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;This adds additional packages which should be shipped in the asteroidos installation image. The last two are apps, which are installed by default on this device because it has a compass and heartrate sensor.&lt;/div&gt;</summary>
		<author><name>Dodoradio</name></author>
	</entry>
</feed>