[Buildroot] [PATCH v2] package/mhz: add new package

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon Jul 31 12:51:53 UTC 2023


On Mon, 31 Jul 2023 15:24:14 +0300
Baruch Siach <baruch at tkos.co.il> wrote:

> > +define MHZ_BUILD_CMDS
> > +	$(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS) $(TARGET_LDFLAGS)" -C $(@D)  
> 
> Are you sure you need TARGET_LDFLAGS here?

What about:

	$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)

This will also pass LDFLAGS, which is used by the upstream Makefile.

Thoams
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com



More information about the buildroot mailing list