Hi,

I plan to create a package for oprofile which relies on libbfd. A 
package for libbfd already exists. It compiles a static library and 
installs the header files with InstallDev but has no actual package 
description as nothing has to be installed on the router.

How is the best way to make it compile? 'feeds/scripts install libbfd' 
can not link it ("WARNING: No feed for package 'libbfd' found, maybe 
it's already part of the standard packages?") and creating the link 
manually does not help either because it does not appear in menuconfig 
afterwards.

To compile it I added proper package descriptions such that it can be 
selected in menuconfig. Is there another way? If not I believe the 
package description should be included in the Makefile.

Assume we would add the package description. I would create the oprofile 
package and make it depend on libbfd. The library and oprofile would 
both compile. Nice. But during installation ipkg would complain about a 
missing libbfd package, which does not exist, as it only creates a 
static library which does not need to be copied to the box.

How do you think is the cleanest way to deal with these issues?

Fabian
_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to