diff options
Diffstat (limited to 'enea-init-build-env')
-rwxr-xr-x | enea-init-build-env | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/enea-init-build-env b/enea-init-build-env index 9bc5bab43f..ba545a9112 100755 --- a/enea-init-build-env +++ b/enea-init-build-env | |||
@@ -200,10 +200,7 @@ else | |||
200 | echo "*** Info: Inheriting distrodata." | 200 | echo "*** Info: Inheriting distrodata." |
201 | fi | 201 | fi |
202 | 202 | ||
203 | echo -e '\nLICENSE_FLAGS_WHITELIST += "non-commercial"\n' >> conf/local.conf | 203 | if [[ -n $DISTRO ]]; then |
204 | echo "*** Info: Need to set LICENSE_FLAGS_WHITELIST for netperf" | ||
205 | |||
206 | if [[ -n $DISTRO ]]; then | ||
207 | sed -i -e "s|^DISTRO.*|DISTRO ?= \"$DISTRO\"|" conf/local.conf | 204 | sed -i -e "s|^DISTRO.*|DISTRO ?= \"$DISTRO\"|" conf/local.conf |
208 | sed -i -e 's|^PACKAGE_CLASSES ?= "package_rpm"|PACKAGE_CLASSES ?= "package_rpm package_ipk"|' conf/local.conf | 205 | sed -i -e 's|^PACKAGE_CLASSES ?= "package_rpm"|PACKAGE_CLASSES ?= "package_rpm package_ipk"|' conf/local.conf |
209 | echo "*** Info: Setting PACKAGE_CLASSES to ipk and rpm" | 206 | echo "*** Info: Setting PACKAGE_CLASSES to ipk and rpm" |