SHARE
TWEET

Untitled

a guest Oct 21st, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. export PATH=$PATH:/root/building/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin
  3. export ARCH=arm
  4. export CROSS_COMPILE=arm-linux-gnueabihf-
  5. export KERNEL=kernel7
  6. cd linux
  7. make mrproper
  8. make bcm2709_defconfig
  9. sed -i \
  10. -e "s/\(^CONFIG_VIDEO_.*\=\).*/\1n/" \
  11. -e "s/\(^CONFIG_MEDIA_TUNER.*\=\).*/\1n/" \
  12. -e "s/\(^CONFIG_DVB.*\=\)[ym]/\1n/" \
  13. -e "s/\(^CONFIG_REISERFS.*\=\).*/\1n/" \
  14. -e "s/\(^CONFIG_JFS.*\=\).*/\1n/" \
  15. -e "s/\(^CONFIG_XFS.*\=\).*/\1n/" \
  16. -e "s/\(^CONFIG_GFS2.*\=\).*/\1n/" \
  17. -e "s/\(^CONFIG_OCFS2.*\=\).*/\1n/" \
  18. -e "s/\(^CONFIG_HFS.*\=\).*/\1n/" \
  19. -e "s/\(^CONFIG_JFFS2.*\=\)[ym]/\1n/" \
  20. -e "s/\(^CONFIG_UBIFS.*\=\).*/\1n/" \
  21. -e "s/\(^CONFIG_SQUASHFS.*\=\)[ym]/\1n/" \
  22. -e "s/\(^CONFIG_W1.*\=\)[ym]/\1n/" \
  23. -e "s/\(^CONFIG_HAMRADIO.*\=\).*/\1n/" \
  24. -e "s/\(^CONFIG_CAN.*\=\).*/\1n/" \
  25. -e "s/\(^CONFIG_IRDA.*\=\).*/\1n/" \
  26. -e "s/\(^CONFIG_WIMAX.*\=\)[ym]/\1n/" \
  27. -e "s/\(^CONFIG_6LOWPAN.*\=\).*/\1n/" \
  28. -e "s/\(^CONFIG_IEEE802154.*\=\).*/\1n/" \
  29. -e "s/\(^CONFIG_NFC.*\=\).*/\1n/" \
  30. -e "s/\(^CONFIG_FB_TFT=.*\=\).*/\1n/" \
  31. -e "s/\(^CONFIG_TOUCHSCREEN.*\=\).*/\1n/" \
  32. -e "s/\(^CONFIG_USB_GSPCA_.*\=\).*/\1n/" \
  33. -e "s/\(^CONFIG_DRM.*\=\).*/\1n/" \
  34. -e "s/\(^CONFIG_CRYPTO_AES_ARM.*\=\).*/\1n/" \
  35. -e "s/\(^CONFIG_CRYPTO_SHA1_ARM_NEON.*\=\).*/\1n/" \
  36. -e "s/\(^CONFIG_W1.*\=\).*/\1y/" \
  37. -e "s/\(^CONFIG_W1_CON.*\=\).*/\1y/" \
  38. -e "s/\(^CONFIG_BTRFS.*\=\).*/\1y/" \
  39. -e "s/\(^CONFIG_USB_LED_TRIG.*\=\).*/\1y/" \
  40. ".config"
  41. #make -j2 Image modules scripts dtbs deb-pkg
  42. make -j8 Image
  43. make -j8 modules
  44. make -j8 scripts
  45. make -j8 dtbs
  46. make -j8 deb-pkg
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top