ThePassionate opened a new pull request, #18017:
URL: https://github.com/apache/nuttx/pull/18017
## Kconfig: Add ALLOW_PROPRIETARY_COMPONENTS license option
### Summary
This PR adds a new license configuration option
`ALLOW_PROPRIETARY_COMPONENTS` for components that have proprietary, custom, or
non-standard open source licenses. This addresses the need identified in
nuttx-apps#3343 for handling components like the Whetstone benchmark which have
custom license terms.
### Changes
#### Files Modified
1. **Kconfig**
- Added new `ALLOW_PROPRIETARY_COMPONENTS` config option under "License
Setup" menu
- Follows the existing pattern of other license options (BSD, GPL, MIT,
etc.)
2. **Documentation/quickstart/configuring.rst**
- Added documentation for the new License Setup section
- Lists all available `ALLOW_*_COMPONENTS` options with descriptions
### Technical Details
**New License Option:**
- Enables projects to explicitly opt-in to using components with
non-standard licenses
- Covers custom permissive licenses requiring attribution
- Covers proprietary licenses with specific usage restrictions
- Covers other non-standard license terms
**Integration:**
- Placed after `ALLOW_ICS_COMPONENTS` in the License Setup menu
- Default value is `n` (disabled) for safety
- Components with custom licenses should add `depends on
ALLOW_PROPRIETARY_COMPONENTS`
### Impact
- **License Compliance**: Provides explicit opt-in mechanism for
non-standard licensed code
- **User Awareness**: Forces users to acknowledge custom license requirements
- **Consistency**: Follows established NuttX license configuration patterns
### Usage
Enable option with:
CONFIG_ALLOW_PROPRIETARY_COMPONENTS=y
### Testing
Configuration option verified.
### Reference
which discussed https://github.com/apache/nuttx-apps/pull/3343
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]