Commit Graph

15 Commits

Author SHA1 Message Date
Yu Wang
6c4599c854 qcacld-3.0: add support for multi ko
To build multiple ko for different wlan targets

CRs-Fixed: 2381715
Change-Id: I50593edd316df33486d208abdb2d1019403a53ae
2019-01-30 00:02:51 -08:00
Yuanyuan Liu
49948f1d08 qcacld-3.0: Remove deprecated ANDROID_BUILD_TOP for new SP
ANDROID_BUILD_TOP variable is being deprecated and thus all paths are
assumed to be relative to the top directory.
However, this is causing problem when some of the paths are constructed
in the Android build system and used in the non-Android makefiles that
are usually executed NOT at the top directory but at a sub directory
using -C option. As a result, the relative path from the Android build
system become invalid in the non-Android makefiles.
In order to overcome the restriction, ANDROID_BUILD_TOP is manually
constructed when invoking the non-Android makefiles by using $$(pwd).
The non-Android makefiles are expected to construct the absolute path
by prepending ANDROID_BUILD_TOP to any path that came from the Android
build system.
Specifically, Kbuild is modified so that ANDROID_BUILD_TOP is prepended
to WLAN_ROOT and WLAN_COMMON_INC to make them absolute paths.

Change-Id: Ic34de7a2bc407153085eb3eb154d6dd71f04eedb
CRs-Fixed: 2328210
2018-10-17 02:07:03 -07:00
Yuanyuan Liu
1ee6cd32ff qcacld-3.0: move wlan_mac.bin to /mnt/vendor/persist
Move wlan_mac.bin symlink from /persist to /mnt/vendor/persist as
/persist doesn't exist in the filesystem anymore.

Change-Id: Ibb4b7f133222bf5431f754ef5fbf3b3db1ef8729
CRs-Fixed: 2327274
2018-10-04 20:12:46 -07:00
Rajiv Ranjan
11f3a5772b qcacld-3.0: Correct symbolic link for wlan.ko
In Treble bsed architecture, wlan driver generated
can be part of vendor image or system image. Symbolic
link is corrected so that wlan.ko points to correct path
irrespective of split/non-split image.

Change-Id: Ia3f237d2797e4526bfd6c089e54df1622886bf56
CRs-Fixed: 2078121
2017-08-06 05:00:09 -07:00
Sameer Thalappil
b4d7b211cd qcacld-3.0: Fix Module location for Treble builds
Fix the location to include /lib/modules for Treble enabled
builds. This was incorrectly added when the change was made
to support installing WLAN driver to KERNEL_MODULES_OUT.

CRs-Fixed: 2078384
Change-Id: Iafacc998922b2693f7e8e228a72cbc9a2f71b081
2017-08-06 03:57:49 -07:00
Sameer Thalappil
64271516af qcacld-3.0: Install WLAN modules to KERNEL_MODULES_OUT
Add support to install WLAN module to KERNEL_MODULES_OUT.
During full treble build, modules installed directly in the
vendor locations gets wiped out during the build process.

CRs-Fixed: 2076401
Change-Id: I8229708da7c4d1a1c366b5b305f481ccb52f3833
2017-08-01 04:14:33 -07:00
Sameer Thalappil
ba309e1b5e qcacld-3.0: Use absolute path for header files
Pass absolute path from Android.mk to reference driver
header files.

CRs-Fixed: 2029635
Change-Id: I20885ec6b2f60270a9626d7d4cf465ff72c5f2cc
2017-04-09 13:57:23 -07:00
Yue Ma
1e382ffa9b qcacld-3.0: Add new method to build/use driver based on targets
Add the change to build and set WLAN driver as default for different
targets based on target specific flags WIFI_DRIVER_BUILT and
WIFI_DRIVER_DEFAULT.

KERNEL_TO_BUILD_ROOT_OFFSET needs to be set a default value if upper
level makefiles do not define it.

Change-Id: I4768b8c75a5d4042d01c3ddfb67b20c13e42463a
CRs-fixed: 1005069
2016-04-25 22:55:34 -07:00
Yue Ma
188f59ac35 qcacld-3.0: Correct common project header files path
Under new kernel tree structure, the kernel can be either directly
under build_root/kernel or in a subdirectory within it. The WLAN
module has a hard coded assumption for the header files path of
newly added common project. Hence add the change to correct it based
on KERNEL_TO_BUILD_ROOT_OFFSET.

Change-Id: Ibe3a61a62cd2b2cea65c5a14f2bf70b998787f54
CRs-fixed: 992940
2016-04-21 11:08:11 -07:00
Yue Ma
decd7afddd qcacld-3.0: Support new build tree structure
The kernel can be either directly under build_root/kernel or in a
subdirectory within it. The WLAN module has a hard coded assumption
for the path. Hence add the changes to correct it based on flags
TARGET_KERNEL_VERSION and KERNEL_TO_BUILD_ROOT_OFFSET.

Change-Id: Ic4738da5c414a1ce1d74e2b42b918b906f5fda98
CRs-fixed: 992940
2016-04-17 18:13:07 -07:00
Prakash Dhavali
08abad6c0d qcacld-3.0: Cleanup proprietary and old stale lines
qcacld-3.0: Cleanup proprietary and old stale lines
Restrict build to msm8994,96,98,msmcobalt platform
variants.

Change-Id: Ic89ce4a786e884c24ab20ee201d9558f6cccc867
CRs-Fixed: 688141
2016-04-13 22:52:01 -07:00
Houston Hoffman
9a6db86fea qcacld-3.0: Adjust relative path to common
Need to adjust relative path to common repository after
relocating the base of the mcl git project.

Change-Id: Ib2cdab8756ec294e00e391d21a400ec82de76c70
CRs-Fixed: 688141
2016-03-29 10:49:43 -07:00
Prashanth Bhatta
7e58dd3820 qcacld-3.0: Kbuild: Build with qca-wifi-host-cmn
With common code is separated into qca-wifi-host-cmn project, add
Kbuild instructions to build along with qca-wifi-host-cmn project.

Change-Id: Ie28d348ed6874e5b2ee0d1fb8d9451513db9771a
CRs-fixed: 978124
2016-03-24 11:58:28 -07:00
Satish Singh
fbb9b37358 qcacld-3.0: Add compilation flag for qcacld3.0
Add compilation flag for qcacld3.0

Change-Id: Ic779d6d133c6bb7ca51f7806e1c2694ff537bbae
CRs-Fixed: 894947
2015-12-02 12:55:27 -08:00
Prakash Dhavali
7090c5fd8d qcacld-3.0: Initial snapshot of ihelium wlan driver
qcacld-3.0: Initial snapshot of ihelium wlan driver
to match code-scanned SU Release 5.0.0.139. This is
open-source version of wlan for next Android release.

Change-Id: Icf598ca97da74f84bea607e4e902d1889806f507
2015-11-17 17:52:53 -08:00