On Thu, Oct 25, 2012 at 5:02 AM, Florian Fainelli <[email protected]> wrote: > Sure, something along those lines I suppose: > - get rid of the explicit including path of $(LINUX_DIR)/include > - use Kbuild to export bcm963xx_tag.h > > The latter does not seem too easy to do considering where the bcm963xx_tag.h > header file is being located, but we could probably move it somewhere else and > use Kbuild to export this file to user-space. Yeah, I suspected the same initially. I found myloader to be a useful example: https://dev.openwrt.org/browser/trunk/target/linux/generic/files/include/linux/myloader.h https://dev.openwrt.org/browser/trunk/target/linux/generic/files/drivers/mtd/myloader.c
They don't export this header to userspace (this is just one line in Kbuild), but it's a fairly arch-specific partition table layout and yet it lives in <linux/myloader.h>. _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
