adafruit / Adafruit-Pi-Kernel-o-Matic

https://learn.adafruit.com/raspberry-pi-kernel-o-matic
94 stars 16 forks source link

Raspberry Pi v1 & v2 kernel compile support #6

Closed toddtreece closed 9 years ago

toddtreece commented 9 years ago

This branch adds a step to support compiling kernels for the Pi v1 & v2. The -c config file argument was replaced with -1 for the config file for the RasPi v1 kernel config and -2 for the RasPi v2 config file.

~$ sudo adabuild -h
usage: adabuild [options]
 This will build the Raspberry Pi Kernel.
 OPTIONS:
    -h        Show this message
    -r        The remote git repo to clone
              Default: https://github.com/raspberrypi/linux
    -b        The git branch to use
              Default: Default git branch of repo
    -1        The config file to use when compiling for Raspi v1
              Default: arch/arm/configs/bcmrpi_defconfig
    -2        The config file to use when compiling for Raspi v2
              Default: arch/arm/configs/bcm2709_defconfig