
<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.armadeus.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Fr%3AIntegration_ipkg</id>
		<title>Fr:Integration ipkg - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.armadeus.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Fr%3AIntegration_ipkg"/>
		<link rel="alternate" type="text/html" href="http://www.armadeus.org/wiki/index.php?title=Fr:Integration_ipkg&amp;action=history"/>
		<updated>2026-05-12T09:24:58Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.3</generator>

	<entry>
		<id>http://www.armadeus.org/wiki/index.php?title=Fr:Integration_ipkg&amp;diff=2716&amp;oldid=prev</id>
		<title>JulienB: /* C'est parti */</title>
		<link rel="alternate" type="text/html" href="http://www.armadeus.org/wiki/index.php?title=Fr:Integration_ipkg&amp;diff=2716&amp;oldid=prev"/>
				<updated>2007-08-09T17:12:24Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;C&amp;#039;est parti&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 17:12, 9 August 2007&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-l9&quot; &gt;Line 9:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 9:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===C'est parti===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===C'est parti===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;à la racine de l'arborescence Buildroot il faut la version &amp;quot;script&amp;quot; de ipkg qui sera appelée par les makefiles des packages:&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;à la racine de l'arborescence Buildroot il faut la version &amp;quot;script&amp;quot; de ipkg qui sera appelée par les makefiles des packages:&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;-&amp;gt; création du répertoire ''scripts/''&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;-&amp;gt; création du répertoire ''scripts/'' &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;-&amp;gt;&amp;gt; et finalement pourquoi pas le mettre dans ''toolchain/'' directement ??&lt;/ins&gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;-&amp;gt; copie des scripts ''ipkg'' et ''make-ipkg-dir.sh'' de OpenWrt&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;-&amp;gt; copie des scripts ''ipkg'' et ''make-ipkg-dir.sh'' de OpenWrt&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&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-l16&quot; &gt;Line 16:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 16:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Pour chaque package:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Pour chaque package:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* dans le répertoire de build du package (''buildroot/build_arm_nofpu/$&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;package&lt;/del&gt;/''), il faut un répertoire ''ipkg/$&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;package&lt;/del&gt;/'' qui va contenir les exe/libs et les fichiers CONTROL/.. nécessaires à ipkg.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;* dans le répertoire de build du package (''buildroot/build_arm_nofpu/$&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;package_name&lt;/ins&gt;/''), il faut un répertoire ''ipkg/$&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;package_name&lt;/ins&gt;/'' qui va contenir les exe/libs et les fichiers CONTROL/.. nécessaires à ipkg.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* dans ''buildroot/package/$&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;package&lt;/del&gt;'' il faut créer un répertoire ''ipkg/'' et mettre dedans un fichier ''&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;package&lt;/del&gt;.control'' avec les infos qui vont bien pour ipkg&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;* dans ''buildroot/package/$&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;package_name&lt;/ins&gt;'' il faut créer un répertoire ''ipkg/'' et mettre dedans un fichier ''&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;$package_name&lt;/ins&gt;.control'' avec les infos qui vont bien pour ipkg&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A la racine de Buildroot il faut un répertoire où l'on peut stocker les packages: par exemple ''bin/packages/'' (à créer automatiquement dans un Makefile ??)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A la racine de Buildroot il faut un répertoire où l'on peut stocker les packages: par exemple ''bin/packages/'' (à créer automatiquement dans un Makefile ??)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Pour chaque package, il y a donc un rep &amp;quot;ipkg/$&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;package&lt;/del&gt;&amp;quot; dans le répertoire de build et c'est là qu'il faut maintenant aussi installer les résultats de compile (ie en plus de ce qui est fait dans $(STAGING_DIR) / $(TARGET_DIR).&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;Pour chaque package, il y a donc un rep &amp;quot;ipkg/$&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;package_name&lt;/ins&gt;&amp;quot; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;qui est généré (??comment??) &lt;/ins&gt;dans le répertoire de build et c'est là qu'il faut maintenant aussi installer les résultats de compile (ie en plus de ce qui est fait dans $(STAGING_DIR) / $(TARGET_DIR).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;dans OpenWrt ils ont pour chaque target/routeur supportés un répertoire dans build-xxx/$target/ qui contient tous leurs binaires générés pour la plateforme. c'est là aussi qu'ils ont leur ipkg.conf nécessaires à &amp;quot;ipkg install&amp;quot;. Moi je vais tenter de le mettre dans ''build_arm_nofpu/'' tout court...&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;dans OpenWrt ils ont pour chaque target/routeur supportés un répertoire dans build-xxx/$target/ qui contient tous leurs binaires générés pour la plateforme. c'est là aussi qu'ils ont leur ipkg.conf nécessaires à &amp;quot;ipkg install&amp;quot;. Moi je vais tenter de le mettre dans ''build_arm_nofpu/'' tout court...&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>JulienB</name></author>	</entry>

	<entry>
		<id>http://www.armadeus.org/wiki/index.php?title=Fr:Integration_ipkg&amp;diff=2715&amp;oldid=prev</id>
		<title>JulienB: /* C'est parti */</title>
		<link rel="alternate" type="text/html" href="http://www.armadeus.org/wiki/index.php?title=Fr:Integration_ipkg&amp;diff=2715&amp;oldid=prev"/>
				<updated>2007-08-09T16:24:27Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;C&amp;#039;est parti&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 16:24, 9 August 2007&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-l9&quot; &gt;Line 9:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 9:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===C'est parti===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===C'est parti===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;à la racine de l'arborescence Buildroot il faut la version &amp;quot;script&amp;quot; de ipkg qui sera appelée par les makefiles des packages:&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;à la racine de l'arborescence Buildroot il faut la version &amp;quot;script&amp;quot; de ipkg qui sera appelée par les makefiles des packages:&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;-&amp;gt; création du répertoire ''&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;script&lt;/del&gt;/''&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;-&amp;gt; création du répertoire ''&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;scripts&lt;/ins&gt;/''&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;-&amp;gt; copie des scripts ''ipkg'' et ''make-ipkg-dir.sh'' de OpenWrt&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;-&amp;gt; copie des scripts ''ipkg'' et ''make-ipkg-dir.sh'' de OpenWrt&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;on ne peut pas utiliser directement le makefile ''package/rules.mk'' de OpenWrt, et donc ses règles implicites pour générer les ''.ipkg'', car chez eux, chaque package a un fichier ''Makefile'' dédié qui est appelé indépendamment /récursivement et pas un gros Makefile qui inclue tous les autres comme c'est le cas dans notre Buildroot actuel.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;on ne peut pas utiliser directement le makefile ''package/rules.mk'' de OpenWrt, et donc ses règles implicites pour générer les ''.ipkg'', car chez eux, chaque package a un fichier ''Makefile'' dédié qui est appelé indépendamment/récursivement et pas un gros Makefile qui inclue tous les autres comme c'est le cas dans notre Buildroot actuel.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Donc chez nous, dans chaque makefile ''package.mk'', il faut ajouter une nouvelle cible qui génère les fichiers de conf pour ipkg.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Donc chez nous, dans chaque makefile ''package.mk'', il faut ajouter une nouvelle cible qui génère les fichiers de conf pour ipkg.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Pour construire des packages sur le Host, il faut les ftp://ftp.handhelds.org/packages/ipkg-utils.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Pour chaque package:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Pour chaque package:&lt;/div&gt;&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-l27&quot; &gt;Line 27:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;dans OpenWrt ils ont pour chaque target/routeur supportés un répertoire dans build-xxx/$target/ qui contient tous leurs binaires générés pour la plateforme. c'est là aussi qu'ils ont leur ipkg.conf nécessaires à &amp;quot;ipkg install&amp;quot;. Moi je vais tenter de le mettre dans ''build_arm_nofpu/'' tout court...&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;dans OpenWrt ils ont pour chaque target/routeur supportés un répertoire dans build-xxx/$target/ qui contient tous leurs binaires générés pour la plateforme. c'est là aussi qu'ils ont leur ipkg.conf nécessaires à &amp;quot;ipkg install&amp;quot;. Moi je vais tenter de le mettre dans ''build_arm_nofpu/'' tout court...&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;!! Attention ne pas confondre &lt;/del&gt;''&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;ipkg-build&lt;/del&gt;'' &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;qui &lt;/del&gt;génère &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;les paquets &lt;/del&gt;et ''&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;ipkg-install&lt;/del&gt;'&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;' qui permet de les installer dans un rootfs, avant de générer l'image jffs2 par exemple !!&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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 class=&quot;diffchange diffchange-inline&quot;&gt;Pour l&lt;/ins&gt;'&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;instant seul le package Buildroot ipkg &lt;/ins&gt;génère &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;un paquet .ipkg. Il faudrait ajouter la génération de paquet à chaque package &lt;/ins&gt;et &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;donc ça va demander du boulot !!&lt;/ins&gt;'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Dans ''buildroot/toolchain'' il faut rajouter un répertoire ''&lt;/del&gt;ipkg-utils&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;/'' (copie de celui de OpenWrt avec modif du makefile). Cela permet d'installer pour &lt;/del&gt;le Host: &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/del&gt;ipkg-&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;build'', ''ipkg-make-index'' &amp;amp; Co et de construire le fichier ''ipkg&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;conf'' dans ''$(STAGING_DIR)/etc/''&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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 class=&quot;diffchange diffchange-inline&quot;&gt;===&lt;/ins&gt;ipkg-utils&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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 class=&quot;diffchange diffchange-inline&quot;&gt;Pour construire des packages sur &lt;/ins&gt;le Host&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, il faut les ftp&lt;/ins&gt;:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;//ftp.handhelds.org/packages/&lt;/ins&gt;ipkg-&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;utils&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;!! Attention ne pas confondre ''ipkg-build'' qui génère les paquets et ''ipkg-install'' qui permet de les installer dans un rootfs, avant de générer l'image jffs2 par exemple !!&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;à faire: mettre en place &lt;/del&gt;ipkg-&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;build dans le Makefile &lt;/del&gt;pour le &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;package &lt;/del&gt;de &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;test &lt;/del&gt;(&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;ipkg&lt;/del&gt;) &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;-&amp;gt; ok&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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 class=&quot;diffchange diffchange-inline&quot;&gt;Dans ''buildroot/toolchain'' il faut rajouter un répertoire ''&lt;/ins&gt;ipkg-&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;utils/'' (copie de celui de OpenWrt avec modif du makefile). Cela permet d'installer &lt;/ins&gt;pour le &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Host: ''ipkg-build'', ''ipkg-make-index'' &amp;amp; Co et &lt;/ins&gt;de &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;construire le fichier ''$&lt;/ins&gt;(&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;STAGING_DIR&lt;/ins&gt;)&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;/etc/ipkg.conf''.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;faut aussi dans le makefile principal mettre un cd bin/packages &amp;amp;&amp;amp; ../../build_arm_nofpu/staging_dir/usr/bin/ipkg-make-index . &amp;gt; Packages&amp;#160; &amp;#160; ça permet de générer la liste des paquets générés. Ce fichier n'est apparement nécessaire que pour les Serveurs/Feeds.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;faut aussi dans le makefile principal mettre un cd bin/packages &amp;amp;&amp;amp; ../../build_arm_nofpu/staging_dir/usr/bin/ipkg-make-index . &amp;gt; Packages&amp;#160; &amp;#160; ça permet de générer la liste des paquets générés. Ce fichier n'est apparement nécessaire que pour les Serveurs/Feeds.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>JulienB</name></author>	</entry>

	<entry>
		<id>http://www.armadeus.org/wiki/index.php?title=Fr:Integration_ipkg&amp;diff=2714&amp;oldid=prev</id>
		<title>JulienB: /* C'est parti */</title>
		<link rel="alternate" type="text/html" href="http://www.armadeus.org/wiki/index.php?title=Fr:Integration_ipkg&amp;diff=2714&amp;oldid=prev"/>
				<updated>2007-08-09T13:40:21Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;C&amp;#039;est parti&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 13:40, 9 August 2007&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-l8&quot; &gt;Line 8:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 8:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===C'est parti===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===C'est parti===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;à la racine de l'arborescence Buildroot il &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;y a &lt;/del&gt;la version &amp;quot;script&amp;quot; de ipkg qui sera appelée par les makefiles:&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;à la racine de l'arborescence Buildroot il &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;faut &lt;/ins&gt;la version &amp;quot;script&amp;quot; de ipkg qui sera appelée par les makefiles &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;des packages&lt;/ins&gt;:&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;-&amp;gt; création du répertoire ''script/''&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;-&amp;gt; création du répertoire ''script/''&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;-&amp;gt; copie des scripts ''ipkg'' et ''make-ipkg-dir.sh''&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;-&amp;gt; copie des scripts ''ipkg'' et ''make-ipkg-dir.sh'' &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;de OpenWrt&lt;/ins&gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;on ne peut pas utiliser directement le makefile ''package/rules.mk'' de OpenWrt, et donc &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;ça rèle implicite &lt;/del&gt;pour générer les ''.ipkg'', car chez eux, chaque package a un fichier ''Makefile'' dédié qui est appelé indépendamment /récursivement et pas un gros Makefile qui inclue tous les autres comme c'est le cas dans notre Buildroot actuel.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;on ne peut pas utiliser directement le makefile ''package/rules.mk'' de OpenWrt, et donc &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;ses règles implicites &lt;/ins&gt;pour générer les ''.ipkg'', car chez eux, chaque package a un fichier ''Makefile'' dédié qui est appelé indépendamment /récursivement et pas un gros Makefile qui inclue tous les autres comme c'est le cas dans notre Buildroot actuel.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Donc chez nous, dans chaque makefile ''package.mk'', il faut ajouter une nouvelle cible qui génère les fichiers de conf pour ipkg.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Donc chez nous, dans chaque makefile ''package.mk'', il faut ajouter une nouvelle cible qui génère les fichiers de conf pour ipkg.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Pour construire des packages sur le Host, il faut les ftp://ftp.handhelds.org/packages/ipkg-utils &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;Pour construire des packages sur le Host, il faut les ftp://ftp.handhelds.org/packages/ipkg-utils&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Dans &lt;/del&gt;le répertoire de build du package il faut un &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;rep &lt;/del&gt;ipkg/$package/ qui va contenir les exe/libs et les fichiers CONTROL/.. nécessaires à ipkg&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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 class=&quot;diffchange diffchange-inline&quot;&gt;Pour chaque package:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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 class=&quot;diffchange diffchange-inline&quot;&gt;* dans &lt;/ins&gt;le répertoire de build du package &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;(''buildroot/build_arm_nofpu/$package/''), &lt;/ins&gt;il faut un &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;répertoire ''&lt;/ins&gt;ipkg/$package/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'' &lt;/ins&gt;qui va contenir les exe/libs et les fichiers CONTROL/.. nécessaires à &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;ipkg.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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 class=&quot;diffchange diffchange-inline&quot;&gt;* dans ''buildroot/package/$package'' il faut créer un répertoire ''ipkg/'' et mettre dedans un fichier ''package.control'' avec les infos qui vont bien pour &lt;/ins&gt;ipkg&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Pour chaque package dans buidlroot &lt;/del&gt;il faut &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;créer &lt;/del&gt;un répertoire &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;ipkg&lt;/del&gt;/ &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;et mettre dedans &lt;/del&gt;un &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;fichier package.control avec les infos qui vont bien pour ipkg&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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 class=&quot;diffchange diffchange-inline&quot;&gt;A la racine de Buildroot &lt;/ins&gt;il faut un répertoire &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;où l'on peut stocker les packages: par exemple ''bin&lt;/ins&gt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;packages/'' (à créer automatiquement dans &lt;/ins&gt;un &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Makefile ??)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;A la racine de Buildroot &lt;/del&gt;il &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;faut &lt;/del&gt;un répertoire &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;où l&lt;/del&gt;'&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;on peut stocker &lt;/del&gt;les &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;packages: par exemple bin/packages/ &lt;/del&gt;(&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;à créer automatiquement &lt;/del&gt;dans &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;un Makefile ??&lt;/del&gt;)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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 class=&quot;diffchange diffchange-inline&quot;&gt;Pour chaque package, &lt;/ins&gt;il &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;y a donc &lt;/ins&gt;un &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;rep &amp;quot;ipkg/$package&amp;quot; dans le &lt;/ins&gt;répertoire &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;de build et c&lt;/ins&gt;'&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;est là qu'il faut maintenant aussi installer &lt;/ins&gt;les &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;résultats de compile &lt;/ins&gt;(&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;ie en plus de ce qui est fait &lt;/ins&gt;dans &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;$(STAGING_DIR) / $(TARGET_DIR&lt;/ins&gt;)&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Pour &lt;/del&gt;chaque &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;package, il y a donc un rep &amp;quot;ipkg&lt;/del&gt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;$package&amp;quot; dans le &lt;/del&gt;répertoire &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;de &lt;/del&gt;build &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;et &lt;/del&gt;c'est là qu'&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;il faut maintenant aussi installer les résultats &lt;/del&gt;de &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;compile&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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 class=&quot;diffchange diffchange-inline&quot;&gt;dans OpenWrt ils ont pour &lt;/ins&gt;chaque &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;target&lt;/ins&gt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;routeur supportés un &lt;/ins&gt;répertoire &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;dans &lt;/ins&gt;build&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;-xxx/$target/ qui contient tous leurs binaires générés pour la plateforme. &lt;/ins&gt;c'est là &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;aussi &lt;/ins&gt;qu'&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;ils ont leur ipkg.conf nécessaires à &amp;quot;ipkg install&amp;quot;. Moi je vais tenter &lt;/ins&gt;de &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;le mettre dans ''build_arm_nofpu/'' tout court...&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;dans OpenWrt ils ont pour chaque target un rep dans build&lt;/del&gt;-&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;xxx/$target/ &lt;/del&gt;qui &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;contient toutes leurs binaires générés pour la plateforme. c&lt;/del&gt;'&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;est là aussi qu&lt;/del&gt;'&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;ils ont leur ipkg.conf nécessaires à &amp;quot;&lt;/del&gt;ipkg install&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;quot;. Moi je vais tenter &lt;/del&gt;de &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;le mettre &lt;/del&gt;dans &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;build-armnofpu tout court...&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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 class=&quot;diffchange diffchange-inline&quot;&gt;!! Attention ne pas confondre ''ipkg&lt;/ins&gt;-&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;build'' &lt;/ins&gt;qui &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;génère les paquets et &lt;/ins&gt;''ipkg&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;-&lt;/ins&gt;install&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'' qui permet &lt;/ins&gt;de &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;les installer &lt;/ins&gt;dans &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;un rootfs, avant de générer l'image jffs2 par exemple !!&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;attention ne pas confondre ipkg-build qui build les packages et ipkg-install qui les install dans un rootfs avant de générer un jffs2 par exemple..&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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 class=&quot;diffchange diffchange-inline&quot;&gt;Dans ''&lt;/ins&gt;buildroot/toolchain&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'' &lt;/ins&gt;il faut rajouter un &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;répertoire ''&lt;/ins&gt;ipkg-utils/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'' &lt;/ins&gt;(copie de celui de OpenWrt avec modif du makefile)&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;. Cela &lt;/ins&gt;permet &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;d'installer &lt;/ins&gt;pour le &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Host: ''&lt;/ins&gt;ipkg-build&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;ipkg-make-index&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'' &lt;/ins&gt;&amp;amp; Co et de construire le fichier &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;ipkg.conf&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'' &lt;/ins&gt;dans &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;$(STAGING_DIR)/etc/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;dans &lt;/del&gt;buildroot/toolchain il faut rajouter un &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;rep &amp;quot;&lt;/del&gt;ipkg-utils/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;quot; &lt;/del&gt;(copie de celui de OpenWrt avec modif du makefile) &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;ça &lt;/del&gt;permet &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;de recupérer &lt;/del&gt;pour le &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;host &lt;/del&gt;ipkg-build, ipkg-make-index &amp;amp; Co et de construire le fichier ipkg.conf dans $(STAGING_DIR)/etc/&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;à faire: mettre en place ipkg-build dans le Makefile pour le package de test (ipkg) -&amp;gt; ok&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;à faire: mettre en place ipkg-build dans le Makefile pour le package de test (ipkg) -&amp;gt; ok&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;faut aussi dans le makefile principal mettre un cd bin/packages &amp;amp;&amp;amp; ../../build_arm_nofpu/staging_dir/usr/bin/ipkg-make-index . &amp;gt; Packages&amp;#160; &amp;#160; ça permet de générer la liste des &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;packages du système&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;faut aussi dans le makefile principal mettre un cd bin/packages &amp;amp;&amp;amp; ../../build_arm_nofpu/staging_dir/usr/bin/ipkg-make-index . &amp;gt; Packages&amp;#160; &amp;#160; ça permet de générer la liste des &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;paquets générés&lt;/ins&gt;. Ce fichier n'est apparement nécessaire que pour les Serveurs&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;/Feeds.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Ce fichier n'est apparement nécessaire que pour les Serveurs &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;de Feed&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;faudrait définir les variables IPKG_BUILD, etc.. dans un fichier global type package/Makefile.in (là où sont définis les STAGING_DIR &amp;amp; Co...)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;faudrait définir les variables IPKG_BUILD, etc.. dans un fichier global type package/Makefile.in (là où sont définis les STAGING_DIR &amp;amp; Co...)&lt;/div&gt;&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-l41&quot; &gt;Line 41:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 40:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;simplifier la génération du fichier CONTROL/control dans le makefile en mettant une partie générique dans un script ??&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;simplifier la génération du fichier CONTROL/control dans le makefile en mettant une partie générique dans un script ??&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Pour packager les modules Linux, il faut regarder du coté de &amp;quot;target/linux/control/&amp;quot; où il y a un fichier .control par &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;package &lt;/del&gt;module. Ces fichiers &amp;quot;.control&amp;quot; sont utilisés par un makefile: &amp;quot;target/linux/linux-2.4/Makefile&amp;quot; qui inclue un &amp;quot;rule.mk&amp;quot; dans lequel est définie une putain de template KMOD_template qui pour chaque module qui ont été configurés (elle scan le .config à la racine) et bien va builder le package.... la folie... y a aussi dans&amp;#160; &amp;quot;target/linux/linux-2.4/Makefile&amp;quot; la config kernel qui est incluse pour savoir quels modules sont configurés ou pas..&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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 class=&quot;diffchange diffchange-inline&quot;&gt;===Paquets modules noyau===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;Pour packager les modules Linux, il faut regarder du coté de &amp;quot;target/linux/control/&amp;quot; où il y a un fichier .control par &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;paquet &lt;/ins&gt;module. Ces fichiers &amp;quot;.control&amp;quot; sont utilisés par un makefile: &amp;quot;target/linux/linux-2.4/Makefile&amp;quot; qui inclue un &amp;quot;rule.mk&amp;quot; dans lequel est définie une putain de template KMOD_template qui pour chaque module qui ont été configurés (elle scan le .config à la racine) et bien va builder le package.... la folie... y a aussi dans&amp;#160; &amp;quot;target/linux/linux-2.4/Makefile&amp;quot; la config kernel qui est incluse pour savoir quels modules sont configurés ou pas..&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;les fichiers .control dans &amp;quot;target/linux/control/&amp;quot; servent à générer les rep et fichiers dans &amp;quot;build_arm.../linux-24-brcm/linux-modules/ipkg&amp;quot;.&amp;#160; Dans ce rep sont mis les rep CONTROL et les modules dans lib/modules... et après ipkg est lancé par dessus...&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;les fichiers .control dans &amp;quot;target/linux/control/&amp;quot; servent à générer les rep et fichiers dans &amp;quot;build_arm.../linux-24-brcm/linux-modules/ipkg&amp;quot;.&amp;#160; Dans ce rep sont mis les rep CONTROL et les modules dans lib/modules... et après ipkg est lancé par dessus...&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;un truc intéressant aussi dans whiterussian est la présence de etc/modules.d dans chaque package avec un fichier dedans contenant le nom du module à charger... ça permet d'automatiser le chargement des modules au démarrage si le package est installé ou pas.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;un truc intéressant aussi dans whiterussian est la présence de etc/modules.d dans chaque package avec un fichier dedans contenant le nom du module à charger... ça permet d'automatiser le chargement des modules au démarrage si le package est installé ou pas.&lt;/div&gt;&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-l47&quot; &gt;Line 47:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 47:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;du coup:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;du coup:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;création de buildroot/target/device/armadeus/linux/control/*.control comme dans whiteruss/target/linux/control/...&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;création de buildroot/target/device/armadeus/linux/control/*.control comme dans whiteruss/target/linux/control/...&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;les fichiers &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;des &lt;/del&gt;.control contiennent des infos en plus à la fin &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;du fichier &lt;/del&gt;afin de pourvoir utiliser mon script /make-kmod-control.sh qui va parcourir le répertoire et packager les modules qui en ont besoin (en vérifiant le .config du noyau)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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 class=&quot;diffchange diffchange-inline&quot;&gt;Chez nous &lt;/ins&gt;les fichiers &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;.control&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'' &lt;/ins&gt;contiennent des infos en plus à la fin&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;afin de pourvoir utiliser mon script /make-kmod-control.sh qui va parcourir le répertoire et packager les modules qui en ont besoin (en vérifiant le .config du noyau)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>JulienB</name></author>	</entry>

	<entry>
		<id>http://www.armadeus.org/wiki/index.php?title=Fr:Integration_ipkg&amp;diff=2713&amp;oldid=prev</id>
		<title>JulienB: Création de la page</title>
		<link rel="alternate" type="text/html" href="http://www.armadeus.org/wiki/index.php?title=Fr:Integration_ipkg&amp;diff=2713&amp;oldid=prev"/>
				<updated>2007-08-09T13:20:19Z</updated>
		
		<summary type="html">&lt;p&gt;Création de la page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Intégration de IPKG (inspiration libre de OpenWRT / WhiteRussian)=&lt;br /&gt;
&lt;br /&gt;
===Introduction===&lt;br /&gt;
On peut séparer l'ajout de ipkg dans le projet Armadeus en 2 parties:&lt;br /&gt;
* une partie &amp;quot;cible&amp;quot; qui permettra de disposer de la commande ''ipkg'' sur la cible et ainsi de charger des paquets prégénérés depuis notre Feed (=serveur Web de paquets). Cette partie est déjà intégrée dans Buildroot grâce au portage du travail fait dans OpenWRT (=en gros création d'un rep ''ipkg/'' dans ''buildroot/package/'' et adaptation du Makefile)&lt;br /&gt;
* une partie &amp;quot;Host&amp;quot; qui permet à tous de générer des paquets ipkg à partir des packages Buildroot. C'est cette partie qui est la plus &amp;quot;compliquée&amp;quot; et qui est détaillée sur cette page.&lt;br /&gt;
Pour savoir exactement comment marche ipkg, il faut lire: http://handhelds.org/moin/moin.cgi/Ipkg&lt;br /&gt;
&lt;br /&gt;
===C'est parti===&lt;br /&gt;
à la racine de l'arborescence Buildroot il y a la version &amp;quot;script&amp;quot; de ipkg qui sera appelée par les makefiles:&amp;lt;br&amp;gt;&lt;br /&gt;
-&amp;gt; création du répertoire ''script/''&amp;lt;br&amp;gt;&lt;br /&gt;
-&amp;gt; copie des scripts ''ipkg'' et ''make-ipkg-dir.sh''&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
on ne peut pas utiliser directement le makefile ''package/rules.mk'' de OpenWrt, et donc ça rèle implicite pour générer les ''.ipkg'', car chez eux, chaque package a un fichier ''Makefile'' dédié qui est appelé indépendamment /récursivement et pas un gros Makefile qui inclue tous les autres comme c'est le cas dans notre Buildroot actuel.&lt;br /&gt;
Donc chez nous, dans chaque makefile ''package.mk'', il faut ajouter une nouvelle cible qui génère les fichiers de conf pour ipkg.&lt;br /&gt;
&lt;br /&gt;
Pour construire des packages sur le Host, il faut les ftp://ftp.handhelds.org/packages/ipkg-utils &lt;br /&gt;
&lt;br /&gt;
Dans le répertoire de build du package il faut un rep ipkg/$package/ qui va contenir les exe/libs et les fichiers CONTROL/.. nécessaires à ipkg&lt;br /&gt;
&lt;br /&gt;
Pour chaque package dans buidlroot il faut créer un répertoire ipkg/ et mettre dedans un fichier package.control avec les infos qui vont bien pour ipkg&lt;br /&gt;
&lt;br /&gt;
A la racine de Buildroot il faut un répertoire où l'on peut stocker les packages: par exemple bin/packages/ (à créer automatiquement dans un Makefile ??)&lt;br /&gt;
&lt;br /&gt;
Pour chaque package, il y a donc un rep &amp;quot;ipkg/$package&amp;quot; dans le répertoire de build et c'est là qu'il faut maintenant aussi installer les résultats de compile&lt;br /&gt;
&lt;br /&gt;
dans OpenWrt ils ont pour chaque target un rep dans build-xxx/$target/ qui contient toutes leurs binaires générés pour la plateforme. c'est là aussi qu'ils ont leur ipkg.conf nécessaires à &amp;quot;ipkg install&amp;quot;. Moi je vais tenter de le mettre dans build-armnofpu tout court...&lt;br /&gt;
&lt;br /&gt;
attention ne pas confondre ipkg-build qui build les packages et ipkg-install qui les install dans un rootfs avant de générer un jffs2 par exemple..&lt;br /&gt;
&lt;br /&gt;
dans buildroot/toolchain il faut rajouter un rep &amp;quot;ipkg-utils/&amp;quot; (copie de celui de OpenWrt avec modif du makefile) ça permet de recupérer pour le host ipkg-build, ipkg-make-index &amp;amp; Co et de construire le fichier ipkg.conf dans $(STAGING_DIR)/etc/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
à faire: mettre en place ipkg-build dans le Makefile pour le package de test (ipkg) -&amp;gt; ok&lt;br /&gt;
&lt;br /&gt;
faut aussi dans le makefile principal mettre un cd bin/packages &amp;amp;&amp;amp; ../../build_arm_nofpu/staging_dir/usr/bin/ipkg-make-index . &amp;gt; Packages    ça permet de générer la liste des packages du système.&lt;br /&gt;
Ce fichier n'est apparement nécessaire que pour les Serveurs de Feed&lt;br /&gt;
&lt;br /&gt;
faudrait définir les variables IPKG_BUILD, etc.. dans un fichier global type package/Makefile.in (là où sont définis les STAGING_DIR &amp;amp; Co...)&lt;br /&gt;
&lt;br /&gt;
simplifier la génération du fichier CONTROL/control dans le makefile en mettant une partie générique dans un script ??&lt;br /&gt;
&lt;br /&gt;
Pour packager les modules Linux, il faut regarder du coté de &amp;quot;target/linux/control/&amp;quot; où il y a un fichier .control par package module. Ces fichiers &amp;quot;.control&amp;quot; sont utilisés par un makefile: &amp;quot;target/linux/linux-2.4/Makefile&amp;quot; qui inclue un &amp;quot;rule.mk&amp;quot; dans lequel est définie une putain de template KMOD_template qui pour chaque module qui ont été configurés (elle scan le .config à la racine) et bien va builder le package.... la folie... y a aussi dans  &amp;quot;target/linux/linux-2.4/Makefile&amp;quot; la config kernel qui est incluse pour savoir quels modules sont configurés ou pas..&lt;br /&gt;
les fichiers .control dans &amp;quot;target/linux/control/&amp;quot; servent à générer les rep et fichiers dans &amp;quot;build_arm.../linux-24-brcm/linux-modules/ipkg&amp;quot;.  Dans ce rep sont mis les rep CONTROL et les modules dans lib/modules... et après ipkg est lancé par dessus...&lt;br /&gt;
un truc intéressant aussi dans whiterussian est la présence de etc/modules.d dans chaque package avec un fichier dedans contenant le nom du module à charger... ça permet d'automatiser le chargement des modules au démarrage si le package est installé ou pas.&lt;br /&gt;
&lt;br /&gt;
du coup:&lt;br /&gt;
création de buildroot/target/device/armadeus/linux/control/*.control comme dans whiteruss/target/linux/control/...&lt;br /&gt;
les fichiers des .control contiennent des infos en plus à la fin du fichier afin de pourvoir utiliser mon script /make-kmod-control.sh qui va parcourir le répertoire et packager les modules qui en ont besoin (en vérifiant le .config du noyau)&lt;/div&gt;</summary>
		<author><name>JulienB</name></author>	</entry>

	</feed>