arm: tegra: config: build invensens as .so
authorJajambo Liao <jajambol@nvidia.com>
Wed, 2 Jul 2014 08:03:38 +0000 (16:03 +0800)
committerMitch Luban <mluban@nvidia.com>
Tue, 8 Jul 2014 19:29:53 +0000 (12:29 -0700)
commit64fe6714dec40e1c46ebe939449423e0c1475e5a
treef010f7449f4b5b72cf7d41713065b6188bfb6601
parent4697544145e660db3e894b76e14d613f1bc6ab3c
arm: tegra: config: build invensens as .so

change invensens build method from dynamic library to
  static library
- modify CONFIG_INV_MPU, CONFIG_INV_AKM8975, CONFIG_INV_BMP180
  to be "=y", build those module as static library
- remove "insmod inv-mpu.ko", "insmod inv-ak8975.ko"
  "insmod inv-bmp180.ko" command from init script
- set init priority of akm89xx/bmp180 as late_initcall
  That will make sure system always loaded akm89xx/bmp180 after
  inv-mpu module when those modules was builded as static library.

Bug 1468040

Change-Id: Ie9e1362a0d91298cb6b8f9a082f90a36e02dc2e2
Signed-off-by: Jajambo Liao <jajambol@nvidia.com>
Reviewed-on: http://git-master/r/433538
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>
arch/arm/configs/tegra12_android_defconfig
arch/arm/configs/tegra12_defconfig
arch/arm/configs/tegra_ardbeg_mods_defconfig
arch/arm/configs/tegra_p2360_gnu_linux_defconfig
arch/arm/configs/tegra_vcm30t124_android_defconfig
arch/arm64/configs/tegra13_android_defconfig
arch/arm64/configs/tegra13_defconfig
arch/arm64/configs/tegra_t132ref_mods_defconfig
chromeos/config/armel/chromeos-tegra114.flavour.config