summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbitbake-dev/bin/bitbake15
-rw-r--r--bitbake-dev/lib/bb/cooker.py72
-rw-r--r--bitbake-dev/lib/bb/runqueue.py2
-rw-r--r--bitbake-dev/lib/bb/taskdata.py3
-rw-r--r--bitbake-dev/lib/bb/ui/depexp.py (renamed from bitbake-dev/lib/bb/ui/depexplorer.py)0
-rwxr-xr-xbitbake/bin/bitbake3
-rw-r--r--bitbake/doc/bitbake.13
-rw-r--r--bitbake/lib/bb/cooker.py8
-rw-r--r--bitbake/lib/bb/runqueue.py4
-rw-r--r--bitbake/lib/bb/taskdata.py3
-rw-r--r--build/conf/local.conf.sample2
-rw-r--r--meta-moblin/classes/moblin.bbclass12
-rw-r--r--meta-moblin/conf/distro/moblin.conf115
-rw-r--r--meta-moblin/packages/images/moblin-image-live.bb4
-rw-r--r--meta-moblin/packages/images/moblin-image-live.inc4
-rw-r--r--meta-moblin/packages/images/moblin-image-minimal-initramfs.bb6
-rw-r--r--meta-moblin/packages/images/moblin-image-minimal-live.bb4
-rw-r--r--meta-moblin/packages/images/moblin-image-minimal.bb12
-rw-r--r--meta-moblin/packages/images/moblin-image-netbook-install.bb13
-rw-r--r--meta-moblin/packages/images/moblin-image-netbook-live.bb13
-rw-r--r--meta-moblin/packages/images/moblin-image-netbook.bb2
-rw-r--r--meta-moblin/packages/images/moblin-image-sato-live.bb9
-rw-r--r--meta-moblin/packages/images/moblin-image-sato.bb7
-rw-r--r--meta-moblin/packages/images/moblin-image-sdk-live.bb4
-rw-r--r--meta-moblin/packages/images/moblin-image-sdk.bb2
-rw-r--r--meta-moblin/packages/images/poky-image-live.bb9
-rw-r--r--meta-moblin/packages/images/poky-image-live.inc18
-rw-r--r--meta-moblin/packages/images/poky-image-minimal-initramfs.bb8
-rw-r--r--meta-moblin/packages/images/poky-image-minimal-live.bb9
-rw-r--r--meta-moblin/packages/images/poky-image-netbook.bb7
-rw-r--r--meta-moblin/packages/images/poky-image-sato-live.bb9
-rw-r--r--meta-moblin/packages/tasks/task-moblin-apps-x11-pimlico.bb2
-rw-r--r--meta-moblin/packages/tasks/task-moblin-boot.bb2
-rw-r--r--meta-moblin/packages/tasks/task-moblin-sdk.bb2
-rw-r--r--meta-moblin/packages/tasks/task-moblin-standalone-sdk-target.bb6
-rw-r--r--meta-moblin/packages/tasks/task-moblin-tools-bb58
-rw-r--r--meta-moblin/packages/tasks/task-moblin-tools.bb (renamed from meta-moblin/packages/tasks/tasks-moblin-tools.bb)11
-rw-r--r--meta-moblin/packages/tasks/task-moblin-x11-netbook.bb4
-rw-r--r--meta-moblin/packages/tasks/task-moblin-x11-sato.bb29
-rw-r--r--meta-moblin/packages/tasks/task-moblin.bb2
-rw-r--r--meta/classes/image.bbclass2
-rw-r--r--meta/classes/kernel.bbclass4
-rw-r--r--meta/classes/package_rpm.bbclass2
-rw-r--r--meta/conf/distro/include/as-needed.inc14
-rw-r--r--meta/conf/distro/include/poky-eabi.inc15
-rw-r--r--meta/conf/distro/include/poky-fixed-revisions.inc2
-rw-r--r--meta/conf/distro/include/poky-moblin.inc26
-rw-r--r--meta/conf/distro/include/world-broken.inc36
-rw-r--r--meta/conf/distro/poky.conf30
-rw-r--r--meta/packages/gtk+/gtk+.inc1
-rw-r--r--meta/packages/helix/helix-libs.bb2
-rw-r--r--meta/packages/helix/ribosome.bb2
-rw-r--r--meta/packages/images/poky-image-netbook-install.bb9
-rw-r--r--meta/packages/images/poky-image-netbook-live.bb9
-rw-r--r--meta/packages/images/poky-image-netbook.bb7
-rw-r--r--meta/packages/images/poky-image-sdk-live.bb (renamed from meta-moblin/packages/images/poky-image-sdk-live.bb)0
-rwxr-xr-xscripts/poky-env-internal4
57 files changed, 368 insertions, 295 deletions
diff --git a/bitbake-dev/bin/bitbake b/bitbake-dev/bin/bitbake
index d85135a117..920877e4d8 100755
--- a/bitbake-dev/bin/bitbake
+++ b/bitbake-dev/bin/bitbake
@@ -69,6 +69,9 @@ Default BBFILES are the .bb files in the current directory.""" )
69 parser.add_option( "-k", "--continue", help = "continue as much as possible after an error. While the target that failed, and those that depend on it, cannot be remade, the other dependencies of these targets can be processed all the same.", 69 parser.add_option( "-k", "--continue", help = "continue as much as possible after an error. While the target that failed, and those that depend on it, cannot be remade, the other dependencies of these targets can be processed all the same.",
70 action = "store_false", dest = "abort", default = True ) 70 action = "store_false", dest = "abort", default = True )
71 71
72 parser.add_option( "-a", "--tryaltconfigs", help = "continue with builds by trying to use alternative providers where possible.",
73 action = "store_true", dest = "tryaltconfigs", default = False )
74
72 parser.add_option( "-f", "--force", help = "force run of specified cmd, regardless of stamp status", 75 parser.add_option( "-f", "--force", help = "force run of specified cmd, regardless of stamp status",
73 action = "store_true", dest = "force", default = False ) 76 action = "store_true", dest = "force", default = False )
74 77
@@ -130,17 +133,13 @@ Default BBFILES are the .bb files in the current directory.""" )
130 # of the UIs (e.g. for DISPLAY, etc.) 133 # of the UIs (e.g. for DISPLAY, etc.)
131 bb.utils.clean_environment() 134 bb.utils.clean_environment()
132 135
133 cooker.parseConfiguration() 136 cooker.parseCommandLine()
134 host = cooker.server.host 137 host = cooker.server.host
135 port = cooker.server.port 138 port = cooker.server.port
136 139
137 # Save a logfile for cooker somewhere 140 # Save a logfile for cooker into the current working directory. When the
138 t = bb.data.getVar('TMPDIR', cooker.configuration.data, True) 141 # server is daemonized this logfile will be truncated.
139 if not t: 142 cooker_logfile = os.path.join (os.getcwd(), "cooker.log")
140 bb.msg.fatal(bb.msg.domain.Build, "TMPDIR not set")
141 t = os.path.join(t, "cooker")
142 bb.mkdirhier(t)
143 cooker_logfile = "%s/log.cooker.%s" % (t, str(os.getpid()))
144 143
145 daemonize.createDaemon(cooker.serve, cooker_logfile) 144 daemonize.createDaemon(cooker.serve, cooker_logfile)
146 del cooker 145 del cooker
diff --git a/bitbake-dev/lib/bb/cooker.py b/bitbake-dev/lib/bb/cooker.py
index c9afadbc97..ead76ca6ba 100644
--- a/bitbake-dev/lib/bb/cooker.py
+++ b/bitbake-dev/lib/bb/cooker.py
@@ -86,10 +86,31 @@ class BBCooker:
86 86
87 self.configuration.data = bb.data.init() 87 self.configuration.data = bb.data.init()
88 88
89 def parseConfiguration(self):
90
91 bb.data.inheritFromOS(self.configuration.data) 89 bb.data.inheritFromOS(self.configuration.data)
92 90
91 # TOSTOP must not be set or our children will hang when they output
92 fd = sys.stdout.fileno()
93 if os.isatty(fd):
94 import termios
95 tcattr = termios.tcgetattr(fd)
96 if tcattr[3] & termios.TOSTOP:
97 bb.msg.note(1, bb.msg.domain.Build, "The terminal had the TOSTOP bit set, clearing...")
98 tcattr[3] = tcattr[3] & ~termios.TOSTOP
99 termios.tcsetattr(fd, termios.TCSANOW, tcattr)
100
101 self.command = bb.command.Command(self)
102 self.cookerIdle = True
103 self.cookerState = cookerClean
104 self.cookerAction = cookerRun
105 self.server.register_idle_function(self.runCommands, self)
106
107 def parseConfiguration(self):
108 #
109 # Special updated configuration we use for firing events
110 #
111 self.configuration.event_data = bb.data.createCopy(self.configuration.data)
112 bb.data.update_data(self.configuration.event_data)
113
93 for f in self.configuration.file: 114 for f in self.configuration.file:
94 self.parseConfigurationFile( f ) 115 self.parseConfigurationFile( f )
95 116
@@ -102,29 +123,14 @@ class BBCooker:
102 if bbpkgs: 123 if bbpkgs:
103 self.configuration.pkgs_to_build.extend(bbpkgs.split()) 124 self.configuration.pkgs_to_build.extend(bbpkgs.split())
104 125
105 #
106 # Special updated configuration we use for firing events
107 #
108 self.configuration.event_data = bb.data.createCopy(self.configuration.data)
109 bb.data.update_data(self.configuration.event_data)
110
111 # TOSTOP must not be set or our children will hang when they output
112 fd = sys.stdout.fileno()
113 if os.isatty(fd):
114 import termios
115 tcattr = termios.tcgetattr(fd)
116 if tcattr[3] & termios.TOSTOP:
117 bb.msg.note(1, bb.msg.domain.Build, "The terminal had the TOSTOP bit set, clearing...")
118 tcattr[3] = tcattr[3] & ~termios.TOSTOP
119 termios.tcsetattr(fd, termios.TCSANOW, tcattr)
120
121 # Change nice level if we're asked to 126 # Change nice level if we're asked to
122 nice = bb.data.getVar("BB_NICE_LEVEL", self.configuration.data, True) 127 nice = bb.data.getVar("BB_NICE_LEVEL", self.configuration.data, True)
123 if nice: 128 if nice:
124 curnice = os.nice(0) 129 curnice = os.nice(0)
125 nice = int(nice) - curnice 130 nice = int(nice) - curnice
126 bb.msg.note(2, bb.msg.domain.Build, "Renice to %s " % os.nice(nice)) 131 bb.msg.note(2, bb.msg.domain.Build, "Renice to %s " % os.nice(nice))
127 132
133 def parseCommandLine(self):
128 # Parse any commandline into actions 134 # Parse any commandline into actions
129 if self.configuration.show_environment: 135 if self.configuration.show_environment:
130 self.commandlineAction = None 136 self.commandlineAction = None
@@ -156,17 +162,6 @@ class BBCooker:
156 self.commandlineAction = None 162 self.commandlineAction = None
157 bb.error("Nothing to do. Use 'bitbake world' to build everything, or run 'bitbake --help' for usage information.") 163 bb.error("Nothing to do. Use 'bitbake world' to build everything, or run 'bitbake --help' for usage information.")
158 164
159 # FIXME - implement
160 #if self.configuration.interactive:
161 # self.interactiveMode()
162
163 self.command = bb.command.Command(self)
164 self.cookerIdle = True
165 self.cookerState = cookerClean
166 self.cookerAction = cookerRun
167 self.server.register_idle_function(self.runCommands, self)
168
169
170 def runCommands(self, server, data, abort): 165 def runCommands(self, server, data, abort):
171 """ 166 """
172 Run any queued asynchronous command 167 Run any queued asynchronous command
@@ -310,6 +305,10 @@ class BBCooker:
310 # Need files parsed 305 # Need files parsed
311 self.updateCache() 306 self.updateCache()
312 307
308 # If we are told to do the None task then query the default task
309 if (task == None):
310 task = self.configuration.cmd
311
313 pkgs_to_build = self.checkPackages(pkgs_to_build) 312 pkgs_to_build = self.checkPackages(pkgs_to_build)
314 313
315 localdata = data.createCopy(self.configuration.data) 314 localdata = data.createCopy(self.configuration.data)
@@ -615,6 +614,14 @@ class BBCooker:
615 Build the file matching regexp buildfile 614 Build the file matching regexp buildfile
616 """ 615 """
617 616
617 # Parse the configuration here. We need to do it explicitly here since
618 # buildFile() doesn't use the cache
619 self.parseConfiguration()
620
621 # If we are told to do the None task then query the default task
622 if (task == None):
623 task = self.configuration.cmd
624
618 fn = self.matchFile(buildfile) 625 fn = self.matchFile(buildfile)
619 self.buildSetVars() 626 self.buildSetVars()
620 627
@@ -685,6 +692,10 @@ class BBCooker:
685 # Need files parsed 692 # Need files parsed
686 self.updateCache() 693 self.updateCache()
687 694
695 # If we are told to do the NULL task then query the default task
696 if (task == None):
697 task = self.configuration.cmd
698
688 targets = self.checkPackages(targets) 699 targets = self.checkPackages(targets)
689 700
690 def buildTargetsIdle(server, rq, abort): 701 def buildTargetsIdle(server, rq, abort):
@@ -731,6 +742,7 @@ class BBCooker:
731 742
732 def updateCache(self): 743 def updateCache(self):
733 744
745 self.parseConfiguration ()
734 if self.cookerState == cookerParsed: 746 if self.cookerState == cookerParsed:
735 return 747 return
736 748
diff --git a/bitbake-dev/lib/bb/runqueue.py b/bitbake-dev/lib/bb/runqueue.py
index 1c911ef0c8..01452d2f33 100644
--- a/bitbake-dev/lib/bb/runqueue.py
+++ b/bitbake-dev/lib/bb/runqueue.py
@@ -869,7 +869,7 @@ class RunQueue:
869 self.finish_runqueue() 869 self.finish_runqueue()
870 870
871 if self.state is runQueueFailed: 871 if self.state is runQueueFailed:
872 if self.taskData.abort: 872 if not self.taskData.tryaltconfigs:
873 raise bb.runqueue.TaskFailure(self.failed_fnids) 873 raise bb.runqueue.TaskFailure(self.failed_fnids)
874 for fnid in self.failed_fnids: 874 for fnid in self.failed_fnids:
875 self.taskData.fail_fnid(fnid) 875 self.taskData.fail_fnid(fnid)
diff --git a/bitbake-dev/lib/bb/taskdata.py b/bitbake-dev/lib/bb/taskdata.py
index 566614ee63..782dfb0b78 100644
--- a/bitbake-dev/lib/bb/taskdata.py
+++ b/bitbake-dev/lib/bb/taskdata.py
@@ -30,7 +30,7 @@ class TaskData:
30 """ 30 """
31 BitBake Task Data implementation 31 BitBake Task Data implementation
32 """ 32 """
33 def __init__(self, abort = True): 33 def __init__(self, abort = True, tryaltconfigs = False):
34 self.build_names_index = [] 34 self.build_names_index = []
35 self.run_names_index = [] 35 self.run_names_index = []
36 self.fn_index = [] 36 self.fn_index = []
@@ -57,6 +57,7 @@ class TaskData:
57 self.failed_fnids = [] 57 self.failed_fnids = []
58 58
59 self.abort = abort 59 self.abort = abort
60 self.tryaltconfigs = tryaltconfigs
60 61
61 def getbuild_id(self, name): 62 def getbuild_id(self, name):
62 """ 63 """
diff --git a/bitbake-dev/lib/bb/ui/depexplorer.py b/bitbake-dev/lib/bb/ui/depexp.py
index 9d92fa0a08..9d92fa0a08 100644
--- a/bitbake-dev/lib/bb/ui/depexplorer.py
+++ b/bitbake-dev/lib/bb/ui/depexp.py
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake
index 9a9b6d3bc6..6a69e340f1 100755
--- a/bitbake/bin/bitbake
+++ b/bitbake/bin/bitbake
@@ -60,6 +60,9 @@ Default BBFILES are the .bb files in the current directory.""" )
60 parser.add_option( "-k", "--continue", help = "continue as much as possible after an error. While the target that failed, and those that depend on it, cannot be remade, the other dependencies of these targets can be processed all the same.", 60 parser.add_option( "-k", "--continue", help = "continue as much as possible after an error. While the target that failed, and those that depend on it, cannot be remade, the other dependencies of these targets can be processed all the same.",
61 action = "store_false", dest = "abort", default = True ) 61 action = "store_false", dest = "abort", default = True )
62 62
63 parser.add_option( "-a", "--tryaltconfigs", help = "continue with builds by trying to use alternative providers where possible.",
64 action = "store_true", dest = "tryaltconfigs", default = False )
65
63 parser.add_option( "-f", "--force", help = "force run of specified cmd, regardless of stamp status", 66 parser.add_option( "-f", "--force", help = "force run of specified cmd, regardless of stamp status",
64 action = "store_true", dest = "force", default = False ) 67 action = "store_true", dest = "force", default = False )
65 68
diff --git a/bitbake/doc/bitbake.1 b/bitbake/doc/bitbake.1
index 01172d7412..e687f0a42a 100644
--- a/bitbake/doc/bitbake.1
+++ b/bitbake/doc/bitbake.1
@@ -54,6 +54,9 @@ continue as much as possible after an error. While the target that failed, and
54those that depend on it, cannot be remade, the other dependencies of these 54those that depend on it, cannot be remade, the other dependencies of these
55targets can be processed all the same. 55targets can be processed all the same.
56.TP 56.TP
57.B \-a, \-\-tryaltconfigs
58continue with builds by trying to use alternative providers where possible.
59.TP
57.B \-f, \-\-force 60.B \-f, \-\-force
58force run of specified cmd, regardless of stamp status 61force run of specified cmd, regardless of stamp status
59.TP 62.TP
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 7477ee6c6f..c5d640da80 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -194,7 +194,7 @@ class BBCooker:
194 bb.data.update_data(localdata) 194 bb.data.update_data(localdata)
195 bb.data.expandKeys(localdata) 195 bb.data.expandKeys(localdata)
196 196
197 taskdata = bb.taskdata.TaskData(self.configuration.abort) 197 taskdata = bb.taskdata.TaskData(self.configuration.abort, self.configuration.tryaltconfigs)
198 198
199 try: 199 try:
200 taskdata.add_provider(localdata, self.status, pkgs_to_build[0]) 200 taskdata.add_provider(localdata, self.status, pkgs_to_build[0])
@@ -243,7 +243,7 @@ class BBCooker:
243 localdata = data.createCopy(self.configuration.data) 243 localdata = data.createCopy(self.configuration.data)
244 bb.data.update_data(localdata) 244 bb.data.update_data(localdata)
245 bb.data.expandKeys(localdata) 245 bb.data.expandKeys(localdata)
246 taskdata = bb.taskdata.TaskData(self.configuration.abort) 246 taskdata = bb.taskdata.TaskData(self.configuration.abort, self.configuration.tryaltconfigs)
247 247
248 runlist = [] 248 runlist = []
249 try: 249 try:
@@ -500,7 +500,7 @@ class BBCooker:
500 bb.build.del_stamp('do_%s' % self.configuration.cmd, self.configuration.data) 500 bb.build.del_stamp('do_%s' % self.configuration.cmd, self.configuration.data)
501 501
502 # Setup taskdata structure 502 # Setup taskdata structure
503 taskdata = bb.taskdata.TaskData(self.configuration.abort) 503 taskdata = bb.taskdata.TaskData(self.configuration.abort, self.configuration.tryaltconfigs)
504 taskdata.add_provider(self.configuration.data, self.status, item) 504 taskdata.add_provider(self.configuration.data, self.status, item)
505 505
506 buildname = bb.data.getVar("BUILDNAME", self.configuration.data) 506 buildname = bb.data.getVar("BUILDNAME", self.configuration.data)
@@ -534,7 +534,7 @@ class BBCooker:
534 bb.data.update_data(localdata) 534 bb.data.update_data(localdata)
535 bb.data.expandKeys(localdata) 535 bb.data.expandKeys(localdata)
536 536
537 taskdata = bb.taskdata.TaskData(self.configuration.abort) 537 taskdata = bb.taskdata.TaskData(self.configuration.abort, self.configuration.tryaltconfigs)
538 538
539 runlist = [] 539 runlist = []
540 try: 540 try:
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 62bd10ae24..2df51de75a 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -845,7 +845,7 @@ class RunQueue:
845 failed_fnids = self.finish_runqueue() 845 failed_fnids = self.finish_runqueue()
846 if len(failed_fnids) == 0: 846 if len(failed_fnids) == 0:
847 return failures 847 return failures
848 if self.taskData.abort: 848 if not self.taskData.tryaltconfigs:
849 raise bb.runqueue.TaskFailure(failed_fnids) 849 raise bb.runqueue.TaskFailure(failed_fnids)
850 for fnid in failed_fnids: 850 for fnid in failed_fnids:
851 #print "Failure: %s %s %s" % (fnid, self.taskData.fn_index[fnid], self.runq_task[fnid]) 851 #print "Failure: %s %s %s" % (fnid, self.taskData.fn_index[fnid], self.runq_task[fnid])
@@ -970,6 +970,8 @@ class RunQueue:
970 bb.msg.error(bb.msg.domain.RunQueue, "Task %s (%s) failed" % (task, self.get_user_idstring(task))) 970 bb.msg.error(bb.msg.domain.RunQueue, "Task %s (%s) failed" % (task, self.get_user_idstring(task)))
971 self.failed_fnids.append(self.runq_fnid[task]) 971 self.failed_fnids.append(self.runq_fnid[task])
972 self.stats.taskFailed() 972 self.stats.taskFailed()
973 if not self.taskData.abort:
974 continue
973 break 975 break
974 self.task_complete(task) 976 self.task_complete(task)
975 self.stats.taskCompleted() 977 self.stats.taskCompleted()
diff --git a/bitbake/lib/bb/taskdata.py b/bitbake/lib/bb/taskdata.py
index 566614ee63..782dfb0b78 100644
--- a/bitbake/lib/bb/taskdata.py
+++ b/bitbake/lib/bb/taskdata.py
@@ -30,7 +30,7 @@ class TaskData:
30 """ 30 """
31 BitBake Task Data implementation 31 BitBake Task Data implementation
32 """ 32 """
33 def __init__(self, abort = True): 33 def __init__(self, abort = True, tryaltconfigs = False):
34 self.build_names_index = [] 34 self.build_names_index = []
35 self.run_names_index = [] 35 self.run_names_index = []
36 self.fn_index = [] 36 self.fn_index = []
@@ -57,6 +57,7 @@ class TaskData:
57 self.failed_fnids = [] 57 self.failed_fnids = []
58 58
59 self.abort = abort 59 self.abort = abort
60 self.tryaltconfigs = tryaltconfigs
60 61
61 def getbuild_id(self, name): 62 def getbuild_id(self, name):
62 """ 63 """
diff --git a/build/conf/local.conf.sample b/build/conf/local.conf.sample
index 478dac9ad0..3e27b2244e 100644
--- a/build/conf/local.conf.sample
+++ b/build/conf/local.conf.sample
@@ -1,6 +1,6 @@
1# Where to cache the files Poky downloads 1# Where to cache the files Poky downloads
2DL_DIR ?= "${OEROOT}/sources" 2DL_DIR ?= "${OEROOT}/sources"
3BBFILES = "\ 3BBFILES += "\
4 ${OEROOT}/meta/packages/*/*.bb \ 4 ${OEROOT}/meta/packages/*/*.bb \
5 ${OEROOT}/meta-moblin/packages/*/*.bb" 5 ${OEROOT}/meta-moblin/packages/*/*.bb"
6 6
diff --git a/meta-moblin/classes/moblin.bbclass b/meta-moblin/classes/moblin.bbclass
new file mode 100644
index 0000000000..aac6957583
--- /dev/null
+++ b/meta-moblin/classes/moblin.bbclass
@@ -0,0 +1,12 @@
1
2PREMIRRORS_append () {
3ftp://.*/.* http://pokylinux.org/sources/
4http://.*/.* http://pokylinux.org/sources/
5https://.*/.* http://pokylinux.org/sources/
6}
7
8MIRRORS_append () {
9ftp://.*/.* http://pokylinux.org/sources/
10http://.*/.* http://pokylinux.org/sources/
11https://.*/.* http://pokylinux.org/sources/
12}
diff --git a/meta-moblin/conf/distro/moblin.conf b/meta-moblin/conf/distro/moblin.conf
new file mode 100644
index 0000000000..20d96cc2a6
--- /dev/null
+++ b/meta-moblin/conf/distro/moblin.conf
@@ -0,0 +1,115 @@
1DISTRO = "moblin"
2DISTRO_NAME = "Moblin (Poky Powered)"
3DISTRO_VERSION = "1.99+snapshot-${DATE}"
4
5MAINTAINER = "Moblin <dev@lists.moblin.org>"
6
7PACKAGE_CLASSES ?= "package_rpm"
8INHERIT_INSANE ?= "insane"
9INHERIT += "${PACKAGE_CLASSES} debian moblin devshell ${INHERIT_INSANE} packaged-staging"
10
11# For some reason, this doesn't work
12# TARGET_OS ?= "linux"
13# TARGET_VENDOR ?= "-poky"
14# Set by POKYMODE instead
15TARGET_OS = "linux"
16
17QA_LOGFILE = "${TMPDIR}/qa.log"
18
19IMAGE_ROOTFS_SIZE_ext2 ?= "131072"
20
21# Metadata is git based
22#METADATA_REVISION = "${@base_get_metadata_git_revision(d)}"
23#FIXME
24METADATA_REVISION = "unknown"
25
26#IPK_FEED_URIS += " \
27# upgrades##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/upgrades/ \
28#upgrades-${MACHINE}##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/upgrades/${MACHINE} \
29# machine##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/machine/${MACHINE} \
30# base##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/base/ \
31# libs##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/libs/ \
32# console##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/console \
33# devel##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/devel"
34
35#RPM_FEED_URIS += " \
36# upgrades##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/upgrades/ \
37#upgrades-${MACHINE}##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/upgrades/${MACHINE} \
38# machine##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/machine/${MACHINE} \
39# base##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/base/ \
40# libs##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/libs/ \
41# console##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/console \
42# devel##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/devel"
43
44OEINCLUDELOGS = "yes"
45KERNEL_CONSOLE = "ttyS0"
46#DEBUG_OPTIMIZATION = "-O -g3"
47#DEBUG_BUILD = "1"
48#INHIBIT_PACKAGE_STRIP = "1"
49
50# Default to TARGETOS values for EABI
51GLIBCTARGETOS = "linux${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb']]}"
52UCLIBCTARGETOS = "linux${@['-uclibc','-uclibcgnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb']]}"
53
54POKYMODE ?= "moblin"
55require conf/distro/include/poky-${POKYMODE}.inc
56
57POKYLIBC ?= "glibc"
58require conf/distro/include/poky-${POKYLIBC}.inc
59
60SDK_NAME = "${DISTRO}-${POKYMODE}-${POKYLIBC}-${HOST_ARCH}-${TARGET_ARCH}"
61SDK_PREFIX = "/usr/local/${DISTRO}/${POKYMODE}-${POKYLIBC}/${TARGET_ARCH}"
62
63CACHE = "${TMPDIR}/cache/${POKYMODE}-${POKYLIBC}${@['', '/' + str(bb.data.getVar('MACHINE', d, 1))][bool(bb.data.getVar('MACHINE', d, 1))]}"
64
65#
66# Preferred providers:
67#
68
69# Virtuals:
70PREFERRED_PROVIDER_virtual/db ?= "db"
71PREFERRED_PROVIDER_virtual/db-native ?= "db-native"
72PREFERRED_PROVIDER_virtual/xserver ?= "xserver-kdrive"
73PREFERRED_PROVIDER_virtual/xserver-xf86 ?= "xserver-xf86-dri-lite"
74PREFERRED_PROVIDER_virtual/libgl ?= "mesa-xlib"
75PREFERRED_PROVIDER_virtual/update-alternatives ?= "update-alternatives-cworth"
76PREFERRED_PROVIDER_virtual/update-alternatives-native ?= "opkg-native"
77PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-diet"
78PREFERRED_PROVIDER_xf86-video-intel ?= xf86-video-intel
79
80VIRTUAL-RUNTIME_update-alternatives ?= "update-alternatives-cworth"
81
82# Others:
83PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers"
84PREFERRED_PROVIDER_dbus-glib ?= "dbus-glib"
85PREFERRED_PROVIDER_dbus-glib-native ?= "dbus-glib-native"
86PREFERRED_PROVIDER_gconf ?= "gconf-dbus"
87PREFERRED_PROVIDER_matchbox-panel ?= "matchbox-panel-2"
88PREFERRED_PROVIDER_opkg ?= "opkg"
89
90require conf/distro/include/poky-fixed-revisions.inc
91require conf/distro/include/preferred-xorg-versions.inc
92
93PCMCIA_MANAGER ?= "pcmciautils"
94
95CVS_TARBALL_STASH += "http://www.o-hand.com/~richard/poky/sources/"
96
97IMAGE_LINGUAS ?= "en-gb"
98LIMIT_BUILT_LOCALES ?= "en_GB"
99ENABLE_BINARY_LOCALE_GENERATION ?= "1"
100LOCALE_UTF8_ONLY = "1"
101
102DISTRO_FEATURES = "alsa bluetooth ext2 irda pcmcia usbgadget usbhost wifi nfs zeroconf pci"
103
104POKY_EXTRA_RDEPENDS = ""
105POKY_EXTRA_RDEPENDS_qemuarm = "qemu-config"
106POKY_EXTRA_RDEPENDS_qemuarmv6 = "qemu-config"
107POKY_EXTRA_RDEPENDS_qemuarmv7 = "qemu-config"
108POKY_EXTRA_RDEPENDS_qemux86 = "qemu-config"
109
110DISTRO_EXTRA_RDEPENDS += "${POKY_EXTRA_RDEPENDS}"
111DISTRO_EXTRA_RRECOMMENDS += "kernel-module-af-packet"
112
113IMAGE_FEATURES ?= ""
114
115require conf/distro/include/world-broken.inc
diff --git a/meta-moblin/packages/images/moblin-image-live.bb b/meta-moblin/packages/images/moblin-image-live.bb
index ff12fd4074..3fcfda7279 100644
--- a/meta-moblin/packages/images/moblin-image-live.bb
+++ b/meta-moblin/packages/images/moblin-image-live.bb
@@ -1,3 +1,7 @@
1#
2# Copyright (C) 2008 Intel Corporation.
3#
4
1DESCRIPTION = "Netbook Bootable Live Image" 5DESCRIPTION = "Netbook Bootable Live Image"
2 6
3require moblin-image-live.inc 7require moblin-image-live.inc
diff --git a/meta-moblin/packages/images/moblin-image-live.inc b/meta-moblin/packages/images/moblin-image-live.inc
index 2dd9a8917f..0f401091c1 100644
--- a/meta-moblin/packages/images/moblin-image-live.inc
+++ b/meta-moblin/packages/images/moblin-image-live.inc
@@ -1,3 +1,7 @@
1#
2# Copyright (C) 2008 Intel Corporation.
3#
4
1AUTO_SYSLINUXCFG = "1" 5AUTO_SYSLINUXCFG = "1"
2INITRD = "${DEPLOY_DIR_IMAGE}/moblin-image-minimal-initramfs-${MACHINE}.cpio.gz" 6INITRD = "${DEPLOY_DIR_IMAGE}/moblin-image-minimal-initramfs-${MACHINE}.cpio.gz"
3APPEND += "root=/dev/ram0 " 7APPEND += "root=/dev/ram0 "
diff --git a/meta-moblin/packages/images/moblin-image-minimal-initramfs.bb b/meta-moblin/packages/images/moblin-image-minimal-initramfs.bb
index 1626a40678..7331eff150 100644
--- a/meta-moblin/packages/images/moblin-image-minimal-initramfs.bb
+++ b/meta-moblin/packages/images/moblin-image-minimal-initramfs.bb
@@ -1,4 +1,8 @@
1# Simple initramfs image. Mostly used for live images. 1#
2# Copyright (C) 2008 Intel Corporation.
3#
4
5DESCRIPTION = "Simple initramfs image. Mostly used for live images."
2 6
3IMAGE_INSTALL = "initramfs-live-boot initramfs-live-install busybox udev" 7IMAGE_INSTALL = "initramfs-live-boot initramfs-live-install busybox udev"
4 8
diff --git a/meta-moblin/packages/images/moblin-image-minimal-live.bb b/meta-moblin/packages/images/moblin-image-minimal-live.bb
index 83dab3ecc3..b2c8ff60d2 100644
--- a/meta-moblin/packages/images/moblin-image-minimal-live.bb
+++ b/meta-moblin/packages/images/moblin-image-minimal-live.bb
@@ -1,3 +1,7 @@
1#
2# Copyright (C) 2008 Intel Corporation.
3#
4
1DESCRIPTION = "Minimal Bootable Live Image" 5DESCRIPTION = "Minimal Bootable Live Image"
2 6
3require moblin-image-live.inc 7require moblin-image-live.inc
diff --git a/meta-moblin/packages/images/moblin-image-minimal.bb b/meta-moblin/packages/images/moblin-image-minimal.bb
new file mode 100644
index 0000000000..3178fff07f
--- /dev/null
+++ b/meta-moblin/packages/images/moblin-image-minimal.bb
@@ -0,0 +1,12 @@
1#
2# Copyright (C) 2008 Intel Corporation.
3#
4
5IMAGE_INSTALL = "task-moblin-boot ${ROOTFS_PKGMANAGE}"
6
7IMAGE_LINGUAS = " "
8
9inherit moblin-image
10
11# remove not needed ipkg informations
12ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_files"
diff --git a/meta-moblin/packages/images/moblin-image-netbook-install.bb b/meta-moblin/packages/images/moblin-image-netbook-install.bb
new file mode 100644
index 0000000000..184a33cb65
--- /dev/null
+++ b/meta-moblin/packages/images/moblin-image-netbook-install.bb
@@ -0,0 +1,13 @@
1#
2# Copyright (C) 2008 Intel Corporation.
3#
4
5DESCRIPTION = "Netbook Bootable Live Image"
6
7require moblin-image-live.inc
8
9LABELS += "install"
10
11ROOTFS = "${DEPLOY_DIR_IMAGE}/moblin-image-netbook-${MACHINE}.ext3"
12
13do_bootimg[depends] += "moblin-image-netbook:do_rootfs"
diff --git a/meta-moblin/packages/images/moblin-image-netbook-live.bb b/meta-moblin/packages/images/moblin-image-netbook-live.bb
new file mode 100644
index 0000000000..3fcfda7279
--- /dev/null
+++ b/meta-moblin/packages/images/moblin-image-netbook-live.bb
@@ -0,0 +1,13 @@
1#
2# Copyright (C) 2008 Intel Corporation.
3#
4
5DESCRIPTION = "Netbook Bootable Live Image"
6
7require moblin-image-live.inc
8
9LABELS += "boot install"
10
11ROOTFS = "${DEPLOY_DIR_IMAGE}/moblin-image-netbook-${MACHINE}.ext3"
12
13do_bootimg[depends] += "moblin-image-netbook:do_rootfs"
diff --git a/meta-moblin/packages/images/moblin-image-netbook.bb b/meta-moblin/packages/images/moblin-image-netbook.bb
index a573dbe83f..8cbcf2a5e2 100644
--- a/meta-moblin/packages/images/moblin-image-netbook.bb
+++ b/meta-moblin/packages/images/moblin-image-netbook.bb
@@ -1,5 +1,5 @@
1# 1#
2# Copyright (C) 2007 OpenedHand Ltd. 2# Copyright (C) 2008 Intel Corporation.
3# 3#
4 4
5IMAGE_FEATURES += "apps-console-core ${NETBOOK_IMAGE_FEATURES}" 5IMAGE_FEATURES += "apps-console-core ${NETBOOK_IMAGE_FEATURES}"
diff --git a/meta-moblin/packages/images/moblin-image-sato-live.bb b/meta-moblin/packages/images/moblin-image-sato-live.bb
deleted file mode 100644
index 81c07b7e50..0000000000
--- a/meta-moblin/packages/images/moblin-image-sato-live.bb
+++ /dev/null
@@ -1,9 +0,0 @@
1DESCRIPTION = "Sato Bootable Live Image"
2
3require moblin-image-live.inc
4
5LABELS += "boot install"
6
7ROOTFS = "${DEPLOY_DIR_IMAGE}/moblin-image-sato-${MACHINE}.ext3"
8
9do_bootimg[depends] += "moblin-image-sato:do_rootfs"
diff --git a/meta-moblin/packages/images/moblin-image-sato.bb b/meta-moblin/packages/images/moblin-image-sato.bb
deleted file mode 100644
index 61f97334f7..0000000000
--- a/meta-moblin/packages/images/moblin-image-sato.bb
+++ /dev/null
@@ -1,7 +0,0 @@
1#
2# Copyright (C) 2007 OpenedHand Ltd.
3#
4
5IMAGE_FEATURES += "apps-console-core ${SATO_IMAGE_FEATURES}"
6
7inherit moblin-image
diff --git a/meta-moblin/packages/images/moblin-image-sdk-live.bb b/meta-moblin/packages/images/moblin-image-sdk-live.bb
index 84cf107537..44d2cda950 100644
--- a/meta-moblin/packages/images/moblin-image-sdk-live.bb
+++ b/meta-moblin/packages/images/moblin-image-sdk-live.bb
@@ -1,3 +1,7 @@
1#
2# Copyright (C) 2008 Intel Corporation.
3#
4
1DESCRIPTION = "Bootable Live SDK Image" 5DESCRIPTION = "Bootable Live SDK Image"
2 6
3require moblin-image-live.inc 7require moblin-image-live.inc
diff --git a/meta-moblin/packages/images/moblin-image-sdk.bb b/meta-moblin/packages/images/moblin-image-sdk.bb
index 0ec00f2574..6f42a33d6c 100644
--- a/meta-moblin/packages/images/moblin-image-sdk.bb
+++ b/meta-moblin/packages/images/moblin-image-sdk.bb
@@ -1,5 +1,5 @@
1# 1#
2# Copyright (C) 2007 OpenedHand Ltd. 2# Copyright (C) 2008 Intel Corporation.
3# 3#
4 4
5IMAGE_FEATURES += "apps-console-core ${SATO_IMAGE_FEATURES} tools-debug tools-profile tools-sdk dev-pkgs dbg-pkgs" 5IMAGE_FEATURES += "apps-console-core ${SATO_IMAGE_FEATURES} tools-debug tools-profile tools-sdk dev-pkgs dbg-pkgs"
diff --git a/meta-moblin/packages/images/poky-image-live.bb b/meta-moblin/packages/images/poky-image-live.bb
deleted file mode 100644
index a3bfbfc71f..0000000000
--- a/meta-moblin/packages/images/poky-image-live.bb
+++ /dev/null
@@ -1,9 +0,0 @@
1DESCRIPTION = "Netbook Bootable Live Image"
2
3require poky-image-live.inc
4
5LABELS += "boot install"
6
7ROOTFS = "${DEPLOY_DIR_IMAGE}/poky-image-netbook-${MACHINE}.ext3"
8
9do_bootimg[depends] += "poky-image-netbook:do_rootfs"
diff --git a/meta-moblin/packages/images/poky-image-live.inc b/meta-moblin/packages/images/poky-image-live.inc
deleted file mode 100644
index 7f8dd8fba5..0000000000
--- a/meta-moblin/packages/images/poky-image-live.inc
+++ /dev/null
@@ -1,18 +0,0 @@
1AUTO_SYSLINUXCFG = "1"
2INITRD = "${DEPLOY_DIR_IMAGE}/poky-image-minimal-initramfs-${MACHINE}.cpio.gz"
3APPEND += "root=/dev/ram0 "
4TIMEOUT = "10"
5
6EXCLUDE_FROM_WORLD = "1"
7
8do_bootimg[depends] += "poky-image-minimal-initramfs:do_rootfs"
9
10inherit bootimg
11
12do_bootimg_prepend () {
13 import bb
14 fstypes = bb.data.getVar('IMAGE_FSTYPES', d, True)
15 if 'ext3' not in fstypes:
16 bb.msg.fatal(bb.msg.domain.Build, "ext3 not in IMAGE_FSTYPES")
17}
18
diff --git a/meta-moblin/packages/images/poky-image-minimal-initramfs.bb b/meta-moblin/packages/images/poky-image-minimal-initramfs.bb
deleted file mode 100644
index b2824a7d61..0000000000
--- a/meta-moblin/packages/images/poky-image-minimal-initramfs.bb
+++ /dev/null
@@ -1,8 +0,0 @@
1# Simple initramfs image. Mostly used for live images.
2
3IMAGE_INSTALL = "initramfs-live-boot initramfs-live-install busybox udev"
4
5export IMAGE_BASENAME = "poky-image-minimal-initramfs"
6IMAGE_LINGUAS = ""
7
8inherit poky-image
diff --git a/meta-moblin/packages/images/poky-image-minimal-live.bb b/meta-moblin/packages/images/poky-image-minimal-live.bb
deleted file mode 100644
index 7d9aa5f154..0000000000
--- a/meta-moblin/packages/images/poky-image-minimal-live.bb
+++ /dev/null
@@ -1,9 +0,0 @@
1DESCRIPTION = "Minimal Bootable Live Image"
2
3require poky-image-live.inc
4
5LABELS += "boot install"
6
7ROOTFS = "${DEPLOY_DIR_IMAGE}/poky-image-minimal-${MACHINE}.ext3"
8
9do_bootimg[depends] += "poky-image-minimal:do_rootfs"
diff --git a/meta-moblin/packages/images/poky-image-netbook.bb b/meta-moblin/packages/images/poky-image-netbook.bb
deleted file mode 100644
index 8138e9d598..0000000000
--- a/meta-moblin/packages/images/poky-image-netbook.bb
+++ /dev/null
@@ -1,7 +0,0 @@
1#
2# Copyright (C) 2007 OpenedHand Ltd.
3#
4
5IMAGE_FEATURES += "apps-console-core ${NETBOOK_IMAGE_FEATURES}"
6
7inherit poky-image
diff --git a/meta-moblin/packages/images/poky-image-sato-live.bb b/meta-moblin/packages/images/poky-image-sato-live.bb
deleted file mode 100644
index 9b686e812c..0000000000
--- a/meta-moblin/packages/images/poky-image-sato-live.bb
+++ /dev/null
@@ -1,9 +0,0 @@
1DESCRIPTION = "Sato Bootable Live Image"
2
3require poky-image-live.inc
4
5LABELS += "boot install"
6
7ROOTFS = "${DEPLOY_DIR_IMAGE}/poky-image-sato-${MACHINE}.ext3"
8
9do_bootimg[depends] += "poky-image-sato:do_rootfs"
diff --git a/meta-moblin/packages/tasks/task-moblin-apps-x11-pimlico.bb b/meta-moblin/packages/tasks/task-moblin-apps-x11-pimlico.bb
index 1ab8163fc1..4523196bfe 100644
--- a/meta-moblin/packages/tasks/task-moblin-apps-x11-pimlico.bb
+++ b/meta-moblin/packages/tasks/task-moblin-apps-x11-pimlico.bb
@@ -1,5 +1,5 @@
1# 1#
2# Copyright (C) 2007-2008 OpenedHand Ltd. 2# Copyright (C) 2008 Intel Corporation.
3# 3#
4 4
5DESCRIPTION = "X11 Pimlico Appications List" 5DESCRIPTION = "X11 Pimlico Appications List"
diff --git a/meta-moblin/packages/tasks/task-moblin-boot.bb b/meta-moblin/packages/tasks/task-moblin-boot.bb
index a5b78fcf80..015b94bbaa 100644
--- a/meta-moblin/packages/tasks/task-moblin-boot.bb
+++ b/meta-moblin/packages/tasks/task-moblin-boot.bb
@@ -1,5 +1,5 @@
1# 1#
2# Copyright (C) 2007 OpenedHand Ltd. 2# Copyright (C) 2008 Intel Corporation.
3# 3#
4 4
5DESCRIPTION = "Task for Moblin - minimal bootable image" 5DESCRIPTION = "Task for Moblin - minimal bootable image"
diff --git a/meta-moblin/packages/tasks/task-moblin-sdk.bb b/meta-moblin/packages/tasks/task-moblin-sdk.bb
index 84bb71a848..4b6030e2a5 100644
--- a/meta-moblin/packages/tasks/task-moblin-sdk.bb
+++ b/meta-moblin/packages/tasks/task-moblin-sdk.bb
@@ -1,5 +1,5 @@
1# 1#
2# Copyright (C) 2007 OpenedHand Ltd. 2# Copyright (C) 2008 Intel Corporation.
3# 3#
4 4
5DESCRIPTON = "Software Development Tasks for Moblin" 5DESCRIPTON = "Software Development Tasks for Moblin"
diff --git a/meta-moblin/packages/tasks/task-moblin-standalone-sdk-target.bb b/meta-moblin/packages/tasks/task-moblin-standalone-sdk-target.bb
index e9384f5ecd..c9f118cdf5 100644
--- a/meta-moblin/packages/tasks/task-moblin-standalone-sdk-target.bb
+++ b/meta-moblin/packages/tasks/task-moblin-standalone-sdk-target.bb
@@ -1,4 +1,8 @@
1DESCRIPTION = "Target packages for the standalone SDK" 1#
2# Copyright (C) 2008 Intel Corporation.
3#
4
5DESCRIPTION = "Target packages for the standalone Moblin SDK"
2PR = "r4" 6PR = "r4"
3LICENSE = "MIT" 7LICENSE = "MIT"
4ALLOW_EMPTY = "1" 8ALLOW_EMPTY = "1"
diff --git a/meta-moblin/packages/tasks/task-moblin-tools-bb b/meta-moblin/packages/tasks/task-moblin-tools-bb
deleted file mode 100644
index 6d5e60cbb8..0000000000
--- a/meta-moblin/packages/tasks/task-moblin-tools-bb
+++ /dev/null
@@ -1,58 +0,0 @@
1#
2# Copyright (C) 2008 OpenedHand Ltd.
3#
4
5DESCRIPTION = "Tools tasks for Moblin"
6PR = "r1"
7
8PACKAGES = "\
9 task-moblin-tools-debug \
10 task-moblin-tools-debug-dbg \
11 task-moblin-tools-debug-dev \
12 task-moblin-tools-profile \
13 task-moblin-tools-profile-dbg \
14 task-moblin-tools-profile-dev \
15 task-moblin-tools-testapps \
16 task-moblin-tools-testapps-dbg \
17 task-moblin-tools-testapps-dev \
18 "
19
20PACKAGE_ARCH = "${MACHINE_ARCH}"
21
22ALLOW_EMPTY = "1"
23
24RDEPENDS_task-moblin-tools-debug = "\
25 gdb \
26 gdbserver \
27 strace"
28
29RDEPENDS_task-moblin-tools-profile = "\
30 exmap-console \
31 exmap-server \
32 oprofile \
33 oprofileui-server \
34 powertop \
35 lttng-control \
36 lttng-viewer \
37 sreadahead"
38
39RDEPENDS_task-moblin-tools-profile_qemux86 += "valgrind"
40
41RRECOMMENDS_task-moblin-tools-profile = "\
42 kernel-module-oprofile"
43
44RDEPENDS_task-moblin-tools-testapps = "\
45 blktool \
46 tslib-calibrate \
47 tslib-tests \
48 lrzsz \
49 kexec-tools \
50 alsa-utils-amixer \
51 alsa-utils-aplay \
52 owl-video \
53 gst-meta-video \
54 gst-meta-audio \
55 xrestop \
56 xwininfo \
57 xprop \
58 xvideo-tests"
diff --git a/meta-moblin/packages/tasks/tasks-moblin-tools.bb b/meta-moblin/packages/tasks/task-moblin-tools.bb
index 33dad20d89..86ac7ff364 100644
--- a/meta-moblin/packages/tasks/tasks-moblin-tools.bb
+++ b/meta-moblin/packages/tasks/task-moblin-tools.bb
@@ -1,9 +1,9 @@
1# 1#
2# Copyright (C) 2008 OpenedHand Ltd. 2# Copyright (C) 2008 Intel Corporation.
3# 3#
4 4
5DESCRIPTION = "Tools tasks for Moblin" 5DESCRIPTION = "Debuggin and profiling tools tasks for Moblin"
6PR = "r1" 6PR = "r2"
7 7
8PACKAGES = "\ 8PACKAGES = "\
9 task-moblin-tools-debug \ 9 task-moblin-tools-debug \
@@ -27,13 +27,14 @@ RDEPENDS_task-moblin-tools-debug = "\
27 strace" 27 strace"
28 28
29RDEPENDS_task-moblin-tools-profile = "\ 29RDEPENDS_task-moblin-tools-profile = "\
30 exmap-console \ 30# exmap-console \
31 exmap-server \ 31# exmap-server \
32 oprofile \ 32 oprofile \
33 oprofileui-server \ 33 oprofileui-server \
34 powertop \ 34 powertop \
35 lttng-control \ 35 lttng-control \
36 lttng-viewer" 36 lttng-viewer"
37# sreadahead"
37 38
38RDEPENDS_task-moblin-tools-profile_qemux86 += "valgrind" 39RDEPENDS_task-moblin-tools-profile_qemux86 += "valgrind"
39 40
diff --git a/meta-moblin/packages/tasks/task-moblin-x11-netbook.bb b/meta-moblin/packages/tasks/task-moblin-x11-netbook.bb
index 90ee0d1ac6..b8fa1e3442 100644
--- a/meta-moblin/packages/tasks/task-moblin-x11-netbook.bb
+++ b/meta-moblin/packages/tasks/task-moblin-x11-netbook.bb
@@ -1,8 +1,8 @@
1# 1#
2# Copyright (C) 2008 Intel. 2# Copyright (C) 2008 Intel Corporation.
3# 3#
4 4
5DESCRIPTION = "Netbook Tasks for Moblin" 5DESCRIPTION = "Netbook GUI Tasks for Moblin"
6PR = "r0" 6PR = "r0"
7 7
8PACKAGES = "\ 8PACKAGES = "\
diff --git a/meta-moblin/packages/tasks/task-moblin-x11-sato.bb b/meta-moblin/packages/tasks/task-moblin-x11-sato.bb
deleted file mode 100644
index 6ae3bc07c7..0000000000
--- a/meta-moblin/packages/tasks/task-moblin-x11-sato.bb
+++ /dev/null
@@ -1,29 +0,0 @@
1#
2# Copyright (C) 2007-2008 OpenedHand Ltd.
3#
4
5DESCRIPTION = "Sato Tasks for Moblin"
6PR = "r29"
7
8PACKAGES = "\
9 task-moblin-x11-sato \
10 task-moblin-x11-sato-dbg \
11 task-moblin-x11-sato-dev \
12 "
13
14PACKAGE_ARCH = "${MACHINE_ARCH}"
15
16ALLOW_EMPTY = "1"
17
18NETWORK_MANAGER ?= "networkmanager-applet"
19RDEPENDS_task-moblin-x11-sato = "\
20 matchbox-desktop \
21 matchbox-session-sato \
22 matchbox-keyboard \
23 matchbox-stroke \
24 matchbox-config-gtk \
25 xcursor-transparent-theme \
26 sato-icon-theme \
27 settings-daemon \
28 gtk-sato-engine \
29 ${NETWORK_MANAGER}"
diff --git a/meta-moblin/packages/tasks/task-moblin.bb b/meta-moblin/packages/tasks/task-moblin.bb
index cb9f0c34c7..9b34d99993 100644
--- a/meta-moblin/packages/tasks/task-moblin.bb
+++ b/meta-moblin/packages/tasks/task-moblin.bb
@@ -1,5 +1,5 @@
1# 1#
2# Copyright (C) 2007-2008 OpenedHand Ltd. 2# Copyright (C) 2008 Intel Corporation.
3# 3#
4 4
5DESCRIPTION = "Tasks for Moblin" 5DESCRIPTION = "Tasks for Moblin"
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 239d937238..8407cdd567 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -4,6 +4,8 @@ LICENSE = "MIT"
4PACKAGES = "" 4PACKAGES = ""
5RDEPENDS += "${IMAGE_INSTALL}" 5RDEPENDS += "${IMAGE_INSTALL}"
6 6
7INHIBIT_DEFAULT_DEPS = "1"
8
7# "export IMAGE_BASENAME" not supported at this time 9# "export IMAGE_BASENAME" not supported at this time
8IMAGE_BASENAME[export] = "1" 10IMAGE_BASENAME[export] = "1"
9export PACKAGE_INSTALL ?= "${IMAGE_INSTALL}" 11export PACKAGE_INSTALL ?= "${IMAGE_INSTALL}"
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 059f787eb8..b2266bee5d 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -452,7 +452,9 @@ do_deploy() {
452 install -d ${DEPLOY_DIR_IMAGE} 452 install -d ${DEPLOY_DIR_IMAGE}
453 install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin 453 install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin
454 package_stagefile_shell ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin 454 package_stagefile_shell ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin
455 tar -cvzf ${DEPLOY_DIR_IMAGE}/modules-${KERNEL_VERSION}-${PR}-${MACHINE}.tgz -C ${D} lib 455 if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then
456 tar -cvzf ${DEPLOY_DIR_IMAGE}/modules-${KERNEL_VERSION}-${PR}-${MACHINE}.tgz -C ${D} lib
457 fi
456 458
457 if test "x${KERNEL_IMAGETYPE}" = "xuImage" ; then 459 if test "x${KERNEL_IMAGETYPE}" = "xuImage" ; then
458 if test -e arch/${ARCH}/boot/compressed/vmlinux ; then 460 if test -e arch/${ARCH}/boot/compressed/vmlinux ; then
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index 3defcdde70..d291733dcf 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -147,7 +147,7 @@ python write_specfile() {
147rpm_prep() { 147rpm_prep() {
148 if [ ! -e ${WORKDIR}/rpmrc ]; then 148 if [ ! -e ${WORKDIR}/rpmrc ]; then
149 mkdir -p ${RPMBUILDPATH}/{SPECS,RPMS/{i386,i586,i686,noarch,ppc,mips,mipsel,arm},SRPMS,SOURCES,BUILD} 149 mkdir -p ${RPMBUILDPATH}/{SPECS,RPMS/{i386,i586,i686,noarch,ppc,mips,mipsel,arm},SRPMS,SOURCES,BUILD}
150 echo 'macrofiles:/usr/lib/rpm/macros:${WORKDIR}/macros' > ${WORKDIR}/rpmrc 150 echo 'macrofiles:${STAGING_DIR_NATIVE}/usr/lib/rpm/macros:${WORKDIR}/macros' > ${WORKDIR}/rpmrc
151 echo '%_topdir ${RPMBUILDPATH}' > ${WORKDIR}/macros 151 echo '%_topdir ${RPMBUILDPATH}' > ${WORKDIR}/macros
152 echo '%_repackage_dir ${WORKDIR}' >> ${WORKDIR}/macros 152 echo '%_repackage_dir ${WORKDIR}' >> ${WORKDIR}/macros
153 fi 153 fi
diff --git a/meta/conf/distro/include/as-needed.inc b/meta/conf/distro/include/as-needed.inc
new file mode 100644
index 0000000000..50a152de32
--- /dev/null
+++ b/meta/conf/distro/include/as-needed.inc
@@ -0,0 +1,14 @@
1
2ASNEEDED = "-Wl,--as-needed"
3
4ASNEEDED_pn-console-tools = ""
5ASNEEDED_pn-distcc = ""
6ASNEEDED_pn-openobex = ""
7ASNEEDED_pn-icu = ""
8ASNEEDED_pn-xserver-kdrive-xomap = ""
9ASNEEDED_pn-minimo = ""
10ASNEEDED_pn-pciutils = ""
11ASNEEDED_pn-puzzles = ""
12ASNEEDED_pn-dialer = ""
13
14TARGET_LDFLAGS += "${ASNEEDED}" \ No newline at end of file
diff --git a/meta/conf/distro/include/poky-eabi.inc b/meta/conf/distro/include/poky-eabi.inc
index e0cafbaaa9..10706b695c 100644
--- a/meta/conf/distro/include/poky-eabi.inc
+++ b/meta/conf/distro/include/poky-eabi.inc
@@ -35,15 +35,6 @@ PREFERRED_VERSION_glibc ?= "2.6.1"
35PREFERRED_VERSION_glibc-initial ?= "2.6.1" 35PREFERRED_VERSION_glibc-initial ?= "2.6.1"
36PREFERRED_VERSION_elfutils ?= "0.131" 36PREFERRED_VERSION_elfutils ?= "0.131"
37 37
38ASNEEDED = "-Wl,--as-needed" 38require conf/distro/include/as-needed.inc
39ASNEEDED_pn-console-tools = "" 39
40ASNEEDED_pn-distcc = "" 40
41ASNEEDED_pn-openobex = ""
42ASNEEDED_pn-icu = ""
43ASNEEDED_pn-xserver-kdrive-xomap = ""
44ASNEEDED_pn-minimo = ""
45ASNEEDED_pn-pciutils = ""
46ASNEEDED_pn-puzzles = ""
47ASNEEDED_pn-dialer = ""
48
49TARGET_LDFLAGS += "${ASNEEDED}"
diff --git a/meta/conf/distro/include/poky-fixed-revisions.inc b/meta/conf/distro/include/poky-fixed-revisions.inc
index 936b07f62f..94188334da 100644
--- a/meta/conf/distro/include/poky-fixed-revisions.inc
+++ b/meta/conf/distro/include/poky-fixed-revisions.inc
@@ -65,7 +65,7 @@ SRCREV_pn-matchbox-config-gtk ?= "1614"
65SRCREV_pn-matchbox-desktop-sato ?= "76" 65SRCREV_pn-matchbox-desktop-sato ?= "76"
66SRCREV_pn-matchbox-desktop ?= "2084" 66SRCREV_pn-matchbox-desktop ?= "2084"
67SRCREV_pn-matchbox-keyboard ?= "1910" 67SRCREV_pn-matchbox-keyboard ?= "1910"
68SRCREV_pn-matchbox-panel-2 ?= "2086" 68SRCREV_pn-matchbox-panel-2 ?= "2088"
69SRCREV_pn-matchbox-panel ?= "1364" 69SRCREV_pn-matchbox-panel ?= "1364"
70SRCREV_pn-matchbox-stroke ?= "1524" 70SRCREV_pn-matchbox-stroke ?= "1524"
71SRCREV_pn-matchbox-terminal ?= "1612" 71SRCREV_pn-matchbox-terminal ?= "1612"
diff --git a/meta/conf/distro/include/poky-moblin.inc b/meta/conf/distro/include/poky-moblin.inc
new file mode 100644
index 0000000000..45535c5540
--- /dev/null
+++ b/meta/conf/distro/include/poky-moblin.inc
@@ -0,0 +1,26 @@
1TARGET_VENDOR = "-poky"
2
3PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc = "glibc"
4PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}binutils = "binutils-cross"
5PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-initial = "gcc-cross-initial"
6PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-intermediate = "gcc-cross-intermediate"
7PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc = "gcc-cross"
8PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}g++ = "gcc-cross"
9
10GCCVERSION ?= "4.2.3"
11BINUVERSION = "2.18"
12
13PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
14PREFERRED_VERSION_gcc-cross ?= "${GCCVERSION}"
15PREFERRED_VERSION_gcc-cross-initial ?= "${GCCVERSION}"
16PREFERRED_VERSION_gcc-cross-intermediate ?= "${GCCVERSION}"
17PREFERRED_VERSION_gcc-cross-sdk ?= "${GCCVERSION}"
18PREFERRED_VERSION_binutils ?= "${BINUVERSION}"
19PREFERRED_VERSION_binutils-cross ?= "${BINUVERSION}"
20PREFERRED_VERSION_linux-libc-headers ?= "2.6.24"
21PREFERRED_VERSION_glibc ?= "2.6.1"
22PREFERRED_VERSION_glibc-initial ?= "2.6.1"
23PREFERRED_VERSION_elfutils ?= "0.131"
24
25require conf/distro/include/as-needed.inc
26
diff --git a/meta/conf/distro/include/world-broken.inc b/meta/conf/distro/include/world-broken.inc
new file mode 100644
index 0000000000..c1dc7f5738
--- /dev/null
+++ b/meta/conf/distro/include/world-broken.inc
@@ -0,0 +1,36 @@
1#
2# Exclude known broken packages
3#
4# Needs old OpenSync
5EXCLUDE_FROM_WORLD_pn-libsync = "1"
6EXCLUDE_FROM_WORLD_pn-libopensync-plugin-evo2-sync = "1"
7EXCLUDE_FROM_WORLD_pn-libopensync-plugin-file-sync = "1"
8EXCLUDE_FROM_WORLD_pn-libopensync-plugin-irmc = "1"
9EXCLUDE_FROM_WORLD_pn-libopensync-plugin-irmc-sync = "1"
10EXCLUDE_FROM_WORLD_pn-libopensync-plugin-google-calendar = "1"
11# Needs python
12EXCLUDE_FROM_WORLD_pn-opkg-utils = "1"
13# Needs gcc 3.x
14EXCLUDE_FROM_WORLD_pn-qemu = "1"
15# temporary
16EXCLUDE_FROM_WORLD_pn-lirc = "1"
17EXCLUDE_FROM_WORLD_pn-lirc-modules = "1"
18# these applications need clutter 0.6
19EXCLUDE_FROM_WORLD_pn-aaina = "1"
20EXCLUDE_FROM_WORLD_pn-table = "1"
21EXCLUDE_FROM_WORLD_pn-task-poky-clutter = "1"
22# Need bzr
23EXCLUDE_FROM_WORLD_pn-eds-tools = "1"
24# Need fixed Perl - OE bug #3403
25EXCLUDE_FROM_WORLD_pn-libxml-parser-perl = "1"
26# Needs libxml-parser-perl
27EXCLUDE_FROM_WORLD_pn-libxml-simple-perl = "1"
28# Needs gtk+ <= 2.10
29EXCLUDE_FROM_WORLD_pn-gcalctool = "1"
30
31# The packages from these clash atm
32EXCLUDE_FROM_WORLD_pn-abiword = "1"
33EXCLUDE_FROM_WORLD_pn-abiword-embedded = "1"
34
35# helix is x86 only
36EXCLUDE_FROM_WORLD_pn-clutter-helix = "1"
diff --git a/meta/conf/distro/poky.conf b/meta/conf/distro/poky.conf
index a6591bdad5..4b20438368 100644
--- a/meta/conf/distro/poky.conf
+++ b/meta/conf/distro/poky.conf
@@ -116,33 +116,5 @@ DISTRO_EXTRA_RRECOMMENDS += "kernel-module-af-packet"
116 116
117IMAGE_FEATURES ?= "" 117IMAGE_FEATURES ?= ""
118 118
119# 119require conf/distro/include/world-broken.inc
120# Exclude known broken packages
121#
122# Needs old OpenSync
123EXCLUDE_FROM_WORLD_pn-libsync = "1"
124EXCLUDE_FROM_WORLD_pn-libopensync-plugin-evo2-sync = "1"
125EXCLUDE_FROM_WORLD_pn-libopensync-plugin-file-sync = "1"
126EXCLUDE_FROM_WORLD_pn-libopensync-plugin-irmc = "1"
127EXCLUDE_FROM_WORLD_pn-libopensync-plugin-irmc-sync = "1"
128EXCLUDE_FROM_WORLD_pn-libopensync-plugin-google-calendar = "1"
129# Needs python
130EXCLUDE_FROM_WORLD_pn-opkg-utils = "1"
131# Needs gcc 3.x
132EXCLUDE_FROM_WORLD_pn-qemu = "1"
133# temporary
134EXCLUDE_FROM_WORLD_pn-lirc = "1"
135EXCLUDE_FROM_WORLD_pn-lirc-modules = "1"
136# these applications need clutter 0.6
137EXCLUDE_FROM_WORLD_pn-aaina = "1"
138EXCLUDE_FROM_WORLD_pn-table = "1"
139EXCLUDE_FROM_WORLD_pn-task-poky-clutter = "1"
140# Need bzr
141EXCLUDE_FROM_WORLD_pn-eds-tools = "1"
142# Need fixed Perl - OE bug #3403
143EXCLUDE_FROM_WORLD_pn-libxml-parser-perl = "1"
144# Needs libxml-parser-perl
145EXCLUDE_FROM_WORLD_pn-libxml-simple-perl = "1"
146# Needs gtk+ <= 2.10
147EXCLUDE_FROM_WORLD_pn-gcalctool = "1"
148 120
diff --git a/meta/packages/gtk+/gtk+.inc b/meta/packages/gtk+/gtk+.inc
index 9a767e29cb..c3f454829a 100644
--- a/meta/packages/gtk+/gtk+.inc
+++ b/meta/packages/gtk+/gtk+.inc
@@ -34,6 +34,7 @@ FILES_${PN}-dbg += " \
34BASE_RRECOMMENDS = "ttf-dejavu-sans" 34BASE_RRECOMMENDS = "ttf-dejavu-sans"
35BASE_RRECOMMENDS_angstrom = "ttf-dejavu-sans gdk-pixbuf-loader-png gdk-pixbuf-loader-jpeg gdk-pixbuf-loader-gif gdk-pixbuf-loader-xpm" 35BASE_RRECOMMENDS_angstrom = "ttf-dejavu-sans gdk-pixbuf-loader-png gdk-pixbuf-loader-jpeg gdk-pixbuf-loader-gif gdk-pixbuf-loader-xpm"
36BASE_RRECOMMENDS_poky = "gdk-pixbuf-loader-png gdk-pixbuf-loader-jpeg gdk-pixbuf-loader-gif gdk-pixbuf-loader-xpm shared-mime-info" 36BASE_RRECOMMENDS_poky = "gdk-pixbuf-loader-png gdk-pixbuf-loader-jpeg gdk-pixbuf-loader-gif gdk-pixbuf-loader-xpm shared-mime-info"
37BASE_RRECOMMENDS_moblin = "gdk-pixbuf-loader-png gdk-pixbuf-loader-jpeg gdk-pixbuf-loader-gif gdk-pixbuf-loader-xpm shared-mime-info"
37 38
38GLIBC_RRECOMMENDS= "${BASE_RRECOMMENDS} glibc-gconv-iso8859-1" 39GLIBC_RRECOMMENDS= "${BASE_RRECOMMENDS} glibc-gconv-iso8859-1"
39 40
diff --git a/meta/packages/helix/helix-libs.bb b/meta/packages/helix/helix-libs.bb
index 83c9d8139c..604ec622c6 100644
--- a/meta/packages/helix/helix-libs.bb
+++ b/meta/packages/helix/helix-libs.bb
@@ -19,6 +19,8 @@ export BUILDRC=${BUILD_ROOT}/buildrc
19export SYSTEM_ID=linux-2.2-libc6-gcc32-i586 19export SYSTEM_ID=linux-2.2-libc6-gcc32-i586
20export BUILD=$BUILD_ROOT/bin/build.py 20export BUILD=$BUILD_ROOT/bin/build.py
21 21
22COMPATIBLE_HOST = '(i.86.*-linux)'
23
22do_compile() { 24do_compile() {
23 ${BUILD} -k -trelease -mclutter -Phelix-client-all-defines clutter 25 ${BUILD} -k -trelease -mclutter -Phelix-client-all-defines clutter
24} 26}
diff --git a/meta/packages/helix/ribosome.bb b/meta/packages/helix/ribosome.bb
index 4339a6ce49..840fc855eb 100644
--- a/meta/packages/helix/ribosome.bb
+++ b/meta/packages/helix/ribosome.bb
@@ -16,6 +16,8 @@ SRC_URI = "${_TARBALL_SERVER}/ribosome-${_SNAPSHOT}.tar.bz2 \
16 16
17S = "${WORKDIR}" 17S = "${WORKDIR}"
18 18
19COMPATIBLE_HOST = '(i.86.*-linux)'
20
19do_stage() { 21do_stage() {
20 # Install build system of doom 22 # Install build system of doom
21 install -d ${STAGING_DIR_HOST}${libdir} 23 install -d ${STAGING_DIR_HOST}${libdir}
diff --git a/meta/packages/images/poky-image-netbook-install.bb b/meta/packages/images/poky-image-netbook-install.bb
deleted file mode 100644
index ac7dc63e2b..0000000000
--- a/meta/packages/images/poky-image-netbook-install.bb
+++ /dev/null
@@ -1,9 +0,0 @@
1DESCRIPTION = "Netbook Bootable Live Image"
2
3require poky-image-live.inc
4
5LABELS += "install"
6
7ROOTFS = "${DEPLOY_DIR_IMAGE}/poky-image-netbook-${MACHINE}.ext3"
8
9do_bootimg[depends] += "poky-image-netbook:do_rootfs"
diff --git a/meta/packages/images/poky-image-netbook-live.bb b/meta/packages/images/poky-image-netbook-live.bb
deleted file mode 100644
index a3bfbfc71f..0000000000
--- a/meta/packages/images/poky-image-netbook-live.bb
+++ /dev/null
@@ -1,9 +0,0 @@
1DESCRIPTION = "Netbook Bootable Live Image"
2
3require poky-image-live.inc
4
5LABELS += "boot install"
6
7ROOTFS = "${DEPLOY_DIR_IMAGE}/poky-image-netbook-${MACHINE}.ext3"
8
9do_bootimg[depends] += "poky-image-netbook:do_rootfs"
diff --git a/meta/packages/images/poky-image-netbook.bb b/meta/packages/images/poky-image-netbook.bb
deleted file mode 100644
index 8138e9d598..0000000000
--- a/meta/packages/images/poky-image-netbook.bb
+++ /dev/null
@@ -1,7 +0,0 @@
1#
2# Copyright (C) 2007 OpenedHand Ltd.
3#
4
5IMAGE_FEATURES += "apps-console-core ${NETBOOK_IMAGE_FEATURES}"
6
7inherit poky-image
diff --git a/meta-moblin/packages/images/poky-image-sdk-live.bb b/meta/packages/images/poky-image-sdk-live.bb
index 807de392a3..807de392a3 100644
--- a/meta-moblin/packages/images/poky-image-sdk-live.bb
+++ b/meta/packages/images/poky-image-sdk-live.bb
diff --git a/scripts/poky-env-internal b/scripts/poky-env-internal
index ee7a0a935c..e1797a06c2 100755
--- a/scripts/poky-env-internal
+++ b/scripts/poky-env-internal
@@ -37,6 +37,8 @@ PKGDIR_MOBLIN="$OEROOT/meta-moblin/"
37BUILDDIR="$OEROOT/$BDIR/" 37BUILDDIR="$OEROOT/$BDIR/"
38MSG='' 38MSG=''
39 39
40unset BDIR
41
40BUILD_ARCH=`uname -m` 42BUILD_ARCH=`uname -m`
41BUILD_OS=`uname | tr [A-Z] [a-z]` 43BUILD_OS=`uname | tr [A-Z] [a-z]`
42BUILD_SYS="$BUILD_ARCH-$BUILD_OS" 44BUILD_SYS="$BUILD_ARCH-$BUILD_OS"
@@ -91,4 +93,4 @@ echo
91echo "### Shell environment set up for Poky builds. ###" 93echo "### Shell environment set up for Poky builds. ###"
92echo 94echo
93 95
94export BB_ENV_EXTRAWHITE="MACHINE DISTRO POKYLIBC OEROOT http_proxy ftp_proxy" 96export BB_ENV_EXTRAWHITE="MACHINE DISTRO POKYMODE POKYLIBC OEROOT http_proxy ftp_proxy"