Changes between Version 10 and Version 11 of linux/kernel
- Timestamp:
- 02/12/2019 06:07:30 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
linux/kernel
v10 v11 162 162 * PATH - make sure the directory where the toolchains compiler (${CROSS_COMPILE}gcc) executable exists. Typically you will prepend this to the default PATH 163 163 * 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) 165 165 * LOADADDR - where to relocate/uncompress the kernel to when using the uImage target 166 166 * Examples: … … 181 181 export CROSS_COMPILE=arm-openwrt-linux- 182 182 export INSTALL_MOD_PATH=install 183 export INSTALL_HDR_PATH=install184 183 export LOADADDR=0x10008000 185 184 }}} … … 228 227 * 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 229 228 * 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_PATH229 * 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) 232 231 * dtbs - for building device-tree blobs (*.dtb) from kernel source tree (Ventana/IMX6; for Newport we use out-of-kernel tree device-tree) 233 232 * Examples: 234 233 - Newport/CN80XX: 235 234 {{{#!bash 236 make Image modules modules_install headers_install235 make Image modules modules_install INSTALL_HDR_PATH=install headers_install 237 236 }}} 238 237 - Ventana/IMX6: 239 238 {{{#!bash 240 make uImage dtbs modules modules_install headers_install239 make uImage dtbs modules modules_install INSTALL_HDR_PATH=install headers_install 241 240 }}} 242 241