[BusyBox] Compiling dpkg-deb
Glenn McGrath
bug1 at optushome.com.au
Thu Jun 21 21:42:23 UTC 2001
Erik Andersen wrote:
>>If i just declared it in libbb.h then it was ugly as it generated
>>warnings for every applet that it wasnt used in.
>>
>
>extern off_t archive_offset;
>
>>Is there a better way to approach this ?
>>
>
>Check out what I just checked in. This bit of makefile magic
>is producing one .o file per function.
>
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.
Cool
Glenn
More information about the busybox
mailing list