make bacon doesnt work

Search This thread

werty100

Senior Member
Aug 31, 2011
828
679
If i try to build CM11 i get this:
make bacon -j4
make: *** No hay ninguna regla para construir el objetivo «bacon». Alto.
make otapackage -j4
make: *** No hay ninguna regla para construir el objetivo «otapackage». Alto.
I didnt understand why can someone fix this is important
 

Abhinav1997

Inactive Recognized Developer / Retired Forum Mod
Jul 29, 2012
2,590
5,306
Would be easier if you could post the log in english :) Also most probably it can't find your device so make sure the device tree is there, also make sure that the device is in vendorsetup.sh as required.

Cheers,
AJ
 

aureljared

Senior Member
May 2, 2013
970
671
dantis.me
Redmi Note 11
If i try to build CM11 i get this:
make bacon -j4
make: *** No hay ninguna regla para construir el objetivo «bacon». Alto.
make otapackage -j4
make: *** No hay ninguna regla para construir el objetivo «otapackage». Alto.
I didnt understand why can someone fix this is important

Judging from the structure of the log (too lazy to open a translator):

Code:
$ make bacon -j4
make: *** No rule to make target "bacon". Stop.
$ make otapackage -j4
make: *** No rule to make target "otapackage". Stop.

This means that make does not recognize the commands "bacon" and "otapackage".

Try this:

Code:
make -j4
make otatools -j4

Although I'm surprised it doesn't recognize "bacon".

Sent from my Galaxy Express using Tapatalk
 

MLX

Senior Member
Mar 12, 2016
196
54
21
Buenos Aires
For future readers, I was having the same issue while trying to build CM11 for my Defy, actually the problem was a missing Makefile at the top build dir (where the source was synced). Don't know why it was missing, just copied it from another repo and started building.
If anyone wonders why it does work, it's because that Makefile just includes build/core.mk or something like that.