On Thu, 1 May 2008, Geert Uytterhoeven wrote:
> Given my positive experiences with OpenWRT on adm5120 (RouterBoard 150) and
[...]
> and use an appropriate .config, and the resulting kernel with built-in
> ramdisk booted fine under ARAnyM!
Excellent!
> Perhaps this can become a valid alternative to Debian?
:)
> I still have a few questions, though:
> 1. target/linux/atari/patches/* is just all patch files from my quilt patch
> series for 2.6.25, with each patch file name prefixed by a number to
> ensure the correct order.
> Can the OpenWRT build system handle plain quilt series, too? I
> have to admit I didn't try.
Yes, I think so. I'm a little hazy on that bit, but looking at
include/quilt.mk, there is a snippet like:
if [ -s "$(1)/series" ]; then \
$(call filter_series,$(1)/series) | xargs -n1 \
$(PATCH) $(PKG_BUILD_DIR) "$(1)"; \
else \
$(PATCH) $(PKG_BUILD_DIR) "$(1)"; \
fi; \
where filter series is: sed -e s,\\\#.*,, $(1) | grep -E \[a-zA-Z0-9\]
and PATCH is a script that takes care of uncompressing and applying the
patches with patch -p1 -E -d {dir}
Look in include/quilt.mk, rules.mk and scripts/patch-kernel.sh for details
> Can the OpenWRT build system handle getting the quilt series from
> http://linux-m68k-cvs.ubb.ca/~geert/linux-m68k-patches-2.6.25/?
Not yet, I don't think - it pretty much assumes the patches are local.
--
Peter Denison - hacking on a WRTSL54GS (or 3)
_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel