Older kernels needs more config options
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 6 Feb 2014 12:09:22 +0000 (13:09 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 6 Feb 2014 12:09:22 +0000 (13:09 +0100)
continuous/steps/20-config

index 1b1dd4e..d5a9fff 100755 (executable)
@@ -12,6 +12,13 @@ conf() {
     echo CONFIG_$1=$2 >> .config
 }
 
+GDESC=$(git describe)
+if [ ${GDESC#v2.6} != ${GDESC} ]; then
+    conf PPC_DISABLE_WERROR y
+fi
+
+conf BINFMT_ELF y
+
 conf BLK_DEV_INITRD y
 conf INITRAMFS_SOURCE '""'
 conf INITRAMFS_ROOT_UID 0