[Buildroot] Adding kmscube support

Fabio Estevam festevam at gmail.com
Sat Jan 21 11:57:06 UTC 2017


On Fri, Jan 20, 2017 at 11:21 PM, Fabio Estevam <festevam at gmail.com> wrote:
> Hi,
>
> I am trying to build kmscube package so that I can test etnaviv from
> mesa 17.0.0-rc1.
>
> Here is the quick patch version for adding kmscube:
> http://pastebin.com/MVz86aE6
>
> After doing a make I get:
>
> $ 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



More information about the buildroot mailing list