Skip to content

Instantly share code, notes, and snippets.

@manjotsidhu
Created January 5, 2018 11:38
Show Gist options
  • Save manjotsidhu/c10ee53b26a401294d6c1866bb91c1ef to your computer and use it in GitHub Desktop.
Save manjotsidhu/c10ee53b26a401294d6c1866bb91c1ef to your computer and use it in GitHub Desktop.
Build Config for Travis-ci
language: c
#######################################################################################
os:
- linux
addons:
apt:
packages:
- curl
#######################################################################################
before_install:
- sudo apt-get update -qq
- git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8 ~/arm-eabi-4.8/
#######################################################################################
script:
- export CROSS_COMPILE=~/arm-eabi-4.8/bin/arm-eabi-
- export KBUILD_BUILD_USER="manjotsidhu"
- export KBUILD_BUILD_HOST="GAD"
- make <codename>_defconfig
- make -j2
after_success:
- curl --upload-file arch/arm/boot/zImage https://transfer.sh/kernel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment