mirror of
https://github.com/zephyrproject-rtos/zephyr.git
synced 2026-01-20 16:22:12 +01:00
Page:
Moving ext components to dedicated repos
Pages
2019 GSoC Project Ideas
2021 GSoC Project Ideas
2021 Zephyr Developer Summit
ARM Architecture CI Test Strategy
Architecture Working Group
Bluetooth Working Group
Board Testing Introduction
Boot Zephyr from SYSLINUX
CFP Calendar
Change Control and Backports to stable branches
Continuous Integration
Dashboards
Documenting Code for Traceability
Filters
Git Tips
Google Season of Docs
Home
Marketing Committee
Meetup and Event Resources
Merge List MOTD
Moving ext components to dedicated repos
Networking Working Group
Process Working Group
Program Management
Projects Based on Zephyr
Release Engineering Process and Merge Queue Management
Release Management
Release Working Group
Repeatable Builds by Architecture
Safety Committee
Safety FAQ
Safety Working Group
Security Best Practices
Security Committee
Security Response Rotation
Security Working Group
Sensors Working Group
TSC Voting Process
Technical Steering Committee (TSC)
Testing Working Group
Toolchain Working Group
Truck Factor
Working Group Elections 2024
Working Group Elections
Zephyr Committee and Working Groups
Zephyr Group Calendars
[HOW TO] Generate a binary footprint for a basic Zephyr application
[HOW TO] Generate benchmarks metrics
No results
1
Moving ext components to dedicated repos
Anas Nashif edited this page 2019-03-16 07:45:29 -04:00
Table of Contents
Overview
The goal is to move all external components maintained in ext/ to individual repositories managed by the project as forks of upstream components with local changes integrating those into Zephyr using the module concept.
Structure
Have a fork of the upstream code maintained in a pristine state in a branch (master) and maintain changes needed for Zephyr in a zephyr branch. The zephyr branch will have the integration using:
- Kconfig
- CmakeLists.txt
- zephyr/module.yml
How to move components from ext/
Using git filter-branch it is possible to filter the commits related to a specific folder and create a new history for just the files in that directory, for example for QMSI:
git clone git@github.com:zephyrproject-rtos/zephyr.git hal_qmsi
cd hal_qmsi
git filter-branch --prune-empty --subdirectory-filter ext/hal/qmsi master
This will result in only the commits that touched the code in ext/hal/qmsi
Issues
- For code that is maintained in a git repository, how do we restore common history with the upstream project
© 2018-2023 Zephyr® Project. Zephyr is a trademark of the Linux Foundation.
Zephyr Project Home | Documentation Home | Mailing lists
Zephyr Project Home | Documentation Home | Mailing lists