]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - wilink8-wlan/build-utilites.git/blobdiff - setup-env.sample
configuration.sh : update wireless-regdb branch
[wilink8-wlan/build-utilites.git] / setup-env.sample
index e96b0f30d819151cc3cf12f2831397c3fac581ec..3d877ba4d2424b6ee56867e9466bfb9c143bcdde 100644 (file)
 
 # if DEFAULT toolchain path is set toolchain will be downloaded to ./toolchain.
 export TOOLCHAIN_PATH=DEFAULT
 
 # if DEFAULT toolchain path is set toolchain will be downloaded to ./toolchain.
 export TOOLCHAIN_PATH=DEFAULT
+
 # if DEFAULT path to root filesystem is set ./fs folder will be used.
 export ROOTFS=DEFAULT
 # if DEFAULT path to root filesystem is set ./fs folder will be used.
 export ROOTFS=DEFAULT
+
 #if DEFAULT kernel path is set - kernel will be downloaded (set branch to match kernel version)
 export KERNEL_PATH=DEFAULT
 
 #if DEFAULT kernel path is set - kernel will be downloaded (set branch to match kernel version)
 export KERNEL_PATH=DEFAULT
 
+# if KERNEL_VARIANT below is set the build script will look for kernel specific
+# patches under the patches directory:
+# - patches under the pathces/driver_patches/$KERNEL_VARIANT directory would be
+#   applied during "modules" build.
+# - patches under the patches/kernel_patches/$/$KERNEL_VARIANT directory would
+#   be applied to the kernel pointed by KERNEL_PATH in case the "patch_kernel"
+#   command is used.
+#   Note: the kernel is not built automatically after the patches are applied
+export KERNEL_VARIANT=DEFAULT
+
 export CROSS_COMPILE=arm-linux-gnueabihf-
 export ARCH=arm
 [ "$TOOLCHAIN_PATH" != "DEFAULT" ] && export PATH=$TOOLCHAIN_PATH:$PATH
 export CROSS_COMPILE=arm-linux-gnueabihf-
 export ARCH=arm
 [ "$TOOLCHAIN_PATH" != "DEFAULT" ] && export PATH=$TOOLCHAIN_PATH:$PATH