Which built in mk for running bootstrap and configure?

In many open source, it needs to run bootstrap, then to run configure to generate Makefile. But the package.mk could not run bootstrap and configure command where , which mk file can be included to run bootstrap and configure statement?

Thank you.

Kind regards.

The build system generally takes care of the GNU configure approach if the package indicates it is to be used.

See, for example:

https://openwrt.org/docs/guide-developer/packages
https://openwrt.org/docs/guide-developer/package-policies