hisilicon-opensdk: fix module install order for hi3516cv500#1988
Closed
hisilicon-opensdk: fix module install order for hi3516cv500#1988
Conversation
441b6b7 to
ad892b7
Compare
- Enable opensdk for hi3516av300_lite and hi3516dv300_lite defconfigs - osdrv: skip .ko, sensor .so, libisp.so install when opensdk is enabled (avoids per-package merge conflict where osdrv overwrites opensdk modules) - opensdk: install libisp.so built from source Verified on hardware: - hi3516ev300_lite: open_ modules, JPEG OK (no regression) - hi3516av300 + imx415: open_ modules with vendor names in hisilicon/, opensdk libisp.so, Majestic JPEG OK Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
ad892b7 to
0f538c8
Compare
Member
Author
|
Superseded by #1987 which is already merged. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
opensdk modules are not overwriting vendor osdrv modules because in buildroot per-package mode, install order depends on package dependencies. Without an explicit dependency, osdrv's per-package target wins during the final merge.
Fix
Add
HISILICON_OPENSDK_DEPENDENCIES += hisilicon-osdrv-hi3516cv500(conditional on CV500 being enabled) so opensdk builds and installs after osdrv. This ensures opensdk's renamed modules overwrite the vendor ones inhisilicon/.🤖 Generated with Claude Code