summaryrefslogtreecommitdiffstats
path: root/meta/conf/bitbake.conf
diff options
context:
space:
mode:
authorTimothy Pearson <tpearson@raptorengineering.com>2017-08-27 16:27:02 -0500
committerTimothy Pearson <tpearson@raptorengineering.com>2017-08-27 16:27:02 -0500
commit70149e7efe56624c2fe6786070eb5420de877cdb (patch)
tree704a9eadcfc26bd9f10cf6e9dd3ae8673a58b8c3 /meta/conf/bitbake.conf
parent528bdf528d8bfca7746543f61609b9aceb54d53b (diff)
downloadast2050-yocto-poky-70149e7efe56624c2fe6786070eb5420de877cdb.zip
ast2050-yocto-poky-70149e7efe56624c2fe6786070eb5420de877cdb.tar.gz
Make builds functional on Debian Stretch
Add AST2050 / KGPE-D16 files
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r--meta/conf/bitbake.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 2b3c110..b086cc9 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -485,10 +485,10 @@ PATCHRESOLVE = 'user'
# Build flags and options.
##################################################################
-export BUILD_CPPFLAGS = "-isystem${STAGING_INCDIR_NATIVE}"
-BUILDSDK_CPPFLAGS = "-isystem${STAGING_INCDIR}"
+export BUILD_CPPFLAGS = "-isystem${STAGING_INCDIR_NATIVE} -Wno-nonnull-compare -Wno-misleading-indentation -Wno-shift-negative-value -Wno-unused-const-variable -Wno-unused-but-set-variable"
+BUILDSDK_CPPFLAGS = "-isystem${STAGING_INCDIR} -Wno-nonnull-compare -Wno-misleading-indentation -Wno-shift-negative-value -Wno-unused-const-variable -Wno-unused-but-set-variable"
export CPPFLAGS = "${TARGET_CPPFLAGS}"
-export TARGET_CPPFLAGS = ""
+export TARGET_CPPFLAGS = "-Wno-nonnull-compare -Wno-misleading-indentation -Wno-shift-negative-value -Wno-unused-const-variable -Wno-unused-but-set-variable"
#export TARGET_CPPFLAGS = "-isystem${STAGING_DIR_TARGET}${includedir}"
export BUILD_CFLAGS = "${BUILD_CPPFLAGS} ${BUILD_OPTIMIZATION}"
OpenPOWER on IntegriCloud