diff options
author | Ting Liu <ting.liu@freescale.com> | 2015-12-23 21:01:22 +0800 |
---|---|---|
committer | Zhenhua Luo <zhenhua.luo@nxp.com> | 2015-12-28 11:00:58 +0800 |
commit | 486c7c091635b8bd7134fb796694bf472c3feed0 (patch) | |
tree | 917ab980a97e6dd58aad54355ae1710c1c1fcb60 | |
parent | d71375eab4cd6df78cbb57f7a56508957cd6f59e (diff) | |
download | meta-fsl-ppc-486c7c091635b8bd7134fb796694bf472c3feed0.tar.gz |
linux-qoriq: replace tab with spaces
Signed-off-by: Ting Liu <ting.liu@freescale.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
-rw-r--r-- | recipes-kernel/linux/linux-qoriq.inc | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/recipes-kernel/linux/linux-qoriq.inc b/recipes-kernel/linux/linux-qoriq.inc index 30ab775..a4c28c7 100644 --- a/recipes-kernel/linux/linux-qoriq.inc +++ b/recipes-kernel/linux/linux-qoriq.inc | |||
@@ -19,28 +19,28 @@ KERNEL_LD_append = " ${TOOLCHAIN_OPTIONS}" | |||
19 | SCMVERSION ?= "y" | 19 | SCMVERSION ?= "y" |
20 | DELTA_KERNEL_DEFCONFIG ?= "" | 20 | DELTA_KERNEL_DEFCONFIG ?= "" |
21 | do_configure_prepend() { | 21 | do_configure_prepend() { |
22 | # copy desired defconfig so we pick it up for the real kernel_do_configure | 22 | # copy desired defconfig so we pick it up for the real kernel_do_configure |
23 | cp ${KERNEL_DEFCONFIG} ${B}/.config | 23 | cp ${KERNEL_DEFCONFIG} ${B}/.config |
24 | 24 | ||
25 | # add config fragments | 25 | # add config fragments |
26 | for deltacfg in ${DELTA_KERNEL_DEFCONFIG}; do | 26 | for deltacfg in ${DELTA_KERNEL_DEFCONFIG}; do |
27 | if [ -f "${deltacfg}" ]; then | 27 | if [ -f "${deltacfg}" ]; then |
28 | ${S}/scripts/kconfig/merge_config.sh -m .config ${deltacfg} | 28 | ${S}/scripts/kconfig/merge_config.sh -m .config ${deltacfg} |
29 | elif [ -f "${S}/arch/powerpc/configs/${deltacfg}" ]; then | 29 | elif [ -f "${S}/arch/powerpc/configs/${deltacfg}" ]; then |
30 | ${S}/scripts/kconfig/merge_config.sh -m .config \ | 30 | ${S}/scripts/kconfig/merge_config.sh -m .config \ |
31 | ${S}/arch/powerpc/configs/${deltacfg} | 31 | ${S}/arch/powerpc/configs/${deltacfg} |
32 | fi | 32 | fi |
33 | done | 33 | done |
34 | 34 | ||
35 | #add git revision to the local version | 35 | #add git revision to the local version |
36 | if [ "${SCMVERSION}" = "y" ]; then | 36 | if [ "${SCMVERSION}" = "y" ]; then |
37 | # append sdk version if SDK_VERSION is defined | 37 | # append sdk version if SDK_VERSION is defined |
38 | sdkversion='' | 38 | sdkversion='' |
39 | if [ -n "${SDK_VERSION}" ]; then | 39 | if [ -n "${SDK_VERSION}" ]; then |
40 | sdkversion="-${SDK_VERSION}" | 40 | sdkversion="-${SDK_VERSION}" |
41 | fi | 41 | fi |
42 | head=`git --git-dir=${S}/.git rev-parse --verify --short HEAD 2> /dev/null` | 42 | head=`git --git-dir=${S}/.git rev-parse --verify --short HEAD 2> /dev/null` |
43 | printf "%s%s%s" $sdkversion +g $head > ${B}/.scmversion | 43 | printf "%s%s%s" $sdkversion +g $head > ${B}/.scmversion |
44 | fi | 44 | fi |
45 | } | 45 | } |
46 | 46 | ||