linux: fix sh equality operator
authorAndreas Oberritter <obi@opendreambox.org>
Tue, 26 Oct 2010 15:43:03 +0000 (15:43 +0000)
committerMichael Smith <msmith@cbnco.com>
Sun, 14 Nov 2010 23:36:53 +0000 (18:36 -0500)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Acked-by: Michael Smith <msmith@cbnco.com>
17 files changed:
recipes/linux/ep93xx-kernel_2.6.17+2.6.18-rc1.bb
recipes/linux/ep93xx-kernel_2.6.19+2.6.20-rc7.bb
recipes/linux/gumstix-linux.inc
recipes/linux/ixp4xx-kernel.inc
recipes/linux/linux-bd-neon-2.6_2.6.22.bb
recipes/linux/linux-hackndev-2.6_git.bb
recipes/linux/linux-handhelds-2.6.inc
recipes/linux/linux-magicbox-2.6.19.2/209-mini_fo.patch
recipes/linux/linux-mtx-1_2.4.27.bb
recipes/linux/linux-mtx-2_2.4.27.bb
recipes/linux/linux-mtx-3_2.6.15.4.bb
recipes/linux/linux-mtx-3_2.6.15.bb
recipes/linux/linux-navman_2.6.18.bb
recipes/linux/linux-palm-omap1_2.6.22-omap1.bb
recipes/linux/linux-tornado-omap2_2.6.16.16.bb
recipes/linux/mx21ads-kernel_2.6.19rc6.bb
recipes/linux/netbook-pro-kernel_2.6.17.bb

index 4e3c858..fa49df7 100644 (file)
@@ -27,7 +27,7 @@ do_configure() {
         fi
 
 
-        if [ "${TARGET_OS}" == "linux-gnueabi" -o  "${TARGET_OS}" == "linux-uclibceabi" ]; then
+        if [ "${TARGET_OS}" = "linux-gnueabi" -o  "${TARGET_OS}" = "linux-uclibceabi" ]; then
                echo "CONFIG_AEABI=y"                   >> ${S}/.config
                 echo "CONFIG_OABI_COMPAT=y"             >> ${S}/.config
         else
index b17b5f7..1c74f82 100644 (file)
@@ -26,7 +26,7 @@ do_configure() {
         fi
 
 
-        if [ "${TARGET_OS}" == "linux-gnueabi" -o  "${TARGET_OS}" == "linux-uclibceabi" ]; then
+        if [ "${TARGET_OS}" = "linux-gnueabi" -o  "${TARGET_OS}" = "linux-uclibceabi" ]; then
                echo "CONFIG_AEABI=y"                   >> ${S}/.config
                 echo "CONFIG_OABI_COMPAT=y"             >> ${S}/.config
         else
index e6d7bec..5fae245 100644 (file)
@@ -15,7 +15,7 @@ do_deploy[dirs] = "${S}"
 do_configure_prepend() {
         echo "" > ${S}/.config
 
-        if [ "${TARGET_OS}" == "linux-gnueabi" -o  "${TARGET_OS}" == "linux-uclibceabi" ]; then
+        if [ "${TARGET_OS}" = "linux-gnueabi" -o  "${TARGET_OS}" = "linux-uclibceabi" ]; then
                 echo "CONFIG_AEABI=y"                   >> ${S}/.config
                 echo "CONFIG_OABI_COMPAT=y"             >> ${S}/.config
         else
index cd5a952..201a1a8 100644 (file)
@@ -192,7 +192,7 @@ do_configure_prepend() {
                echo 'CONFIG_CPU_BIG_ENDIAN=y' >>'${S}/.config'
        fi
 
-        if [ "${TARGET_OS}" == "linux-gnueabi" -o  "${TARGET_OS}" == "linux-uclibceabi" ]; then               
+        if [ "${TARGET_OS}" = "linux-gnueabi" -o  "${TARGET_OS}" = "linux-uclibceabi" ]; then               
                 echo "CONFIG_AEABI=y"                   >> ${S}/.config               
                 echo "CONFIG_OABI_COMPAT=y"             >> ${S}/.config       
         else
index a029044..83782d7 100644 (file)
@@ -22,7 +22,7 @@ ALLOW_EMPTY = "1"
 do_configure() {
         cp arch/arm/configs/neon_defconfig .config || die "No default configuration for ${MACHINE} available."
 
-#        if [ "${TARGET_OS}" == "linux-gnueabi" -o  "${TARGET_OS}" == "linux-uclibceabi" ]; then
+#        if [ "${TARGET_OS}" = "linux-gnueabi" -o  "${TARGET_OS}" = "linux-uclibceabi" ]; then
 #                echo "CONFIG_AEABI=y"                   >> ${S}/.config
 #                echo "CONFIG_OABI_COMPAT=y"             >> ${S}/.config
 #        else
index a302bee..ac05b61 100644 (file)
@@ -30,7 +30,7 @@ do_configure() {
                        || die "No default configuration for ${MACHINE} available."
        fi
 
-       if [ "${TARGET_OS}" == "linux-gnueabi" -o  "${TARGET_OS}" == "linux-uclibceabi" ]; then
+       if [ "${TARGET_OS}" = "linux-gnueabi" -o  "${TARGET_OS}" = "linux-uclibceabi" ]; then
                 echo "CONFIG_AEABI=y"                   >> ${S}/.config
                 echo "CONFIG_OABI_COMPAT=y"             >> ${S}/.config
         else
index 7c5949e..acd1ee0 100644 (file)
@@ -50,7 +50,7 @@ do_configure() {
                echo "CONFIG_INITRAMFS_SOURCE=\"${WORKDIR}/initramfs.cpio\"" >> ${S}/.config
        fi
 
-       if [ "${TARGET_OS}" == "linux-gnueabi" -o  "${TARGET_OS}" == "linux-uclibceabi" ]; then
+       if [ "${TARGET_OS}" = "linux-gnueabi" -o  "${TARGET_OS}" = "linux-uclibceabi" ]; then
                echo "CONFIG_AEABI=y"                   >> ${S}/.config
                echo "CONFIG_OABI_COMPAT=y"             >> ${S}/.config
        else
@@ -74,7 +74,7 @@ do_deploy_append() {
        echo "${MACHINE}-kernel-${DATETIME} ${KERNEL_IMAGE_BASE_NAME} - kernel" >> ${DEPLOY_DIR_IMAGE}/reflash.ctl
        gen_haret_startup
 
-       if [ -n "${KERNEL_INITRAMFS_PATH}" -a "${ANGSTROMLIBC}" == "glibc" ]; then
+       if [ -n "${KERNEL_INITRAMFS_PATH}" -a "${ANGSTROMLIBC}" = "glibc" ]; then
                cp ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-$(basename ${KERNEL_INITRAMFS_PATH} | awk -F. '{print $1}')-${PV}-${PR}-${MACHINE}.bin 
        fi
 }   
index a8e6d88..c7d3b3e 100644 (file)
@@ -5680,10 +5680,10 @@ diff -urN linux-2.6.19.old/fs/mini_fo/mini_fo-merge linux-2.6.19.dev/fs/mini_fo/
 +COMMAND=
 +exec_command()
 +{
-+    if [ x$DRYRUN == "xset" ]; then
++    if [ x$DRYRUN = "xset" ]; then
 +      echo "  would run: $COMMAND"
 +    elif ! [ x$DRYRUN == "xset" ]; then
-+      if [ x$VERBOSE == "xset" ]; then
++      if [ x$VERBOSE = "xset" ]; then
 +          echo "  running: $COMMAND"
 +      fi
 +      eval $COMMAND
@@ -5737,7 +5737,7 @@ diff -urN linux-2.6.19.old/fs/mini_fo/mini_fo-merge linux-2.6.19.dev/fs/mini_fo/
 +  esac
 +done
 +
-+if [ "x$HELP" == "xset" ]; then
++if [ "x$HELP" = "xset" ]; then
 +    usage
 +    exit -1
 +fi
@@ -5908,7 +5908,7 @@ diff -urN linux-2.6.19.old/fs/mini_fo/mini_fo-overlay linux-2.6.19.dev/fs/mini_f
 +
 +BASE="$1"
 +
-+if [ "x$HELP" == "xset" ]; then
++if [ "x$HELP" = "xset" ]; then
 +    usage
 +    exit -1
 +fi
index a20099f..f5bd6ed 100644 (file)
@@ -59,7 +59,7 @@ MTX_KERNEL_NON_PCI_OHCI = "yes"
 
 do_configure_prepend() {
         install -m 0644 ${WORKDIR}/defconfig-mtx-1 ${S}/.config
-       if [ "x${MTX_KERNEL_NON_PCI_OHCI}" == "xyes" ]; then
+       if [ "x${MTX_KERNEL_NON_PCI_OHCI}" = "xyes" ]; then
                echo "CONFIG_USB_NON_PCI_OHCI=y" >> ${S}/.config
        fi
 }
index fb4c104..02ddeca 100644 (file)
@@ -67,7 +67,7 @@ PACKAGE_ARCH = "mtx-2"
 
 do_configure_prepend() {
         install -m 0644 ${WORKDIR}/defconfig-mtx-2 ${S}/.config
-       if [ "x${MTX_KERNEL_NON_PCI_OHCI}" == "xyes" ]; then
+       if [ "x${MTX_KERNEL_NON_PCI_OHCI}" = "xyes" ]; then
                echo "CONFIG_USB_NON_PCI_OHCI=y" >> ${S}/.config
        fi
 }
index 25ed27e..32e57cc 100644 (file)
@@ -40,7 +40,7 @@ PACKAGE_ARCH = "mtx-3"
 
 do_configure_prepend() {
         install -m 0644 ${WORKDIR}/defconfig-mtx-3 ${S}/.config
-       if [ "x${MTX_KERNEL_NON_PCI_OHCI}" == "xyes" ]; then
+       if [ "x${MTX_KERNEL_NON_PCI_OHCI}" = "xyes" ]; then
                echo "CONFIG_USB_NON_PCI_OHCI=y" >> ${S}/.config
        fi
 }
index 8bb3a82..98cad22 100644 (file)
@@ -32,7 +32,7 @@ PACKAGE_ARCH = "mtx-3"
 
 do_configure_prepend() {
         install -m 0644 ${WORKDIR}/defconfig-mtx-3 ${S}/.config
-       if [ "x${MTX_KERNEL_NON_PCI_OHCI}" == "xyes" ]; then
+       if [ "x${MTX_KERNEL_NON_PCI_OHCI}" = "xyes" ]; then
                echo "CONFIG_USB_NON_PCI_OHCI=y" >> ${S}/.config
        fi
 }
index 14bd10f..491a424 100644 (file)
@@ -26,7 +26,7 @@ do_configure() {
         fi
 
 
-        if [ "${TARGET_OS}" == "linux-gnueabi" -o  "${TARGET_OS}" == "linux-uclibceabi" ]; then
+        if [ "${TARGET_OS}" = "linux-gnueabi" -o  "${TARGET_OS}" = "linux-uclibceabi" ]; then
                echo "CONFIG_AEABI=y"                   >> ${S}/.config
                 echo "CONFIG_OABI_COMPAT=y"             >> ${S}/.config
         else
index fc1e974..0c3705d 100644 (file)
@@ -25,7 +25,7 @@ do_configure() {
        fi
        
 
-       if [ "${TARGET_OS}" == "linux-gnueabi" -o  "${TARGET_OS}" == "linux-uclibceabi" ]; then
+       if [ "${TARGET_OS}" = "linux-gnueabi" -o  "${TARGET_OS}" = "linux-uclibceabi" ]; then
                 echo "CONFIG_AEABI=y"                   >> ${S}/.config
                 echo "CONFIG_OABI_COMPAT=y"             >> ${S}/.config
         else
index bea99a7..64f223d 100644 (file)
@@ -24,7 +24,7 @@ do_configure() {
         fi
 
 
-        if [ "${TARGET_OS}" == "linux-gnueabi" -o  "${TARGET_OS}" == "linux-uclibceabi" ]; then
+        if [ "${TARGET_OS}" = "linux-gnueabi" -o  "${TARGET_OS}" = "linux-uclibceabi" ]; then
                 echo "CONFIG_AEABI=y"                   >> ${S}/.config
                 echo "CONFIG_OABI_COMPAT=y"             >> ${S}/.config
         else
index 6891d7f..19003de 100644 (file)
@@ -26,7 +26,7 @@ RPROVIDES_kernel-image += "hostap-modules"
 do_configure_prepend() {
        install -m 0644 ${WORKDIR}/mx21ads_defconfig ${S}/defconfig
 
-        if [ "${TARGET_OS}" == "linux-gnueabi" -o  "${TARGET_OS}" == "linux-uclibceabi" ]; then
+        if [ "${TARGET_OS}" = "linux-gnueabi" -o  "${TARGET_OS}" = "linux-uclibceabi" ]; then
                 echo "CONFIG_AEABI=y"                   >> ${S}/.config
                 echo "CONFIG_OABI_COMPAT=y"             >> ${S}/.config
         else
index 151a649..f7dd441 100644 (file)
@@ -27,7 +27,7 @@ do_configure() {
         fi
 
 
-        if [ "${TARGET_OS}" == "linux-gnueabi" -o  "${TARGET_OS}" == "linux-uclibceabi" ]; then
+        if [ "${TARGET_OS}" = "linux-gnueabi" -o  "${TARGET_OS}" = "linux-uclibceabi" ]; then
                 echo "CONFIG_AEABI=y"                   >> ${S}/.config
                 echo "CONFIG_OABI_COMPAT=y"             >> ${S}/.config
         else