diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-29 23:46:45 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-30 00:03:46 +0100 |
commit | cbe0bb6c246cf25a9a159c5963c095d718c59878 (patch) | |
tree | c1f93bf6ed2fee0140d7cbcec602168359d7ce0f /classes/toolchain-scripts-mingw32.bbclass | |
parent | 8f3b6e3772879dc2caec8fe249ce277fbb1aa55f (diff) | |
download | meta-mingw-cbe0bb6c246cf25a9a159c5963c095d718c59878.tar.gz |
meta-mingw: Convert to new override syntax
This converts the layer to the new override syntax. This was done using
<oe-core>/scripts/contrib/convert-overrides.py <this-layer>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'classes/toolchain-scripts-mingw32.bbclass')
-rw-r--r-- | classes/toolchain-scripts-mingw32.bbclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/classes/toolchain-scripts-mingw32.bbclass b/classes/toolchain-scripts-mingw32.bbclass index 0afbf7d..d96cb40 100644 --- a/classes/toolchain-scripts-mingw32.bbclass +++ b/classes/toolchain-scripts-mingw32.bbclass | |||
@@ -1,5 +1,5 @@ | |||
1 | # Based off of the oe-core meta/classes/toolchain-scripts.bbclass version | 1 | # Based off of the oe-core meta/classes/toolchain-scripts.bbclass version |
2 | toolchain_create_sdk_env_script_sdkmingw32 () { | 2 | toolchain_create_sdk_env_script:sdkmingw32 () { |
3 | # Create environment setup script | 3 | # Create environment setup script |
4 | sdkpathnative=${7:-${SDKPATHNATIVE}} | 4 | sdkpathnative=${7:-${SDKPATHNATIVE}} |
5 | prefix=${6:-${prefix_nativesdk}} | 5 | prefix=${6:-${prefix_nativesdk}} |
@@ -54,7 +54,7 @@ toolchain_create_sdk_env_script_sdkmingw32 () { | |||
54 | mv $script.new $script | 54 | mv $script.new $script |
55 | } | 55 | } |
56 | 56 | ||
57 | toolchain_shared_env_script_sdkmingw32 () { | 57 | toolchain_shared_env_script:sdkmingw32 () { |
58 | echo 'set CC=${TARGET_PREFIX}gcc ${TARGET_CC_ARCH} --sysroot=%SDKTARGETSYSROOT%' >> $script | 58 | echo 'set CC=${TARGET_PREFIX}gcc ${TARGET_CC_ARCH} --sysroot=%SDKTARGETSYSROOT%' >> $script |
59 | echo 'set CXX=${TARGET_PREFIX}g++ ${TARGET_CC_ARCH} --sysroot=%SDKTARGETSYSROOT%' >> $script | 59 | echo 'set CXX=${TARGET_PREFIX}g++ ${TARGET_CC_ARCH} --sysroot=%SDKTARGETSYSROOT%' >> $script |
60 | echo 'set CPP=${TARGET_PREFIX}gcc -E ${TARGET_CC_ARCH} --sysroot=%SDKTARGETSYSROOT%' >> $script | 60 | echo 'set CPP=${TARGET_PREFIX}gcc -E ${TARGET_CC_ARCH} --sysroot=%SDKTARGETSYSROOT%' >> $script |
@@ -94,13 +94,13 @@ toolchain_shared_env_script_sdkmingw32 () { | |||
94 | EOF | 94 | EOF |
95 | } | 95 | } |
96 | 96 | ||
97 | toolchain_create_sdk_siteconfig_append_sdkmingw32 () { | 97 | toolchain_create_sdk_siteconfig:append:sdkmingw32 () { |
98 | # Make the file windows friendly... | 98 | # Make the file windows friendly... |
99 | awk 'sub("$", "\r")' $siteconfig > $siteconfig.new | 99 | awk 'sub("$", "\r")' $siteconfig > $siteconfig.new |
100 | mv $siteconfig.new $siteconfig | 100 | mv $siteconfig.new $siteconfig |
101 | } | 101 | } |
102 | 102 | ||
103 | toolchain_create_sdk_version_append_sdkmingw32 () { | 103 | toolchain_create_sdk_version:append:sdkmingw32 () { |
104 | # Make the file windows friendly... | 104 | # Make the file windows friendly... |
105 | awk 'sub("$", "\r")' $versionfile > $versionfile.new | 105 | awk 'sub("$", "\r")' $versionfile > $versionfile.new |
106 | mv $versionfile.new $versionfile | 106 | mv $versionfile.new $versionfile |