Uboot Learning two----One of the main makefile learning----version number U_boot_version (U_boot_version = $ (version). $ (Patchlevel). $ (Sublevel). $ ( extraversion)) (24-29 lines)

Source: Internet
Author: User

BSP Support Package (Https://yunpan.cn/cqB5i8LCAMzhM access password c425, decompression after/uboot directory makefile)


Version = 1//Major release number
Patchlevel = 3//patch version number
Sublevel = 4//Minor version number
Extraversion =//additional information, generally default is empty, we can set ourselves
U_boot_version = $ (VERSION). $ (Patchlevel). $ (Sublevel). $ (extraversion)
Uboot version 1.3.4, separated by.

Version_file = $ (obj) include/version_autogenerated.h
The version number file, which is created according to the rules of line NO. 365 in the main makefile

After compiling, the path to the Version_autogenerated.h file is: Include/version_autogenerated.h under the root directory. The value of the variable u_boot_version is referenced in this file; Version_autogenerated.h This file is generated automatically at compile time, through VI can see inside content is a macro: #define U_boot_version "U-boot 1.3.4"

Uboot Learning two----One of the main makefile learning----version number U_boot_version (U_boot_version = $ (version). $ (Patchlevel). $ (Sublevel). $ ( extraversion)) (24-29 lines)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.