On 3/13/09, Mirko Vogt <[email protected]> wrote: > mike xu wrote: > > Hi, > > > > I am trying to use libuci libraries and uci*.h header files in an > > other package, is there a way in openwrt to using them in another > > package without copying them into the other package? > > > > Thanks, > > Mike > > > _______________________________________________ > > openwrt-devel mailing list > > [email protected] > > http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel > > Hey, > > header-files are usually not part of a package. > They are copied within the buildroot to a "staging_dir". > All things which are going to be cross-compiled access this staging_dir > automatically (cflags: -I[..]/staging_dir/ARCH/usr/include ldflags: > -L[..]/staging_dir/ARCH/usr/lib) and use the header-files (libraries) > copied by previous e.g. libs. > The section which do so is called "Build/InstallDev" - take a look at > some Makefile's and you'll see :) > > Greetz > > mirko > > -- > This email address is used for mailinglist purposes only. > Non-mailinglist emails will be dropped automatically. > If you want to get in contact with me personally, please mail to: > > mirko.vogt <at> nanl <dot> de > _______________________________________________ > openwrt-devel mailing list > [email protected] > http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel >
hI mirko, OK, it sounds more resaonable. Thank you for your reply. Best regards, Mike _______________________________________________ openwrt-devel mailing list [email protected] http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
