[oe-commits] org.oe.dev icecc: include glibc into blacklist because we don't have a full cross
john_lee commit
oe at amethyst.openembedded.net
Mon Sep 1 18:26:17 UTC 2008
icecc: include glibc into blacklist because we don't have a full cross
compiler while building glibc from scratch.
Author: john_lee at openembedded.org
Branch: org.openembedded.dev
Revision: bbddb9a71b294b802721731fd90ba838cedf88b6
ViewMTN: http://monotone.openembedded.org/revision/info/bbddb9a71b294b802721731fd90ba838cedf88b6
Files:
1
classes/icecc.bbclass
Diffs:
#
# mt diff -rde0691be4bd0c7952055dca203143d40092de043 -rbbddb9a71b294b802721731fd90ba838cedf88b6
#
#
#
# patch "classes/icecc.bbclass"
# from [a138cd782d31fb7b6a7dab8c89a1cd1bdbc901ae]
# to [e011b735f0e546f6cc89dea1b727608c6e07e8f3]
#
============================================================
--- classes/icecc.bbclass a138cd782d31fb7b6a7dab8c89a1cd1bdbc901ae
+++ classes/icecc.bbclass e011b735f0e546f6cc89dea1b727608c6e07e8f3
@@ -154,7 +154,7 @@ def create_cross_kernel_env(bb,d):
try:
os.stat(os.path.join(ice_dir, 'bin', kernel_cc))
except: # no cross compiler built yet
- bb.error('no cross compiler built yet')
+ bb.error('no kernel cross compiler built yet')
return ""
VERSION = icc_determine_gcc_version( os.path.join(ice_dir,"bin",kernel_cc) )
@@ -251,23 +251,16 @@ def icc_path(bb,d):
#"system" package blacklist contains a list of packages that can not distribute compile tasks
#for one reason or the other
- system_package_blacklist = [ "uclibc", "glibc-intermediate", "gcc", "qemu", "bind", "u-boot", "dhcp-forwarder", "enchant" ]
+ system_package_blacklist = [ "uclibc", "glibc", "gcc", "qemu", "bind", "u-boot", "dhcp-forwarder", "enchant" ]
+ user_package_blacklist = (bb.data.getVar('ICECC_USER_PACKAGE_BL', d) or "").split()
+ package_blacklist = system_package_blacklist + user_package_blacklist
- for black in system_package_blacklist:
+ for black in package_blacklist:
if black in package_tmp:
bb.note(package_tmp, ' found in blacklist, disable icecc')
bb.data.setVar("PARALLEL_MAKE" , "", d)
return ""
- #user defined exclusion list
- user_package_blacklist = bb.data.getVar('ICECC_USER_PACKAGE_BL', d) or ""
- user_package_blacklist = user_package_blacklist.split()
-
- for black in user_package_blacklist:
- if black in package_tmp:
- bb.data.setVar("PARALLEL_MAKE" , "", d)
- return ""
-
prefix = bb.data.expand('${HOST_PREFIX}', d)
if bb.data.inherits_class("cross", d):
More information about the Openembedded-commits
mailing list