fix for ARM9E + ARMV5 preprocessing confusion fix
authorRichard Taylor <richard.i.taylor@nokia.com>
Mon, 18 Jan 2010 14:28:09 +0000
branchfix
changeset 138 681b6bf8a272
parent 55 5e2f17481596
child 139 e07c3e796b50
fix for ARM9E + ARMV5 preprocessing confusion
sbsv2/raptor/python/raptor_meta.py
--- a/sbsv2/raptor/python/raptor_meta.py	Thu Jan 14 15:44:19 2010 +0000
+++ b/sbsv2/raptor/python/raptor_meta.py	Mon Jan 18 14:28:09 2010 +0000
@@ -2449,7 +2449,8 @@
 			key = str(detail['VARIANT_HRH']) \
 			 	+ str(detail['EPOCROOT']) \
 		    	+ detail['SYSTEMINCLUDE'] \
-		    	+ detail['PLATFORM']
+		    	+ detail['PLATFORM'] \
+		    	+ detail['PLATMACROS']
 
 		    # Keep a short version of the key for use in filenames.
 			uniq = hashlib.md5()
@@ -2485,11 +2486,7 @@
 			# Is this an unseen build platform?
 			# concatenate all the values we care about in a fixed order
 			# and use that as a signature for the platform.
-			items = ['PLATFORM', 'EPOCROOT', 'VARIANT_HRH', 'SYSTEMINCLUDE', 'TESTCODE']
-			if raptor_utilities.getOSPlatform().startswith("win"):
-				items.append('PLATMACROS.WINDOWS')
-			else:
-				items.append('PLATMACROS.LINUX')
+			items = ['PLATFORM', 'PLATMACROS', 'EPOCROOT', 'VARIANT_HRH', 'SYSTEMINCLUDE', 'TESTCODE']
 
 			items.extend(interfaces)
 			platform = ""