AsahiLinux / m1n1

A bootloader and experimentation playground for Apple Silicon
MIT License
3.57k stars 206 forks source link

Trouble with bootlogo_128.o and bootlogo_256.o not in the tree #206

Closed xfim closed 2 years ago

xfim commented 2 years ago

Dear all,

I am trying to build m1n1 to use it in my MacStudio. But I am having trouble with a simple make because it complains that there is no rule to process the logos:

  TAG   build/build_tag.h
  CFG   build/build_cfg.h
  CC    build/adt.o
  CC    build/afk.o
  CC    build/aic.o
  CC    build/asc.o
make: *** No rule to make target 'data/bootlogo_128.png', needed by 'build/bootlogo_128.bin'.  Stop.

The png files with the logos are there, but not the .o. Also, if I comment line X in the Makefile it can run fine until it complains in fb.c that there is a problem with the logo.

Is it supposed to be a src/bootlogo_128.o or src/bootlogo_256.o? Is convert supposed to handle this automatically? Sorry I believe I am missing something very easy, but I can't seem to figure it out.

Thank you very much for your support.

xfim commented 2 years ago

Line X -> Line 74

xfim commented 2 years ago

Solved by running git submodule init && git submodule update before make.