Skip to content

Commit

Permalink
build: ensure the early path doesn't leak into later build steps
Browse files Browse the repository at this point in the history
Leads to broken symlink setup by OpenWrt, usually breaking the build with
a "Too many levels of symbolic links" message.

Fixes #716.
  • Loading branch information
neocturne committed Apr 2, 2016
1 parent 5b0a3ea commit 679a199
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,14 @@ export LC_ALL LANG

export SHELL:=/usr/bin/env bash

GLUONPATH ?= $(PATH)
export GLUONPATH := $(GLUONPATH)

empty:=
space:= $(empty) $(empty)

GLUONMAKE_EARLY = $(SUBMAKE) -C $(GLUON_ORIGOPENWRTDIR) -f $(GLUONDIR)/Makefile GLUON_TOOLS=0 QUILT=
GLUONMAKE = $(SUBMAKE) -C $(GLUON_OPENWRTDIR) -f $(GLUONDIR)/Makefile
GLUONMAKE_EARLY = PATH=$(GLUONPATH) $(SUBMAKE) -C $(GLUON_ORIGOPENWRTDIR) -f $(GLUONDIR)/Makefile GLUON_TOOLS=0 QUILT=
GLUONMAKE = PATH=$(GLUONPATH) $(SUBMAKE) -C $(GLUON_OPENWRTDIR) -f $(GLUONDIR)/Makefile

ifneq ($(OPENWRT_BUILD),1)

Expand Down

0 comments on commit 679a199

Please sign in to comment.