make---》Define the system structure---》Define the host operating system type---》Define the shell that executes the shell script---》
make XXX_config ---》Execute the mkconfig of the top-level directory (a script)
The mkconfig script does three things: 1. Create a soft link 2. Create include/configs.mk 3. Create include/config.h
1. The soft link connects a:arm common header file b:header file for specific cpu c:special files for cpu (structure, assembly function...)
2. The include/config.mk file contains: ARCH CPU BOARD VENDOR SOC etc.
3.include/config.h contains some common header files: config_cmd_defaults.h config_defaults.h configs/XXX.h asm/config.h
make all--->sinclude $(obj)inluce/autoconf.mk (include file in include config.h)--->sinclude $(obj)include/autoconf.mk.dep (include macro definition in include config.h|commod.h)--->include include/config.mk (the one generated above)--->include top-level config.mk (does 3 things) 1. Specify the assembly tool 2. Specify the assembly rules 3. Include the required config.mk
3. What is included: For example: arm/config.mk smdk64XX/config.mk arm1176/config.mk $(board)/config.mk (it sets the text address)
u-boot: depend $(SUBDIRS) $(objs) $(libs) ....$u-boot.lds
The depend rule is to go into each required directory and run make_depend
The _depend target is in the top-level rules.mk, which will generate the target dependency files required in the current directory.
ARCH CPU BOARD VENDOR SOC
$(MKCONFIG) in mini6410 mini6410 arm s3c64xx mini6410 samsung s3c6410 Nand ram256
$1 $2 $3 $4 $5 $6 $7 $8
Previous article:UART Learning Notes
Next article:Porting u-boot-2010.03 --- Use tftp to download and run the kernel
- Popular Resources
- Popular amplifiers
- Naxin Micro and Xinxian jointly launched the NS800RT series of real-time control MCUs
- How to learn embedded systems based on ARM platform
- Summary of jffs2_scan_eraseblock issues
- Application of SPCOMM Control in Serial Communication of Delphi7.0
- Using TComm component to realize serial communication in Delphi environment
- Bar chart code for embedded development practices
- Embedded Development Learning (10)
- Embedded Development Learning (8)
- Embedded Development Learning (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Intel promotes AI with multi-dimensional efforts in technology, application, and ecology
- ChinaJoy Qualcomm Snapdragon Theme Pavilion takes you to experience the new changes in digital entertainment in the 5G era
- Infineon's latest generation IGBT technology platform enables precise control of speed and position
- Two test methods for LED lighting life
- Don't Let Lightning Induced Surges Scare You
- Application of brushless motor controller ML4425/4426
- Easy identification of LED power supply quality
- World's first integrated photovoltaic solar system completed in Israel
- Sliding window mean filter for avr microcontroller AD conversion
- What does call mean in the detailed explanation of ABB robot programming instructions?
- RAQ #223: How to measure and determine soft-start timing without a soft-start equation?
- RAQ #223: How to measure and determine soft-start timing without a soft-start equation?
- GigaDevice's full range of automotive-grade SPI NOR Flash GD25/55 wins ISO 26262 ASIL D functional safety certification
- GigaDevice's full range of automotive-grade SPI NOR Flash GD25/55 wins ISO 26262 ASIL D functional safety certification
- New IsoVu™ Isolated Current Probes: Bringing a New Dimension to Current Measurements
- New IsoVu™ Isolated Current Probes: Bringing a New Dimension to Current Measurements
- Infineon Technologies Launches ModusToolbox™ Motor Kit to Simplify Motor Control Development
- Infineon Technologies Launches ModusToolbox™ Motor Kit to Simplify Motor Control Development
- STMicroelectronics IO-Link Actuator Board Brings Turnkey Reference Design to Industrial Monitoring and Equipment Manufacturers
- Melexis uses coreless technology to reduce the size of current sensing devices
- [NXP Rapid IoT Review] Rapid IoT Studio Simple Programming Step 4 Add Bluetooth RGB Light Control
- [ESK32-360 Review] + LCD library function BUG review feedback
- The era of sodium-ion batteries is coming? How do you view the standardization of sodium-ion batteries?
- [Raspberry Pi 3B+ Review] Pan-tilt camera object tracking system based on Raspberry Pi (final report)
- The authoritative book on frequency synthesis technology - "Frequency Synthesis Principles and Design (Third Edition)"
- [FS-IR02 + D1CS-D54] - 2: Electrical performance index detection (FS-IR02)
- Modbus to Profinet Gateway Connecting Delta ME300 Case
- M4 core MCU, M4 hardware is perfectly compatible with ST.
- EEWORLD University - What is Dynamic Multi-Protocol Manager (DMM)?
- Do you really follow those PCB design rules circulating on the Internet?