Building for OpenWrt

lobbia lobbia at 163.com
Wed Apr 12 04:42:30 PDT 2023


Great! Just tried and got succeed. May thanks!!!














At 2023-04-12 16:59:45, "David Woodhouse" <dwmw2 at infradead.org> wrote:
>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
>
>
>


More information about the openconnect-devel mailing list