]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - continuous/steps/20-config
continuous: Fix configuration step for newer kernels
[can-benchmark.git] / continuous / steps / 20-config
index 1b1dd4e8ac0264043cb2c4539d2e28c155168caa..a58c94f4c650afbf10dffd558c1852dbbfb54969 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
@@ -55,4 +62,4 @@ conf NETFILTER y
 
 conf PACKET y # ugw mmap
 
-yes n|chronic make oldconfig
+chronic ../my-oldconfig.pl