<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://xdandroid.com/w/index.php?action=history&amp;feed=atom&amp;title=Froyo_Build_Configuration</id>
	<title>Froyo Build Configuration - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://xdandroid.com/w/index.php?action=history&amp;feed=atom&amp;title=Froyo_Build_Configuration"/>
	<link rel="alternate" type="text/html" href="http://xdandroid.com/w/index.php?title=Froyo_Build_Configuration&amp;action=history"/>
	<updated>2026-05-30T20:28:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>http://xdandroid.com/w/index.php?title=Froyo_Build_Configuration&amp;diff=1280&amp;oldid=prev</id>
		<title>Raf: +Build Configuration</title>
		<link rel="alternate" type="text/html" href="http://xdandroid.com/w/index.php?title=Froyo_Build_Configuration&amp;diff=1280&amp;oldid=prev"/>
		<updated>2011-06-11T20:01:01Z</updated>

		<summary type="html">&lt;p&gt;+&lt;a href=&quot;/wiki/Build_Configuration&quot; title=&quot;Build Configuration&quot;&gt;Build Configuration&lt;/a&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 20:01, 11 June 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot; &gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div class=&amp;quot;warning&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;NOTE&amp;#039;&amp;#039;&amp;#039; For build configuration options for the &amp;lt;tt&amp;gt;eclair&amp;lt;/tt&amp;gt; branch, please see [[Eclair Build Configuration]].&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div class=&amp;quot;warning&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;NOTE&amp;#039;&amp;#039;&amp;#039; For build configuration options for the &amp;lt;tt&amp;gt;eclair&amp;lt;/tt&amp;gt; branch, please see [[Eclair Build Configuration]].&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;div class=&amp;quot;warning&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;NOTE&amp;#039;&amp;#039;&amp;#039; For build configuration options for the &amp;lt;tt&amp;gt;gingerbread&amp;lt;/tt&amp;gt; branch, please see [[Build Configuration]].&amp;lt;/div&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The Android build system will use &amp;lt;tt&amp;gt;buildspec.mk&amp;lt;/tt&amp;gt; to pass a variety of variables to the &amp;lt;tt&amp;gt;make&amp;lt;/tt&amp;gt; program which parses all of the Makefile recipes that comprise the build system. Most of the variables supported by &amp;lt;tt&amp;gt;buildspec.mk&amp;lt;/tt&amp;gt; are self-explanatory, especially after becoming familiar with the basics of an Android system.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The Android build system will use &amp;lt;tt&amp;gt;buildspec.mk&amp;lt;/tt&amp;gt; to pass a variety of variables to the &amp;lt;tt&amp;gt;make&amp;lt;/tt&amp;gt; program which parses all of the Makefile recipes that comprise the build system. Most of the variables supported by &amp;lt;tt&amp;gt;buildspec.mk&amp;lt;/tt&amp;gt; are self-explanatory, especially after becoming familiar with the basics of an Android system.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Raf</name></author>
		
	</entry>
	<entry>
		<id>http://xdandroid.com/w/index.php?title=Froyo_Build_Configuration&amp;diff=934&amp;oldid=prev</id>
		<title>Stinebd: Transitional page.</title>
		<link rel="alternate" type="text/html" href="http://xdandroid.com/w/index.php?title=Froyo_Build_Configuration&amp;diff=934&amp;oldid=prev"/>
		<updated>2011-02-05T03:39:26Z</updated>

		<summary type="html">&lt;p&gt;Transitional page.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;With the XDAndroid source checked out, the build system must be configured to build an XDAndroid product for one of the [[Supported Devices|supported targets]]. Build system configuration is done via a single file in the root of the XDAndroid source tree whose name is &amp;lt;tt&amp;gt;buildspec.mk&amp;lt;/tt&amp;gt;. The following configuration documentation applies to &amp;lt;tt&amp;gt;froyo&amp;lt;/tt&amp;gt; and later branches.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;warning&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;NOTE&amp;#039;&amp;#039;&amp;#039; For build configuration options for the &amp;lt;tt&amp;gt;eclair&amp;lt;/tt&amp;gt; branch, please see [[Eclair Build Configuration]].&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Android build system will use &amp;lt;tt&amp;gt;buildspec.mk&amp;lt;/tt&amp;gt; to pass a variety of variables to the &amp;lt;tt&amp;gt;make&amp;lt;/tt&amp;gt; program which parses all of the Makefile recipes that comprise the build system. Most of the variables supported by &amp;lt;tt&amp;gt;buildspec.mk&amp;lt;/tt&amp;gt; are self-explanatory, especially after becoming familiar with the basics of an Android system.&lt;br /&gt;
&lt;br /&gt;
==Build System Configuration==&lt;br /&gt;
Simply create a blank plain-text file in the root of your XDAndroid source tree. Name the file &amp;lt;tt&amp;gt;buildspec.mk&amp;lt;/tt&amp;gt; and edit it with your preferred text editor.&lt;br /&gt;
&lt;br /&gt;
Variables are each defined on their own single line. Similar to other configuration files, anything which proceeds a pound sign (#) is ignored as a comment.&lt;br /&gt;
&lt;br /&gt;
To instruct the build system to generate an XDAndroid system image, the following variables &amp;#039;&amp;#039;&amp;#039;must&amp;#039;&amp;#039;&amp;#039; be defined in &amp;lt;tt&amp;gt;buildspec.mk&amp;lt;/tt&amp;gt;...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;make&amp;quot;&amp;gt;# Configure for an XDAndroid release engineering target.&lt;br /&gt;
TARGET_PRODUCT := full_msm&lt;br /&gt;
TARGET_BUILD_VARIANT := eng&lt;br /&gt;
TARGET_BUILD_TYPE := release&lt;br /&gt;
TARGET_USERIMAGES_USE_EXT2 := true&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The final line in the above example, which enables &amp;lt;tt&amp;gt;TARGET_USERIMAGES_USE_EXT2&amp;lt;/tt&amp;gt;, will have the Android build system generate ext2 filesystems. On the live device, these filesystems are mounted writable. The XDAndroid boot process supports an ext2-based system partition image, named &amp;lt;tt&amp;gt;system.ext2&amp;lt;/tt&amp;gt; on the SD card. This is highly recommended.&lt;br /&gt;
&lt;br /&gt;
After completing the build configuration and saving the &amp;lt;tt&amp;gt;buildspec.mk&amp;lt;/tt&amp;gt; file, you can proceed with [[Building and Packaging]] the system.&lt;/div&gt;</summary>
		<author><name>Stinebd</name></author>
		
	</entry>
</feed>