Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Patching buildroot package makefiles with BR2_EXTERNAL
@ 2022-03-08  8:57 Danilo
  2022-03-08 10:19 ` Simon Doppler
  0 siblings, 1 reply; 5+ messages in thread
From: Danilo @ 2022-03-08  8:57 UTC (permalink / raw)
  To: buildroot

Hello

I'm trying to set up an Nginx module package (nginx-rtmp-module) in a Buildroot
project that uses BR2_EXTERNAL. I added the new external package, that works.
However, Nginx modules need to be compiled along with Nginx, which means that I
need to patch the Buildroot nginx.mk file, right?

What I need to inject into the makefile, is the following:

    NGINX_DEPENDENCIES += nginx-rtmp-module
    NGINX_CONF_OPTS += --add-module=$(NGINX_RTMP_MODULE_DIR)

Is there a mechanism to do this from outside the Buildroot source? It seems
that BR2_GLOBAL_PATCH_DIR only works for packet sources, but not for Buildroot
makefiles, correct?

I tried adding the assignments above into the package makefile
(nginx-rtmp-module.mk), but that doesn't seem to work.

Any help would be appreciated!
Danilo
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-03-09 20:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-08  8:57 [Buildroot] Patching buildroot package makefiles with BR2_EXTERNAL Danilo
2022-03-08 10:19 ` Simon Doppler
2022-03-08 22:58   ` Danilo
2022-03-09 10:30     ` Simon Doppler
2022-03-09 20:10       ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox