-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setup script fails creating correct makefiles #140
Comments
I'm happy to have a look if you can point me at the repos. I might be a bit slow in replying since we just moved to a new house and still busy with lots of things including setting up my new build PC ;) I tested this previously with about 10 different devices from pretty much every manufacturer. In case there were issues previously this was usually due to some issues in the repos. But it could of course be that there's a mistake in the script! |
Thanks for looking into this. My device's repo is here:
which I basically forked from the official CM repo (so the error should occur here as well):
|
@fcipaq I'm having some issues getting Halium builds to work on my new (K)Ubuntu 18.04 builder. I'm looking into it, but it's not helping in debugging this quickly. |
@Herrie82 Ok, no worries. I found an easy workaround to make the repo files work with the setup script. So this issue is more meant to avoid problems in future ports... |
Well I got (K)Ubuntu to behave with my 18.04 for Halium 5.1 and 7.1 now. So could start to debug, but good to see you have a workaround. Curious to see what you did. |
Well... I just hardcoded VENDOR and DEVICE inside both "setup-makefiles.sh" scripts. It may be a little hacky but is perfectly working for me. |
When merge my pull request? |
Hey,
I'm having issues running the setup script to create the file $DEVICE-vendor-blobs.mk
I am using a device which has a device specific repo and a common repo.
Running the setup script results in the creation of a proper $DEVICE-vendor-blobs.mk which is immediately overwritten by a broken version of that file. (I could observe this by using >> instead of >)
The problematic piece of code seems to be in lines 104-123:
While VENDOR and DEVICE are exported (104, 105), the directory is changed to $DEVICE_COMMON_TREE (113). This causes the setup-makefiles.sh script from the repo (Asus Z00A) to create a file with the appropriate content for $DEVICE_COMMON_TREE, but the files goes erroneously to vendor/$VENDOR/$DEVICE (instead of the common vendor directory).
This eventually leads to the build failing. I can fix it by commenting out line 121.
halium-devices/setup
Lines 104 to 123 in 57d7390
Is this a compatibility issue between the halium setup script and the repo's script, or did I miss something out?
The text was updated successfully, but these errors were encountered: