Jasu / gemini-pda-buildroot

Attempt to run mainline on the Gemini PDA
8 stars 1 forks source link

Missing ext directory #1

Open markspanbroek opened 5 years ago

markspanbroek commented 5 years ago

When I clone the repo, and then run 'make init' I get the following error:

cd ext/buildroot && make BR2_EXTERNAL=../../    init
/bin/sh: 1: cd: can't cd to ext/buildroot
Makefile:24: recipe for target 'buildroot_make' failed
make: *** [buildroot_make] Error 2

Am I missing something? There seems to be no ext directory.

NotKit commented 5 years ago

If you check Makefile, ext directory contains cloned https://github.com/osm0sis/mkbootimg.git and git://git.buildroot.net/buildroot repositories, which is possible to do manually even if Makefile fails to do this for some reason.

markspanbroek commented 5 years ago

Thanks! Indeed in the Makefile there are targets for ext/buildroot and ext/mkbootimg. But for some reason when I call make init, it doesn't create these targets. It seems that it calls the buildroot_make instead.

I'm by no means a Makefile expert, but while experimenting with some changes to the Makefile, I found out that removing the semicolon from this line ensures that make init start working again:

%: buildroot_make;

It seems that when I call make init that it doesn't match the init target, but the wildcard % target instead. I have no idea why removing the semicolon changes that behaviour.

develroo commented 5 years ago

That might be an errant typo. Because the default is without semi-colon too.