1 |
Author: rieggepp |
2 |
Date: Mon Jun 23 08:12:26 2008 |
3 |
New Revision: 118 |
4 |
|
5 |
Added: |
6 |
trunk/tools/rebuild_stages/i386-uclibc/ |
7 |
trunk/tools/rebuild_stages/i386-uclibc/Makefile |
8 |
trunk/tools/rebuild_stages/i386-uclibc/catalyst.conf |
9 |
trunk/tools/rebuild_stages/i386-uclibc/catalystrc |
10 |
Modified: |
11 |
trunk/tools/rebuild_stages/Makefile |
12 |
|
13 |
Log: |
14 |
Changed Makefile to a more modular approach. |
15 |
|
16 |
Modified: trunk/tools/rebuild_stages/Makefile |
17 |
============================================================================== |
18 |
--- trunk/tools/rebuild_stages/Makefile (original) |
19 |
+++ trunk/tools/rebuild_stages/Makefile Mon Jun 23 08:12:26 2008 |
20 |
@@ -1,42 +1,3 @@ |
21 |
-SUBARCH = x86 |
22 |
-VERSION = latest |
23 |
-RELTYPE = default |
24 |
-CHOST = i386-unknown-linux-uclibc |
25 |
-CFLAGS = -Os -pipe |
26 |
-CXXFLAGS = $(CFLAGS) |
27 |
-LDFLAGS = |
28 |
- |
29 |
- |
30 |
-STAGE1_PROFILE = uclibc/x86 |
31 |
-STAGE2_PROFILE = $(STAGE1_PROFILE) |
32 |
-STAGE3_PROFILE = $(STAGE2_PROFILE) |
33 |
- |
34 |
-#STAGE4_PROFILE = $(STAGE3_PROFILE) |
35 |
-#STAGE4_PACKAGES = gnome hardened-sources |
36 |
-#STAGE4_USE = gnome gtk X |
37 |
- |
38 |
-TINDERBOX_PROFILE = $(STAGE3_PROFILE) |
39 |
-TINDERBOX_USE = |
40 |
-TINDERBOX_PACKAGES = vim cups samba ntp apache |
41 |
- |
42 |
-MIRROR_DIR = /home/stoile/public_html/gentoo |
43 |
-PORTAGE_VERSION = $(VERSION) |
44 |
-#STAGE3_TARBALL = ../experimental/x86/embedded/stages/stage3-x86-uclibc-2006.1.tar.bz2 |
45 |
-CATALYST_BIN = /usr/bin/catalyst |
46 |
-CATALYST_CONF = /root/work/catalyst/i386-unknown-linux-uclibc/catalyst.conf |
47 |
- |
48 |
-CATALYST_DIR = /var/tmp/catalyst_i386-unknown-linux-uclibc |
49 |
-PACKAGE_FILE = packages.conf |
50 |
-LIVECD_FILE = livecd.conf |
51 |
-FS_SCRIPT = fsscript |
52 |
-ROOT_OVERLAY = root_overlay |
53 |
- |
54 |
-SEEDSTAGE = seedstage-$(SUBARCH)-$(VERSION).tar.bz2 |
55 |
- |
56 |
-PORTAGE_SNAPSHOT = portage-${PORTAGE_VERSION}.tar.bz2 |
57 |
-PORTAGE_CONFDIR = /root/work/catalyst/i386-unknown-linux-uclibc/portage |
58 |
- |
59 |
- |
60 |
STAGE1_SPEC = stage1.spec |
61 |
STAGE2_SPEC = stage2.spec |
62 |
STAGE3_SPEC = stage3.spec |
63 |
|
64 |
Added: trunk/tools/rebuild_stages/i386-uclibc/Makefile |
65 |
============================================================================== |
66 |
--- (empty file) |
67 |
+++ trunk/tools/rebuild_stages/i386-uclibc/Makefile Mon Jun 23 08:12:26 2008 |
68 |
@@ -0,0 +1,48 @@ |
69 |
+# Basic Configuration |
70 |
+SUBARCH = x86 |
71 |
+VERSION = latest |
72 |
+RELTYPE = default |
73 |
+CHOST = i386-unknown-linux-uclibc |
74 |
+CFLAGS = -Os -pipe |
75 |
+CXXFLAGS = $(CFLAGS) |
76 |
+LDFLAGS = |
77 |
+ |
78 |
+# Profile Configuration |
79 |
+STAGE1_PROFILE = uclibc/x86 |
80 |
+STAGE2_PROFILE = $(STAGE1_PROFILE) |
81 |
+STAGE3_PROFILE = $(STAGE2_PROFILE) |
82 |
+STAGE4_PROFILE = $(STAGE3_PROFILE) |
83 |
+TINDERBOX_PROFILE = $(STAGE3_PROFILE) |
84 |
+ |
85 |
+# Stage4 Configuration |
86 |
+STAGE4_USE = gnome gtk X |
87 |
+STAGE4_PACKAGES = gnome hardened-sources |
88 |
+ |
89 |
+# Tinderbox Configuration |
90 |
+TINDERBOX_USE = |
91 |
+TINDERBOX_PACKAGES = vim cups samba ntp apache |
92 |
+ |
93 |
+# Portage Snapshot Configuration |
94 |
+PORTAGE_VERSION = $(VERSION) |
95 |
+PORTAGE_SNAPSHOT = portage-${PORTAGE_VERSION}.tar.bz2 |
96 |
+ |
97 |
+# Directory Configuration |
98 |
+WORK_DIR = /root/work/catalyst/i386-uclibc |
99 |
+MIRROR_DIR = /home/stoile/public_html/gentoo |
100 |
+ |
101 |
+#STAGE3_TARBALL = releases/experimental/x86/embedded/stages/stage3-x86-uclibc-2006.1.tar.bz2 |
102 |
+CATALYST_BIN = /usr/bin/catalyst |
103 |
+CATALYST_CONF = $(WORK_DIR)/catalyst.conf |
104 |
+ |
105 |
+CATALYST_DIR = /var/tmp/catalyst_i386-uclibc |
106 |
+PACKAGE_FILE = packages.conf |
107 |
+LIVECD_FILE = livecd.conf |
108 |
+FS_SCRIPT = fsscript |
109 |
+ROOT_OVERLAY = root_overlay |
110 |
+ |
111 |
+SEEDSTAGE = seedstage-x86-latest-r2.tar.bz2 |
112 |
+#SEEDSTAGE = stage3-x86-uclibc-2008.0_beta2.tar.bz2 |
113 |
+ |
114 |
+PORTAGE_CONFDIR = $(WORK_DIR)/portage |
115 |
+ |
116 |
+include ../Makefile |
117 |
|
118 |
Added: trunk/tools/rebuild_stages/i386-uclibc/catalyst.conf |
119 |
============================================================================== |
120 |
--- (empty file) |
121 |
+++ trunk/tools/rebuild_stages/i386-uclibc/catalyst.conf Mon Jun 23 |
122 |
08:12:26 2008 |
123 |
@@ -0,0 +1,65 @@ |
124 |
+# /etc/catalyst/catalyst.conf |
125 |
+ |
126 |
+# Simple desriptions of catalyst settings. Please refer to the online |
127 |
+# documentation for more information. |
128 |
+ |
129 |
+# Creates a .DIGESTS file containing the hash output from any of the supported |
130 |
+# options below. Adding them all may take a long time. |
131 |
+# Supported options: sha1, sha224, ripemd128, ripemd320, sha384, crc32, |
132 |
+# ripemd256, sha256, sha512, ripemd160, md5 |
133 |
+digests="md5 sha1" |
134 |
+ |
135 |
+# distdir specifies where your distfiles are located. This setting should |
136 |
+# work fine for most default installations. |
137 |
+distdir="/usr/portage/distfiles" |
138 |
+ |
139 |
+# envscript allows users to set options such as http proxies, MAKEOPTS, |
140 |
+# GENTOO_MIRRORS, or any other environment variables needed for building. |
141 |
+# The envscript file sets environment variables like so: |
142 |
+# export FOO="bar" |
143 |
+envscript="/root/work/catalyst/i386-uclibc/catalystrc" |
144 |
+ |
145 |
+# Internal hash function catalyst should use for things like autoresume, |
146 |
+# seedcache, etc. The default and fastest is crc32. You should not |
147 |
ever need |
148 |
+# to change this unless your OS does not support it. |
149 |
+# Supported options: sha1, sha224, ripemd128, ripemd320, sha384, crc32, |
150 |
+# ripemd256, sha256, sha512, ripemd160, md5 |
151 |
+hash_function="crc32" |
152 |
+ |
153 |
+# options set different build-time options for catalyst. Some examples are: |
154 |
+# autoresume = Attempt to resume a failed build, clear the autoresume |
155 |
flags with |
156 |
+# the -a option to the catalyst cmdline. -p will clear the autoresume flags |
157 |
+# as well as your pkgcache and kerncache |
158 |
+# ( This option is not fully tested, bug reports welcome ) |
159 |
+# ccache = enables build time ccache support (highly recommended) |
160 |
+# distcc = enable distcc support for building. You have to set |
161 |
distcc_hosts in |
162 |
+# your spec file. |
163 |
+# kerncache = keeps a tbz2 of your built kernel and modules (useful if your |
164 |
+# build stops in livecd-stage2) |
165 |
+# pkgcache = keeps a tbz2 of every built package (useful if your build stops |
166 |
+# prematurely) |
167 |
+# seedcache = use the build output of a previous target if it exists |
168 |
to speed up |
169 |
+# the copy |
170 |
+# snapcache = cache the snapshot so that it can be bind-mounted into |
171 |
the chroot. |
172 |
+# WARNING: moving parts of the portage tree from within fsscript |
173 |
*will* break |
174 |
+# your cache. The cache is unlinked before any empty or rm processing, though. |
175 |
+# |
176 |
+# (These options can be used together) |
177 |
+#options="autoresume kerncache pkgcache seedcache snapcache" |
178 |
+options="kerncache pkgcache seedcache snapcache" |
179 |
+ |
180 |
+# portdir specifies the source portage tree used by the snapshot target. |
181 |
+portdir="/usr/portage" |
182 |
+ |
183 |
+# sharedir specifies where all of the catalyst runtime executables |
184 |
are. Most |
185 |
+# users do not need to change this. |
186 |
+sharedir="/usr/lib/catalyst" |
187 |
+ |
188 |
+# snapshot_cache specifies where the snapshots will be cached to if |
189 |
snapcache is |
190 |
+# enabled in the options. |
191 |
+snapshot_cache="/var/tmp/catalyst/snapshot_cache" |
192 |
+ |
193 |
+# storedir specifies where catalyst will store everything that it |
194 |
builds, and |
195 |
+# also where it will put its temporary files and caches. |
196 |
+storedir="/var/tmp/catalyst_i386-uclibc" |
197 |
+ |
198 |
|
199 |
Added: trunk/tools/rebuild_stages/i386-uclibc/catalystrc |
200 |
============================================================================== |
201 |
--- (empty file) |
202 |
+++ trunk/tools/rebuild_stages/i386-uclibc/catalystrc Mon Jun 23 |
203 |
08:12:26 2008 |
204 |
@@ -0,0 +1,7 @@ |
205 |
+#!/bin/bash |
206 |
+# This is an example catalystrc. As such, it doesn't actually *do* anything. |
207 |
+ |
208 |
+# Uncomment the following to increase the number of threads used to compile. |
209 |
+# export MAKEOPTS="-j16" |
210 |
+ |
211 |
+export MAKEOPTS="-j1" |
212 |
-- |
213 |
gnap-dev@l.g.o mailing list |