Construction and compiling method and device of operating system, electronic equipment and storage medium

A technology of an operating system and a compiling method, which is applied in the field of operating system building and compiling method and device, storage medium, and electronic equipment, can solve the problems of inapplicable and unsuitable compiling and building of Linux desktop system, etc., so as to improve the compiling efficiency, fast and efficient build effect

Active Publication Date: 2021-10-15
BEIJING BYTEDANCE NETWORK TECH CO LTD
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The traditional Linux compilation tool is buildroot. Buildroot is generally oriented to embedded systems, and its hierarchy is relatively simple. It is not suitable for compiling and building more complex Linux desktop systems, especially for Linux systems compatible with Android, etc.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Construction and compiling method and device of operating system, electronic equipment and storage medium
  • Construction and compiling method and device of operating system, electronic equipment and storage medium
  • Construction and compiling method and device of operating system, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] The essence of the technical solutions of the embodiments of the present application will be explained in detail below with reference to the accompanying drawings.

[0049] figure 1 A schematic flowchart of a method for constructing and compiling an operating system according to an embodiment of the present application, such as figure 1 As shown, the method for constructing and compiling an operating system according to the embodiment of the present application includes the following processing steps:

[0050] Step 101, in response to the compilation instruction, obtain a corresponding system compilation tool in the compilation environment.

[0051] In the embodiment of the present application, when the operating system needs to be constructed and compiled, an externally input compilation instruction is received, or a corresponding compilation instruction is automatically started according to system settings. As an example, the compilation instructions may include the...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a construction and compiling method and device of an operating system, electronic equipment and a storage medium. The method comprises: obtaining a corresponding system compiling tool in a compiling environment in response to a compiling instruction; calling a system compiling tool, collecting a tool chain of the first operating system and a corresponding basic code library, and constructing a root system of the first operating system; scanning a basic code layer of the second operating system, selecting a corresponding compiler for the basic code layer according to the compiling rule, and generating a fusion compiling framework; determining a dependency relationship between framework layers contained in a compiling framework, generating a dependency tree sorted according to compiling priorities according to the dependency relationship, and representing compiling modules of the framework layers by nodes in the dependency tree; and according to the dependency relationship in the dependency tree, calling a compiling module of the framework layer to obtain a compiling source code, installing the framework layer into the root system, and generating a compiling file system. The system compiling efficiency is greatly improved.

Description

technical field [0001] The embodiments of the present application relate to a multi-system fusion compiling technology, and in particular, to a method and apparatus for building and compiling an operating system, an electronic device, and a storage medium. Background technique [0002] Standard Linux systems are widely used because of their open source and compatibility properties. Among many applications, the application of building and compiling the Linux system is relatively common, especially the construction of the Linux system distribution version image, and the corresponding system construction needs to be carried out when the system is installed. Generally speaking, the image construction of a Linux system includes the steps of root file system construction, kernel compilation, user mode driver compilation, system layer compilation, package management, and image compression generation. The traditional Linux compilation tool is buildroot. Buildroot is generally aimed...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/41G06F9/4401
CPCG06F8/41G06F8/433G06F9/4406
Inventor 刘成城
Owner BEIJING BYTEDANCE NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products