diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/toolchain-scripts.bbclass | 2 | ||||
-rw-r--r-- | meta/recipes-core/meta/meta-environment.bb | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass index a5b2bd129b..5ec0e8a4a9 100644 --- a/meta/classes/toolchain-scripts.bbclass +++ b/meta/classes/toolchain-scripts.bbclass | |||
@@ -84,7 +84,7 @@ toolchain_create_sdk_env_script_for_installer () { | |||
84 | ln -s /usr/local local | 84 | ln -s /usr/local local |
85 | fi | 85 | fi |
86 | echo 'export CFLAGS="${TARGET_CC_ARCH} --sysroot=##SDKTARGETSYSROOT##"' >> $script | 86 | echo 'export CFLAGS="${TARGET_CC_ARCH} --sysroot=##SDKTARGETSYSROOT##"' >> $script |
87 | echo 'export CXXFLAGS="${TARGET_CC_ARCH} --sysroot=##SDKTARGETSYSROOT## -I##SDKTARGETSYSROOT##${GXX_INCLUDEDIR}"' >> $script | 87 | echo 'export CXXFLAGS="${TARGET_CC_ARCH} --sysroot=##SDKTARGETSYSROOT##"' >> $script |
88 | echo 'export POKY_NATIVE_SYSROOT="${SDKPATHNATIVE}"' >> $script | 88 | echo 'export POKY_NATIVE_SYSROOT="${SDKPATHNATIVE}"' >> $script |
89 | echo 'export POKY_TARGET_SYSROOT="##SDKTARGETSYSROOT##"' >> $script | 89 | echo 'export POKY_TARGET_SYSROOT="##SDKTARGETSYSROOT##"' >> $script |
90 | echo 'export POKY_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script | 90 | echo 'export POKY_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script |
diff --git a/meta/recipes-core/meta/meta-environment.bb b/meta/recipes-core/meta/meta-environment.bb index da8d6612c9..e5a63141cc 100644 --- a/meta/recipes-core/meta/meta-environment.bb +++ b/meta/recipes-core/meta/meta-environment.bb | |||
@@ -2,7 +2,7 @@ DESCRIPTION = "Packge of environment files for SDK" | |||
2 | LIC_FILES_CHKSUM = "file://${POKYBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ | 2 | LIC_FILES_CHKSUM = "file://${POKYBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ |
3 | file://${POKYBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | 3 | file://${POKYBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" |
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | PR = "r0" | 5 | PR = "r1" |
6 | 6 | ||
7 | EXCLUDE_FROM_WORLD = "1" | 7 | EXCLUDE_FROM_WORLD = "1" |
8 | 8 | ||
@@ -16,8 +16,6 @@ SDKTARGETSYSROOT = "${SDKPATH}/sysroots/${TARGET_SYS}" | |||
16 | 16 | ||
17 | inherit cross-canadian | 17 | inherit cross-canadian |
18 | 18 | ||
19 | GXX_INCLUDEDIR := "${target_includedir}/c++" | ||
20 | |||
21 | do_generate_content[nostamp] = "1" | 19 | do_generate_content[nostamp] = "1" |
22 | do_generate_content() { | 20 | do_generate_content() { |
23 | 21 | ||