diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2015-01-06 18:20:20 -0600 |
---|---|---|
committer | Mark Hatle <mark.hatle@windriver.com> | 2016-02-01 16:59:08 -0600 |
commit | 9e9f8b01736c00bb061ec56404956fbb4dedef6a (patch) | |
tree | 302e81cbc54099e24247f629b1e2adcf829d4a3f /recipes-core | |
parent | 4f648730cb6bc4daf50ddf9e2bd6e3a3f3c42de2 (diff) | |
download | meta-mingw-9e9f8b01736c00bb061ec56404956fbb4dedef6a.tar.gz |
meta-environment: Update environment files to batch files
Since the environment .sh files can't be used on a normal windows machine,
change to providing .bat files instead. The same mechanisms normally used
can be used on the Windows command line. i.e.
Unix way:
$ source environment-setup-armv5te-wrs-linux-gnueabi.sh
$ $CC hello.c
Win32 way:
C:\Users\mhatle\win-sdk>environment-setup-armv5te-wrs-linux-gnueabi.bat
C:\Users\mhatle\win-sdk>%CC% hello.c
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Diffstat (limited to 'recipes-core')
-rw-r--r-- | recipes-core/meta/meta-environment.bbappend | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-core/meta/meta-environment.bbappend b/recipes-core/meta/meta-environment.bbappend new file mode 100644 index 0000000..0846042 --- /dev/null +++ b/recipes-core/meta/meta-environment.bbappend | |||
@@ -0,0 +1,4 @@ | |||
1 | TCSCRIPTS ?= "" | ||
2 | TCSCRIPTS_sdkmingw32 = "toolchain-scripts-mingw32" | ||
3 | |||
4 | inherit ${TCSCRIPTS} | ||