This is fsl SDK specific, and was recommended to go to SDK layer:
http://patches.openembedded.org/patch/34623/
Signed-off-by: Ting Liu <b28495@freescale.com>
+++ /dev/null
-diff --git a/rcS b/rcS
-index 080b04f..51425ff 100755
---- a/rcS
-+++ b/rcS
-@@ -22,6 +22,11 @@ export PATH runlevel prevlevel
- . /etc/default/rcS
-
- #
-+# Update the hostname according to actual board type
-+#
-+echo `cat /proc/cpuinfo | grep model | cut -d "," -f 2 | tr "[A-Z]" "[a-z]"` > /etc/hostname
-+
-+#
- # Trap CTRL-C &c only in this shell so we can interrupt subprocesses.
- #
- trap ":" INT QUIT TSTP
-FILESEXTRAPATHS_prepend_fsl := "${THISDIR}/files:"
+PRINC := "${@int(PRINC) + 1}"
-PR_fsl .= "+${DISTRO}.1"
-
-SRC_URI_append_fsl = " file://auto-detect-hostname.patch;patchdir=../"