Quectel EG25-G LTE modem


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 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


Herman van Hazendonk (Herrie)
 

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



On 2021-03-24 10:41, Zoltan Kerenyi Nagy wrote:

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





Zoltan Kerenyi Nagy
 

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