Multi-chip compatible compiling method and device
US11579856B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Dec 24, 2020 |
| Grant date | Feb 14, 2023 |
| Priority date | — |
| Expiry date | Dec 24, 2040 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F8/447
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
A multi-chip compatible compiling method includes: extracting common characteristic information of Makefiles; configuring variable attribute information of the Makefiles; obtaining a universal Makefile template for multiple chips according to the common characteristic information and the variable attribute information of the Makefiles; traversing a project to be compiled in the universal Makefile template by a compilation module, recording path information of a dependency file of the project to be compiled, replacing a variable value in the universal Makefile template, and determining automation configuration information of the universal Makefile template; invoking an incremental compilation mechanism of a Make tool according to the automation configuration information of the universal Makefile template to obtain a target Makefile of the project to be compiled; and processing the target Makefile by rule information and pseudo-target tag information in the Makefiles to obtain an executable file generated by compilation.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.