[Buildroot] need help adding apache to buildroot

Jérôme Pouiller jezz at sysmic.org
Fri Jan 18 09:25:03 UTC 2013


On Thursday 17 January 2013 22:41:24 Jenkins, Lee wrote:
[...]
> The good news is I found a patch that provides a CC_FOR_BUILD variable to
> fix the problem. However, the patch is not an "official" apache patch, but
> hosted at a different location here:
> http://people.apache.org/~fuankg/diffs/httpd-2.2.x-cross_compile.diff. If
> I'm reading the buildroot docs correctly, if I add APACHE_PATCH to
> apache.mk it will require the patch to be at the same URL as the tarball.
> Ugh.
> 
> Are the "patch hooks" simply shell commands? How egregious would it be (from
> a buildroot maintainer perspective) to use the patch hooks to wget the
> patch and apply it? :-)
IMHO, this patch is small enough to be included in Buildroot tree.

Download manually the patch, place it in your package directory and name it 
RAWNAME-DESCRIPTION.patch (apache-cross-compile-fix.patch) (Exact naming rule 
is in packages/pkg-generic.mk:$(BUILD_DIR)/%/.stamp_patched).

Patch will be automatically applied.



-- 
Jérôme Pouiller


More information about the buildroot mailing list