PKG_BUILD_DEPENDS:= is what you are looking for
packages/hostapd/Makefile uses it, so have a look in that file please
Quoting Fabian Hugelshofer <[EMAIL PROTECTED]>:
> 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
>
--
John Crispin
hacking, coding, etc
blogic on irc
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (bleeding edge) -----------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel