Skip to content

Instantly share code, notes, and snippets.

@mikebrady
Last active October 11, 2018 14:13
Show Gist options
  • Save mikebrady/05576dc37000146c7d8c6e2cbf42cefc to your computer and use it in GitHub Desktop.
Save mikebrady/05576dc37000146c7d8c6e2cbf42cefc to your computer and use it in GitHub Desktop.
ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make bcm2709_defconfig && \
ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make menuconfig && \
ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make -j 12 && \
cp arch/arm/boot/dts/*.dtb /media/mike/boot/ && \
cp arch/arm/boot/dts/overlays/*.dtb* /media/mike/boot/overlays/ && \
cp arch/arm/boot/dts/overlays/README /media/mike/boot/overlays/ && \
cp arch/arm/boot/zImage /media/mike/boot/kernel7.img && \
sudo -s && \
ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make modules_install INSTALL_MOD_PATH=/media/mike/rootfs && \
sync
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment