Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r41407
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@41408
3c298f89-4303-0410-b956-
a3cf2f4a3e73
#!/usr/bin/env bash
BASEDIR="$PWD"
ENVDIR="$PWD/env"
#!/usr/bin/env bash
BASEDIR="$PWD"
ENVDIR="$PWD/env"
chdir "$FindBin::Bin/..";
$ENV{TOPDIR}=getcwd();
$ENV{GIT_CONFIG_PARAMETERS}="'core.autocrlf=false'";
chdir "$FindBin::Bin/..";
$ENV{TOPDIR}=getcwd();
$ENV{GIT_CONFIG_PARAMETERS}="'core.autocrlf=false'";
my $mk=`which gmake 2>/dev/null`; # select the right 'make' program
chomp($mk); # trim trailing newline
my $mk=`which gmake 2>/dev/null`; # select the right 'make' program
chomp($mk); # trim trailing newline