[Buildroot] Adding kmscube support

Peter Korsgaard peter at korsgaard.com
Sat Jan 21 12:54:24 UTC 2017


>>>>> "Fabio" == Fabio Estevam <festevam at gmail.com> writes:

Hi,

 >> $ make
 >>>>> kmscube be60c2f26fbc79038b246dc9a3b8b5fa2fa1fe54 Configuring
 >>>>> kmscube be60c2f26fbc79038b246dc9a3b8b5fa2fa1fe54 Autoreconfiguring
 >> aclocal: error: couldn't open directory 'm4': No such file or directory

 > It seems that manually creating the m4 directory like it is done in
 > other .mk packages do the trick:

 > +# Autoreconf requires an m4 directory to exist
 > +define KMSCUBE_PATCH_M4
 > +       mkdir -p $(@D)/m4
 > +endef
 > +KMSCUBE_POST_PATCH_HOOKS += KMSCUBE_PATCH_M4

Yes, that is also what the upstream autogen.sh script does:

https://github.com/austriancoder/kmscube/blob/master/autogen.sh

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list