[BusyBox] Compiling dpkg-deb
Erik Andersen
andersen at lineo.com
Thu Jun 21 21:48:39 UTC 2001
On Fri Jun 22, 2001 at 01:36:23PM +1000, Glenn McGrath wrote:
> hmm, you should have put emphasis on the *magic*...
>
> Actually i think i see it now, the "-DL_$(patsubst libbb/%,%,$*)"
> compiler option is what i previously didnt understand, that is whats
> allowign you to define out the unwanted bits for each function.
The idea is for each item listed in LIBBB_ARCOBJ, it will compile LIBBB_ARCSRC
to produce the proper .o, and it will pass in a -DL_<func_name> define
appropriate to the .o we are building. So then I just sprinked in a bunch os
#ifdef L_<func_name> lines in your file and everything was set.
-Erik
--
Erik B. Andersen email: andersen at lineo.com
--This message was written using 73% post-consumer electrons--
More information about the busybox
mailing list