[DEBUG] missing heritage instance on prebuilt element

This commit is contained in:
Edouard DUPIN 2014-08-18 22:57:06 +02:00
parent db4a587a44
commit 885a60f22c

View File

@ -91,7 +91,7 @@ class Module:
"RIGHT" : [],
"ADMOD_POSITION" : "top"
}
self.subHeritageList = None
##
## @brief add Some copilation flags for this module (and only this one)
@ -427,6 +427,8 @@ class Module:
def build(self, target, packageName):
# ckeck if not previously build
if target.is_module_build(self.name)==True:
if self.subHeritageList == None:
self.localHeritage = heritage.heritage(self)
return self.subHeritageList
# create the packege heritage
self.localHeritage = heritage.heritage(self)