qcacld-3.0: Allow out-of-tree build with relative path in M

The Make variable $(M) must point to the directory that contains the
module source code (which includes this Makefile). It can either be an
absolute or a relative path. If it is a relative path, then it must be
relative to the kernel source directory (KERNEL_SRC). An absolute path
can be obtained very easily through $(shell pwd). Generating a path
relative to KERNEL_SRC is difficult and we accept some outside help by
letting the caller override the variable $(M). Allowing a relative path
for $(M) enables us to have the build system put output/object files
(.o, .ko.) into a directory different from the module source directory.

Change-Id: Ic5dbcaa4579e4b7fe8b01399e03293c3bd425d27
CRs-Fixed: 2182672
1 file changed
tree: 94a085da36d34383df9c2b8a188892f20648603c
  1. components/
  2. core/
  3. uapi/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile
  8. README.txt