summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/packages/linux/linux-rp.inc16
1 files changed, 8 insertions, 8 deletions
diff --git a/meta/packages/linux/linux-rp.inc b/meta/packages/linux/linux-rp.inc
index fe52edb68f..570ed0e046 100644
--- a/meta/packages/linux/linux-rp.inc
+++ b/meta/packages/linux/linux-rp.inc
@@ -61,9 +61,9 @@ module_autoload_snd-soc-poodle_poodle = "snd-soc-poodle"
61do_configure() { 61do_configure() {
62 rm -f ${S}/.config 62 rm -f ${S}/.config
63 63
64 if [ "${MACHINE}" == "tosa" ]; then 64 if [ "${MACHINE}" = "tosa" ]; then
65 gcc_version=`${KERNEL_CC} -dumpversion` 65 gcc_version=`${KERNEL_CC} -dumpversion`
66 if [ "${gcc_version}" == "4.0.1" ] || [ "${gcc_version}" == "4.0.2" ]; then 66 if [ "${gcc_version}" = "4.0.1" ] || [ "${gcc_version}" = "4.0.2" ]; then
67 die "tosa kernel wont work with gcc 4.0.x" 67 die "tosa kernel wont work with gcc 4.0.x"
68 fi 68 fi
69 fi 69 fi
@@ -72,12 +72,12 @@ do_configure() {
72 die "No default configuration for ${MACHINE} available." 72 die "No default configuration for ${MACHINE} available."
73 fi 73 fi
74 74
75 if [ "${MACHINE}" == "collie" ]; then 75 if [ "${MACHINE}" = "collie" ]; then
76 mempos=`echo "obase=16; $mem * 1024 * 1024" | bc` 76 mempos=`echo "obase=16; $mem * 1024 * 1024" | bc`
77 rdsize=`echo "$rd * 1024" | bc` 77 rdsize=`echo "$rd * 1024" | bc`
78 total=`expr $mem + $rd` 78 total=`expr $mem + $rd`
79 addr=`echo "obase=16; ibase=16; C0000000 + $mempos" | bc` 79 addr=`echo "obase=16; ibase=16; C0000000 + $mempos" | bc`
80 if [ "$rd" == "0" ] 80 if [ "$rd" = "0" ]
81 then 81 then
82 echo "No RAMDISK" 82 echo "No RAMDISK"
83 echo "# CONFIG_MTD_MTDRAM_SA1100 is not set" >> ${S}/.config 83 echo "# CONFIG_MTD_MTDRAM_SA1100 is not set" >> ${S}/.config
@@ -92,7 +92,7 @@ do_configure() {
92 92
93 echo "CONFIG_CMDLINE=\"${CMDLINE}\"" >> ${S}/.config 93 echo "CONFIG_CMDLINE=\"${CMDLINE}\"" >> ${S}/.config
94 94
95 #if [ "${ENABLE_ELPP}" == "yes" ]; then 95 #if [ "${ENABLE_ELPP}" = "yes" ]; then
96 # echo "# Enhanced Linux Progress Patch" >> ${S}/.config 96 # echo "# Enhanced Linux Progress Patch" >> ${S}/.config
97 # echo "CONFIG_FB_ELPP=y" >> ${S}/.config 97 # echo "CONFIG_FB_ELPP=y" >> ${S}/.config
98 # echo "CONFIG_LOGO=y" >> ${S}/.config 98 # echo "CONFIG_LOGO=y" >> ${S}/.config
@@ -101,7 +101,7 @@ do_configure() {
101 # echo "# CONFIG_FB_ELPP is not set" >> ${S}/.config 101 # echo "# CONFIG_FB_ELPP is not set" >> ${S}/.config
102 #fi 102 #fi
103 103
104 if [ "${TARGET_OS}" == "linux-gnueabi" ]; then 104 if [ "${TARGET_OS}" = "linux-gnueabi" ]; then
105 echo "CONFIG_AEABI=y" >> ${S}/.config 105 echo "CONFIG_AEABI=y" >> ${S}/.config
106 echo "CONFIG_OABI_COMPAT=y" >> ${S}/.config 106 echo "CONFIG_OABI_COMPAT=y" >> ${S}/.config
107 else 107 else
@@ -109,7 +109,7 @@ do_configure() {
109 echo "# CONFIG_OABI_COMPAT is not set" >> ${S}/.config 109 echo "# CONFIG_OABI_COMPAT is not set" >> ${S}/.config
110 fi 110 fi
111 111
112 if [ "${DISTRO}" == "openzaurus" ]; then 112 if [ "${DISTRO}" = "openzaurus" ]; then
113 case ${MACHINE} in 113 case ${MACHINE} in
114 c7x0 | akita | spitz ) 114 c7x0 | akita | spitz )
115 echo "CONFIG_LOGO_OZ640_CLUT224=y" >> ${S}/.config 115 echo "CONFIG_LOGO_OZ640_CLUT224=y" >> ${S}/.config
@@ -130,7 +130,7 @@ do_configure() {
130 echo "CONFIG_LOGO=y" >> ${S}/.config 130 echo "CONFIG_LOGO=y" >> ${S}/.config
131 echo "# CONFIG_LOGO_LINUX_CLUT224 is not set" >> ${S}/.config 131 echo "# CONFIG_LOGO_LINUX_CLUT224 is not set" >> ${S}/.config
132 echo "# CONFIG_LOGO_OHAND_CLUT224 is not set" >> ${S}/.config 132 echo "# CONFIG_LOGO_OHAND_CLUT224 is not set" >> ${S}/.config
133 elif [ "${DISTRO}" == "poky" ]; then 133 elif [ "${DISTRO}" = "poky" ]; then
134 echo "CONFIG_LOGO=y" >> ${S}/.config 134 echo "CONFIG_LOGO=y" >> ${S}/.config
135 echo "CONFIG_LOGO_OHAND_CLUT224=y" >> ${S}/.config 135 echo "CONFIG_LOGO_OHAND_CLUT224=y" >> ${S}/.config
136 echo "# CONFIG_LOGO_OZ240_CLUT224 is not set" >> ${S}/.config 136 echo "# CONFIG_LOGO_OZ240_CLUT224 is not set" >> ${S}/.config