meta-phosphor: missing space on CFLAG_append
FOO_append is effectively an alias for 'FOO=FOO+FOO_append',
so it is a common pattern to preceed the FOO_append string
with a space.
Right: FOO_append = " bar"
Results in FOO="foo bar"
Wrong: FOO_append = "bar"
Results in FOO="foobar"
Fix incorrect CFLAG_append entries in recipes to avoid
compile errors like:
Error: configure: error: C compiler cannot create
executables
Change-Id: Id81af5666b173aca35eb28f541a8325db1d438fd
Signed-off-by: Saqib Khan <khansa@us.ibm.com>
diff --git a/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-bt.bb b/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-bt.bb
index 438e2fd..f83c873 100644
--- a/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-bt.bb
+++ b/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-bt.bb
@@ -22,5 +22,5 @@
SRCREV="68bcce035ac7029d3110b53fb07848067da56b40"
# This is how linux-libc-headers says to include custom uapi headers
-CFLAGS_append = "-I ${STAGING_KERNEL_DIR}/include/uapi"
+CFLAGS_append = " -I ${STAGING_KERNEL_DIR}/include/uapi"
do_configure[depends] += "virtual/kernel:do_shared_workdir"
diff --git a/meta-phosphor/common/recipes-phosphor/mboxd/mboxd.bb b/meta-phosphor/common/recipes-phosphor/mboxd/mboxd.bb
index 0a55f24..9a7f716 100644
--- a/meta-phosphor/common/recipes-phosphor/mboxd/mboxd.bb
+++ b/meta-phosphor/common/recipes-phosphor/mboxd/mboxd.bb
@@ -24,7 +24,7 @@
# Hacks because ${STAGING_KERNEL_DIR} points to the kernel source tree, not the
# installed, pre-processed headers. Requires the aspeed-lpc-ctrl-h patch above.
-CFLAGS_append = "-I include"
+CFLAGS_append = " -I include"
do_install_append() {
install -d ${D}/lib/udev/rules.d