Changes between Version 10 and Version 11 of linux/kernel


Ignore:
Timestamp:
02/12/2019 06:07:30 PM (5 years ago)
Author:
Tim Harvey
Comment:

clarify INSTALL_HDR_PATH needs to be passed to make vs env var

Legend:

Unmodified
Added
Removed
Modified
  • linux/kernel

    v10 v11  
    162162 * PATH - make sure the directory where the toolchains compiler (${CROSS_COMPILE}gcc) executable exists. Typically you will prepend this to the default PATH
    163163 * INSTALL_MOD_PATH - where to install kernel modules too if using the 'modules_install' build target (in our examples we install to ./install)
    164  * INSTALL_HDR_PATH - where to install header files if using the 'headers_install' build target (in our examples we install to ./install)
     164 * INSTALL_HDR_PATH - where to install header files if using the 'headers_install' build target (in our examples we install to ./install; note that this needs to be passed into make as opposed to an env var)
    165165 * LOADADDR - where to relocate/uncompress the kernel to when using the uImage target
    166166 * Examples:
     
    181181export CROSS_COMPILE=arm-openwrt-linux-
    182182export INSTALL_MOD_PATH=install
    183 export INSTALL_HDR_PATH=install
    184183export LOADADDR=0x10008000
    185184}}}
     
    228227 * uImage - compressed kernel wrapped in a U-Boot image header (use this for Ventana/IMX6) which requires the $LOADADDR env variable to tell U-Boot where to uncompress the kernel to
    229228 * modules - for building loadable kernel modules (*.ko)
    230  * modules_install - for installing the loadable kernel modules to $INSTALL_MOD_PATH
    231  * headers_install - for installing kernel header files to $INSTALL_HDR_PATH
     229 * modules_install - for installing the loadable kernel modules to $INSTALL_MOD_PATH (env)
     230 * headers_install - for installing kernel header files to INSTALL_HDR_PATH (which must be passed in to make)
    232231 * dtbs - for building device-tree blobs (*.dtb) from kernel source tree (Ventana/IMX6; for Newport we use out-of-kernel tree device-tree)
    233232 * Examples:
    234233  - Newport/CN80XX:
    235234{{{#!bash
    236 make Image modules modules_install headers_install
     235make Image modules modules_install INSTALL_HDR_PATH=install headers_install
    237236}}}
    238237  - Ventana/IMX6:
    239238{{{#!bash
    240 make uImage dtbs modules modules_install headers_install
     239make uImage dtbs modules modules_install INSTALL_HDR_PATH=install headers_install
    241240}}}
    242241