summaryrefslogtreecommitdiff
path: root/config_host.mk.source
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2012-07-23 16:35:01 +0200
committerJan Holesovsky <kendy@suse.cz>2012-07-23 16:35:31 +0200
commit17ddd27bf543eadebe3d950b5184ffce48bd5014 (patch)
tree645c5e26e53abd712700f930c7fe99867d0f104b /config_host.mk.source
parent6a90d4ec8afd1e58c9b69f4de1364d5b5624300b (diff)
Use config_host.mk.source when configuring 'build' for cross-compilation.
Change-Id: I2e6e2a98bbaf515ececa75948d6b20bf9a093fe5
Diffstat (limited to 'config_host.mk.source')
-rw-r--r--config_host.mk.source3
1 files changed, 2 insertions, 1 deletions
diff --git a/config_host.mk.source b/config_host.mk.source
index 10dd6177b035..89f5f4b8109e 100644
--- a/config_host.mk.source
+++ b/config_host.mk.source
@@ -5,6 +5,7 @@
# source ./config_host.mk.source
temp_conf=`mktemp config_host.mk.XXXXXX`
-sed -e 's/^\s*\(export [A-Z0-9_]*=\)\(.*\)$/\1"\2"/' config_host.mk >$temp_conf
+sed -e 's/^\s*\(export [A-Z0-9_]*=\)\(.*\)$/\1"\2"/' \
+ -e 's/^\s*export\s\+\([A-Z0-9_]*\)?=\(.*\)$/export \1="${\1:-\2}"/' config_host.mk >$temp_conf
source ./$temp_conf
rm $temp_conf