Pablito2020 / android_device_bq_krillin

🌲 device tree for the bq E4.5
11 stars 6 forks source link

Can not locate config makefile #10

Closed come-maiz closed 6 years ago

come-maiz commented 6 years ago

Hello!

Thanks a lot for your work. I want to use lineageos on my krillin, but I also want to learn and help with the port. I'm new to all this, so I don't really understand what I'm doing wrong, but my brunch command is failing.

I did this:

$ mkdir -p android/system
$ cd android/system
$ repo init -u git://github.com/LineageOS/android.git -b cm-14.1
$ repo sync --force-sync 
$ mkdir -p device/bq/
$ git -C device/bq clone https://github.com/Pablito2020/android_device_bq_krillin krillin
$ mkdir -p vendor/bq
$ git -C vendor/bq clone https://github.com/Pablito2020/android_vendor_bq_krillin krillin
$ . build/envsetup.sh
including device/bq/krillin/vendorsetup.sh
### Patches in bionic
Applying: Apply LIBC version to __pthread_gettid
Using index info to reconstruct a base tree...
M   libc/bionic/ndk_cruft.cpp
M   libc/libc.arm.map
M   libc/libc.map.txt
M   libc/libc.mips.map
M   libc/libc.x86.map
Falling back to patching base and 3-way merge...
No changes -- Patch already applied.
### Patches in frameworks/av
fatal: previous rebase directory .git/rebase-apply still exists but mbox given.
including device/generic/mini-emulator-arm64/vendorsetup.sh
including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
including device/generic/mini-emulator-x86_64/vendorsetup.sh
including device/generic/mini-emulator-x86/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
including vendor/cm/bash_completion/git.bash
including vendor/cm/bash_completion/repo.bash
$ brunch lineage_krillin-userdebug
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:245: *** Can not locate config makefile for product "lineage_krillin".  Stop.
Device krillin not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Repository for krillin not found in the CyanogenMod Github repository list. If this is in error, you may need to manually add it to your local_manifests/roomservice.xml.
build/core/product_config.mk:245: *** Can not locate config makefile for product "lineage_krillin".  Stop.
build/core/product_config.mk:245: *** Can not locate config makefile for product "lineage_krillin".  Stop.

** Don't have a product spec for: 'lineage_krillin'
** Do you have the right repo manifest?

No such item in brunch menu. Try 'breakfast'

I'm probably doing something stupid that's obvious to somebody who has build lineage before, but I have no clue. Can you give me a hand?

come-maiz commented 6 years ago

Hum, apparently I did:

$ repo init -u git://github.com/LineageOS/android.git -b cm-14.0

instead of cm-14.1.

This is a little confusing because the default branch of this repo is named cm-14.0. But things look good now, let's see if I can build and install it.