Patch compiling platform and method
A technology of compiling platform and compiling method, applied in the direction of code compiling, program code conversion, etc., can solve the problems of inconvenient operation, inability to realize expansion and management of kernel patch compiling environment, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0018] The embodiment of the present invention provides a patch compiling method, which can be applied to a patch compiling platform. The patch compiling platform is built with the help of the characteristics of Docker, and can perform hierarchical management on the kernel patch compiling environment. figure 1 It is a schematic diagram of the architecture of the patch compilation platform in Embodiment 1 of the present invention, see figure 1 As shown, logically, the patch compilation platform mainly includes three layers: the basic image layer 101, the cross-compiler layer 102 and the kernel SDK layer 103, wherein the basic image layer 101 is used to provide basic commands for compiling; The compiler layer 102 is constructed by combining the basic image and the cross compiler through Docker, and is used to provide a cross-compilation environment for kernel patch codes, such as tools such as compilation, editing, and decompilation; the kernel SDK layer 103 is composed of cross-...
Embodiment 2
[0051] Based on the same inventive concept, as the implementation of the above method, the embodiment of the present invention provides a patch compilation platform, the embodiment of the patch compilation platform corresponds to the foregoing method embodiment, for the sake of easy reading, the embodiment of this device does not refer to the foregoing method The details in the embodiment will be described one by one, but it should be clear that the patch compilation platform in this embodiment can correspondingly implement all the content in the foregoing method embodiments.
[0052] image 3 It is a schematic structural diagram of the patch compilation platform in Embodiment 2 of the present invention, see image 3 As shown, the patch compilation platform 30 includes: a basic image layer unit 301, a cross-compiler layer unit 302, and a kernel SDK layer unit 303, wherein the basic image layer unit 301 is used to provide commands and tools required for compiling; The device l...
Embodiment 3
[0065] Based on the same inventive concept, an embodiment of the present invention provides a patch compiling device. Figure 4 It is a schematic structural diagram of the patch compilation device in Embodiment 3 of the present invention, see Figure 4 As shown, the patch compilation device 40 includes: a memory 401, a processor 402, and a computer program 403 stored on the memory 401 and operable on the processor 402. When the processor executes the program 403, the following steps are implemented: obtain the SDK file of the kernel ;Call the cross-compiler layer, based on the SDK file, determine whether there is a target compiler used by the kernel in the cross-compiler layer, wherein the cross-compiler layer is used to provide a cross-compilation environment; if there is no target compiler in the cross-compiler layer The compiler calls the basic image layer, and builds the first cross-compiler image corresponding to the target compiler on the cross-compiler layer through the...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com