On Thursday 19 April 2012 22:42:32 Jonas Gorski wrote:
> On 19 April 2012 22:32, Florian Fainelli <flor...@openwrt.org> wrote:
> > Hi Arend,
> > 
> > On Thursday 19 April 2012 21:44:43 Arend van Spriel wrote:
> >> Hi Hauke,
> >> 
> >> I have setup openwrt environment and can build a router image. The
> >> kernel comes from a tarball. Do you or someone else ever tried to pull
> >> in the kernel from a git repository? I want to look into this myself,
> >> but could use some pointers.
> > 
> > The OpenWrt build system supports pulling a kernel from a git
> > repository, or even using an "external" kernel directory. In order to
> > use these features, run the following:
> > 
> > make menuconfig -> Advanced configuration options (for developers)
> > Enter git repository to clone
> > 
> > The string should contain the full git clone url.
> 
> Note that the kernel version is being assumed as the kernel version
> specified in your target's Makefile, so you might want to adapt it.
> This is important for the paths for some kernel modules, as well as
> which target/linux/*/config-<version> get used for the kernel config.
> Also you need to apply OpenWrt patches by hand if you need them,
> especially if you want to build flashable images (for ramdisk images
> you usually don't need much, e.g. I can build and boot a vanilla linux
> bcm63xx ramdisk image if the kernel is new enough).
> 
> Some packages also depend on OpenWrt kernel patches, like iptables.

I did make sure that we don't apply any patches to iptables when building with 
the "external" kernel tree, but I did not do the same for the case where you 
are using a cloned tree, that needs fixing.


> 
> 
> Jonas,
> happy user of "Use external kernel tree" pointing to his linux clone
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
-- 
Florian
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to