Internship Report

Page 49

41

specified, or are simply empty variables would not hurt units which would do not need them, but would be used by others. In this way we could create a single file, which was general enough for both cases. If a particular section should be missing, then it should be skipped or commented in the unit’s Config file. It is important to mention that any target which has been specified not only in the Make.defs inclusion file, but also in the current Makefile, would be overridden by the latter definition. One of the final to be configured was the USIF, part of the Control Model units. As a further step, the files had to be checked in at the correct places, so that everybody could already see them in the VOB’s and utilize. After discussing the most appropriate place we confirm our initial idea that it is strongly recommended to have differentiation between the common parts, which are used by all modules and the module specific parts. The module specific part I placed in the $WORKAREA/units/<unit>/source/sc. The common part, I placed in $WORKAREA/etc under the ’scmakegen’ folder. In parallel I was keeping a track of the development of the task that Tao Tao adopted. It turned out that most probably the cause for the not sudden stop of the makefiles was the used shell function call inside the make file to call some other makefiles such as the "BEH". It was discussed that the preferred solution should be to get completely rid of this way of implementation. The best idea was that we should rather think make-like in a "target: depencies" way. After almost all config files were ready and the Maketemplate became relatively general, we decided to go for the next step. It was suggested that it might be a good idea if we are able to use the makefile generation, (changing the MakefileTemplate to reflect the corresponding changes introduced) in the Sysway 2.0. We decided that we can test my stuff in parallel to the migration of the first modules from Sysway 1.1.1 to Sysway 2.0. First of all we decided to migrate the module as it is. As soon as the stuff is running in Sysway 2.0, we could start with the updates. One of the updates could be my makefile generation. If it turns out to be beneficial and robust, we could officially add this to one of the next Sysway releases.

Supervisor: Signature: ..................................... Dr. Inj. Stefan Heinen Infineon Technologies AG Duisburg, 08 December 2008


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.