Building for OpenWrt

David Woodhouse dwmw2 at infradead.org
Wed Apr 12 01:59:45 PDT 2023


On Wed, 2023-04-12 at 09:57 +0100, David Woodhouse wrote:
> On Wed, 2023-04-12 at 16:33 +0800, lobbia wrote:
> > Hi experts, 
> > 
> > 
> > Can you advice me what's wrong or how shall I build myself for a
> > special branch code for OpenWrt? I'm trying to build package for
> > Openwrt from a old branch other than master from Gitlab but failed.
> > I
> > can build released version for openwrt correctly e.g. v8.20 and
> > v9.01. I can also build the old branch for Ubuntu correctly. Anyone
> > know what's the issue or how to fix? Thanks!
> > 
> > 
> > Code branch to be built: add_local_id_option 
> > https://gitlab.com/openconnect/openconnect/-/tree/add_local_id_option?ref_type=heads
> 
> If you are building from a git repository snapshot instead of from a
> release, then you are missing some autogenerated build files.
> 
> Run the ./autogen.sh script. And *then* you should be able to run
> ./configure as normal.

e.g.:

define Build/Configure
        (cd $(PKG_BUILD_DIR); ./autogen.sh );
        $(call Build/Configure/Default)
endef



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5965 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20230412/39b7c4a0/attachment-0001.p7s>


More information about the openconnect-devel mailing list