diff options
author | Karel Kočí <cynerd@email.cz> | 2015-07-28 22:42:45 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2015-08-12 10:22:55 +0200 |
commit | 440bca33aaeb7ed453948c933eaaef42e2eb0f6e (patch) | |
tree | 95200bfea919171d3acba0a265bd97c29f3ac64f /measure_scripts/20-config | |
parent | 7f470bd576f8b66345d22ee72b1a4ec57fd13c93 (diff) | |
download | linux-conf-perf-440bca33aaeb7ed453948c933eaaef42e2eb0f6e.tar.gz linux-conf-perf-440bca33aaeb7ed453948c933eaaef42e2eb0f6e.tar.bz2 linux-conf-perf-440bca33aaeb7ed453948c933eaaef42e2eb0f6e.zip |
Add external scripts and set boot configuration
Diffstat (limited to 'measure_scripts/20-config')
-rwxr-xr-x | measure_scripts/20-config | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/measure_scripts/20-config b/measure_scripts/20-config new file mode 100755 index 0000000..707b318 --- /dev/null +++ b/measure_scripts/20-config @@ -0,0 +1,71 @@ +#!/bin/sh + +set -e + +cd ../linux + +export ARCH=powerpc +make allnoconfig + +conf() { + sed -i -n -e "/\\bCONFIG_$1\\b/!p" .config + 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 +conf INITRAMFS_ROOT_GID 0 +conf INITRAMFS_COMPRESSION_NONE y +conf INITRAMFS_COMPRESSION_GZIP n +conf INITRAMFS_COMPRESSION_BZIP2 n +conf INITRAMFS_COMPRESSION_LZMA n +conf INITRAMFS_COMPRESSION_XZ n +conf INITRAMFS_COMPRESSION_LZO n +conf RD_GZIP y # Needed for 3.17+ +conf SIGNALFD y # Needed since v3.17-5503-g35a9ad8 to enable ANON_INODES (only needed until the problem http://mid.gmane.org/87vbnt1js4.fsf@steelpick.2x.cz is fixed) + +conf PPC_MPC52xx y +conf PPC_MPC5200_SIMPLE y +conf SERIAL_CORE y +conf SERIAL_CORE_CONSOLE y +conf SERIAL_MPC52xx y +conf SERIAL_MPC52xx_CONSOLE y +conf SERIAL_MPC52xx_CONSOLE_BAUD 115200 + +conf NET y +conf CAN y +conf CAN_RAW y +conf CAN_GW y +conf CAN_VCAN y +conf CAN_DEV y +conf CAN_CALC_BITTIMING y +conf CAN_MSCAN y +conf CAN_MPC5XXX y + +conf NETDEVICES y +conf ETHERNET y +conf DMADEVICES y +conf PPC_BESTCOMM y +conf NET_VENDOR_FREESCALE y +conf FEC_MPC52xx y +conf FEC_MPC52xx_MDIO y + +conf TTY y +conf PROC_FS y +conf PRINTK y # Not needed but useful for debugging + +# To have netlink for kernel cangw +conf INET y +conf NETFILTER y + +conf PACKET y # ugw mmap + +chronic ../other_scripts/my-oldconfig.pl |