Changes between Version 2 and Version 3 of OpenWrt/kernelconfig


Ignore:
Timestamp:
11/07/2018 12:06:37 AM (9 months ago)
Author:
Ryan Erbstoesser
Comment:

add section for editing kernel in openwrt build

Legend:

Unmodified
Added
Removed
Modified
  • OpenWrt/kernelconfig

    v2 v3  
    8585}}}
    8686
     87== Making Edits to Kernel Files and Rebuilding ==
     88Typically this would be done via a patch in OpenWrt.
     89
     90However, it is possible to edit a kernel .c file in an existing build and then rebuild with the changes.
     91
     92Example given below for Gateworks !OpenWrt 16.02
     93 * Edit kernel file in build dir:
     94{{{
     95vi build_dir/target-arm_cortex-a9+neon_musl-1.1.12_eabi/linux-imx6/linux-4.4/drivers/net/usb/qmi_wwan.c
     96}}}
     97 * Recompile kernel
     98{{{
     99make target/linux/compile
     100}}}
     101 * Push artifacts to !OpenWrt build system
     102{{{
     103make target/linux/install
     104}}}
     105 * Recompile !OpenWrt .ubi images (for Ventana NAND)
     106{{{
     107make -C gateworks/ imx6
     108}}}
     109
    87110
    88111