Message ID | 1476396838-12276-19-git-send-email-gustavo.zacarias@free-electrons.com |
---|---|
State | Accepted |
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> Could you add a patch that does the same for host-ncurses as well? Regards, Arnout > --- > package/ncurses/ncurses.mk | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/ncurses/ncurses.mk b/package/ncurses/ncurses.mk > index 2764824..9555f1e 100644 > --- a/package/ncurses/ncurses.mk > +++ b/package/ncurses/ncurses.mk > @@ -127,9 +127,9 @@ endif > # ncurses breaks with parallel build, but takes quite a while to > # build single threaded. Work around it similar to how Gentoo does > define NCURSES_BUILD_CMDS > - $(MAKE1) -C $(@D) DESTDIR=$(STAGING_DIR) sources > + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) DESTDIR=$(STAGING_DIR) sources > rm -rf $(@D)/misc/pc-files > - $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) > + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) > endef > > ifneq ($(BR2_STATIC_LIBS),y) >
diff --git a/package/ncurses/ncurses.mk b/package/ncurses/ncurses.mk index 2764824..9555f1e 100644 --- a/package/ncurses/ncurses.mk +++ b/package/ncurses/ncurses.mk @@ -127,9 +127,9 @@ endif # ncurses breaks with parallel build, but takes quite a while to # build single threaded. Work around it similar to how Gentoo does define NCURSES_BUILD_CMDS - $(MAKE1) -C $(@D) DESTDIR=$(STAGING_DIR) sources + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) DESTDIR=$(STAGING_DIR) sources rm -rf $(@D)/misc/pc-files - $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) endef ifneq ($(BR2_STATIC_LIBS),y)