Quectel EG25-G LTE modem
Hi,
I'm trying to make a recipie for a quectel-cm driver. I created a folder for it and put all the source files into a file folder.
This would be the first time that I'm making a recipie for multiple files with a Makefile. In the manuals there is only an example for a singe helloworld.c file, which is easy. I tried with devtool to add a recipe but it's just skeleton.
Could you help me to to create a good recipe file for this quectel driver please?
Here are the sources:
--
Zolee
Hi Zolee,
You might want to have a look at our LuneOS meta-smartphone layer where one of our devs added the modem support for the modem of the PinePhone which seems to be the same one:
https://github.com/shr-distribution/meta-smartphone/tree/gatesgarth/meta-qualcomm-modems
Best regards,
Herman
Quoted 14 lines · Zoltan Kerenyi Nagy
Hi,
I'm trying to make a recipie for a quectel-cm driver. I created a folder for it and put all the source files into a file folder.
This would be the first time that I'm making a recipie for multiple files with aMakefile. In the manuals there is only an example for a singehelloworld.cfile, which is easy. I tried with devtool to add a recipe but it's just skeleton.Could you help me to to create a good recipe file for this quectel driver please?
Here are the sources:
Signature · 1 line
Zolee
Thanks,
I managed to compile it in the meantime with this recipe:
DESCRIPTION = "Quectel-CM"
SECTION = "quectel"
LICENSE="CLOSED"
SRC_URI = "file://files/* "
TARGET_CC_ARCH += "${LDFLAGS}"
do_compile() {oe_runmake
}
do_install() {oe_runmake install 'DESTDIR=${D}'
}
--
Zolee