Build own hostapd

Hi,

I like to test a src-code change with my own hostapd version but did not get it into the build. I setup my environment successfully for my package to build as a feed from local source but did not know to get this running for hostapd as it is not included in the feed.

I tried to simply change the makefile with a real repository or simply a broken link but it does not change the build process. Any tipp how to get this running for a simple test?

Makefile \package\network\services\hostapd

PKG_NAME:=hostapd
PKG_RELEASE:=1

# PKG_SOURCE_URL:=https://w1.fi/hostap.git
PKG_SOURCE_URL:=https://github.com/latelee/hostapd.git
PKG_SOURCE_PROTO:=git

Cheers,
Nils

Haven't done it either.

But to clarify, per your extract above you are looking at the hostapd in the source repository?

Like here

I know nothing about hostapd but do you need to swap out the source tree?

It looks like if you want to do development for this you need to work with quilt?

https://openwrt.org/docs/guide-developer/toolchain/use-patches-with-buildsystem

edit1:
My only other thought is copy that package out entirely, rename all the names so you have a separate package? I've only ever done an src-git and src-copy to do a separate package.

Yes, that is I planned. OpenWRT links to the original repository and applies some patches/enhancements. Quilt looks interesting. Could create a patch from my change and apply it. But for easy testing it looks complex, will try it the next days...

1 Like