Unable to config board

Recommended Posts

Hello, guys,


may I ask you to fix the code below so that I can put my custom "sun6i.conf" file into "userpatches/sources/" ?

Currently your code makes it impossible because LINUXFAMILY variable is forcibly set to "sunxi" in sunxi_common.inc file.

What you can easily do is introducing a new variable so that one can know that LINUXFAMILY was overwritten.




[[ ! -f $SRC/config/sources/$LINUXFAMILY.conf ]] && \
        exit_with_error "Sources configuration not found" "$LINUXFAMILY"

source $SRC/config/sources/$LINUXFAMILY.conf

if [[ -f $SRC/userpatches/sources/$LINUXFAMILY.conf ]]; then
        display_alert "Adding user provided $LINUXFAMILY overrides"
        source $SRC/userpatches/sources/$LINUXFAMILY.conf




Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.