On 2010-02-19 4:48 PM, Bas Mevissen wrote: > How about the OpenWRT SDK? Is that still supported? > I never used it, but it would be useful if it would contain some > Makefiles and/or scripts to help building user space and kernel space > code outside the OpenWRT tree. The SDK does not contain the kernel sources, thus it cannot build kernel modules. It is still supported for user space stuff.
> The idea is that you install a pre-compiled SDK somewhere, source a > script with settings and you can easily build your own stuff without > hassle about paths and stuff. This is how most board support packages > from hardware manufacturers work. It should be as easy as native > compilation. I disagree with the way manufacturers typically set up board support packages. Often you have to install something as root, which is annoying for people that only have user accounts on some machines. Often you can only have one globally installed instance of the SDK, which makes it annoying to support multiple different versions, or even just multiple minor variations of the toolchain. I think it's much better to have something that's self contained and which you can install anywhere you want and don't have to set up environment variables for. > b) You realize that cross-compiling an external kernel module is much >> easier with OpenWrt, and simply copy a package dir like >> package/spi-ks8995 and adjust it for your own kernel module, then run >> make oldconfig and then run make package/<yourpackage>/compile V=99 ;) > Yes, it is easy to create an external package and include it in the > OpenWRT build. Is there a way to build an OpenWRT image with calling > "make" outside the OpenWRT tree and have the image also outside the > OpenWRT tree? Why do you want to call it outside of the tree? You can keep your packages as a separate feed, which makes it easy to keep track of your own work without having to fully integrate it into the OpenWrt tree. - Felix _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel