Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for constructing and compiling operating system, electronic device, 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 methods and devices, electronic equipment, and storage media, can solve problems such as inapplicability and inapplicability for compiling and building Linux desktop systems, and achieves improved compiling efficiency, fast and efficient build effect

Active Publication Date: 2021-12-07
BEIJING BYTEDANCE NETWORK TECH CO LTD
View PDF0 Cites 0 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
  • Method and device for constructing and compiling operating system, electronic device, and storage medium
  • Method and device for constructing and compiling operating system, electronic device, and storage medium
  • Method and device for constructing and compiling operating system, electronic device, 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 in conjunction with the accompanying drawings.

[0049] figure 1 It is a schematic flow diagram of the method for building and compiling the operating system of the embodiment of the present application, such as figure 1 As shown, the method for building and compiling the operating system in the embodiment of the present application includes the following processing steps:

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

[0051] In the embodiment of the present application, when the operating system needs to be built 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 providing an entry ...

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

This application relates to a method and device for building and compiling an operating system, electronic equipment, and a storage medium. The method includes: responding to the compilation instruction, obtaining the corresponding system compilation tool in the compilation environment; calling the system compilation tool, collecting the tool chain and the corresponding basic code library of the first operating system, and constructing the root system of the first operating system; scanning For the basic library code layer of the second operating system, select the corresponding compiler for the basic library code layer according to the compilation rules to generate a fusion compilation framework; determine the dependencies between the framework layers contained in the compilation framework, and generate according to the dependencies according to compilation priority Level-sorted dependency tree, the nodes in the dependency tree represent the compilation modules of the framework layer; according to the dependencies in the dependency tree, call the compilation module of the framework layer to obtain the compiled source code, install the framework layer into the root system, and generate a compiled file system . This application greatly improves the system compilation efficiency.

Description

technical field [0001] Embodiments of the present application relate to multi-system fusion compiling technology, and in particular, relate to a method and device for constructing and compiling an operating system, electronic equipment, and a storage medium. Background technique [0002] The standard Linux system has been widely used because of its 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 image of the distribution version of the Linux system, which requires corresponding system construction during system installation. Generally speaking, the image construction of the Linux system includes 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 oriented to e...

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 Patents(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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products