Message ID | 1476396838-12276-9-git-send-email-gustavo.zacarias@free-electrons.com |
---|---|
State | Changes Requested |
Headers | show |
On 14-10-16 00:13, gustavo.zacarias@free-electrons.com wrote: > From: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> > > Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> > --- > package/librtas/librtas.mk | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/librtas/librtas.mk b/package/librtas/librtas.mk > index 6e1ebd1..0af47e0 100644 > --- a/package/librtas/librtas.mk > +++ b/package/librtas/librtas.mk > @@ -15,11 +15,11 @@ define LIBRTAS_BUILD_CMDS > endef > > define LIBRTAS_INSTALL_STAGING_CMDS > - $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) install > + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) install Hm, the LIBRTAS_BUILD_COMMANDS use TARGET_CONFIGURE_OPTS instead of TARGET_MAKE_ENV. So perhaps it nicer to use TARGET_CONFIGURE_OPTS as well for the install commands? Regards, Arnout > endef > > define LIBRTAS_INSTALL_TARGET_CMDS > - $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install > + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install > endef > > $(eval $(generic-package)) >
diff --git a/package/librtas/librtas.mk b/package/librtas/librtas.mk index 6e1ebd1..0af47e0 100644 --- a/package/librtas/librtas.mk +++ b/package/librtas/librtas.mk @@ -15,11 +15,11 @@ define LIBRTAS_BUILD_CMDS endef define LIBRTAS_INSTALL_STAGING_CMDS - $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) install + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) install endef define LIBRTAS_INSTALL_TARGET_CMDS - $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install endef $(eval $(generic-package))