X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=Documentation%2Fkbuild%2Fmakefiles.rst;fp=Documentation%2Fkbuild%2Fmakefiles.rst;h=e9299971220a0cb54611984387c26b4e94b6cac4;hb=5f56cb030e4bcf14be2233332d5cd83fff62a376;hp=d88d4f0f4f8951473ce08456545e56e272e4c17f;hpb=1bfaa37fd3486e66131de9cb87747c84b4c89a05;p=linux-2.6-microblaze.git diff --git a/Documentation/kbuild/makefiles.rst b/Documentation/kbuild/makefiles.rst index d88d4f0f4f89..e9299971220a 100644 --- a/Documentation/kbuild/makefiles.rst +++ b/Documentation/kbuild/makefiles.rst @@ -937,6 +937,10 @@ Example:: # net/bpfilter/Makefile bpfilter_umh-userldflags += -static +To specify libraries linked to a userspace program, you can use +``-userldlibs``. The ``userldlibs`` syntax specifies libraries +linked to all userspace programs created in the current Makefile. + When linking bpfilter_umh, it will be passed the extra option -static. From command line, :ref:`USERCFLAGS and USERLDFLAGS ` will also be used.