aport for LG K7
Created by: rhetr
I'm trying to port pmOS to an LG-K330 (AT&T LG-K7), which I believe is codenamed m1 (I think it has the same kernel as the MetroPCS variant MS330).
I found kernel source here, removed the default patches added by pmbootstrap and added 00_fix_return_address.patch
which I got from other aports I was able to menuconfig and kconfig, but I'm unable to successfully build. I keep getting these errors:
drivers/soc/qcom/lge/lge_boot_mode.c:197:9: error: 'LGEUSB_FACTORY_56K' undeclared (first use in this function)
res = LGEUSB_FACTORY_56K;
...
drivers/soc/qcom/lge/lge_boot_mode.c:218:8: error: variable 'lge_android_usb_pdata' has initializer but incomplete type
struct lge_android_usb_platform_data lge_android_usb_pdata = {
I'm getting the same issue with LGEUSB_FACTORY_130K / 910K
. I looked and LGEUSB_FACTORY_56K
and lge_android_usb_platform_data
are both defined in include/linux/platform_data/lge_android_usb.h, is the header just not being included or something?
I get a similar error for platform_device
, which is defined in include/linux/platform_device.h:
drivers/soc/qcom/lge/lge_boot_mode.c:228:8: error: variable 'lge_android_usb_device' has initializer but incomplete type
struct platform_device lge_android_usb_device = {
There are more errors that I think are related to the ones I've listed above. I've attached a more complete error log and my APKBUILD.