makefiles.rst (1b6272894f2dfc25374add1dcfa37efc88384ff8) | makefiles.rst (5f56cb030e4bcf14be2233332d5cd83fff62a376) |
---|---|
1====================== 2Linux Kernel Makefiles 3====================== 4 5This document describes the Linux kernel Makefiles. 6 7Overview 8======== --- 923 unchanged lines hidden (view full) --- 932 933It is also possible to specify additional options to the linker. 934 935Example:: 936 937 # net/bpfilter/Makefile 938 bpfilter_umh-userldflags += -static 939 | 1====================== 2Linux Kernel Makefiles 3====================== 4 5This document describes the Linux kernel Makefiles. 6 7Overview 8======== --- 923 unchanged lines hidden (view full) --- 932 933It is also possible to specify additional options to the linker. 934 935Example:: 936 937 # net/bpfilter/Makefile 938 bpfilter_umh-userldflags += -static 939 |
940To specify libraries linked to a userspace program, you can use 941``<executable>-userldlibs``. The ``userldlibs`` syntax specifies libraries 942linked to all userspace programs created in the current Makefile. 943 |
|
940When linking bpfilter_umh, it will be passed the extra option -static. 941 942From command line, :ref:`USERCFLAGS and USERLDFLAGS <userkbuildflags>` will also be used. 943 944When userspace programs are actually built 945------------------------------------------ 946 947Kbuild builds userspace programs only when told to do so. --- 719 unchanged lines hidden --- | 944When linking bpfilter_umh, it will be passed the extra option -static. 945 946From command line, :ref:`USERCFLAGS and USERLDFLAGS <userkbuildflags>` will also be used. 947 948When userspace programs are actually built 949------------------------------------------ 950 951Kbuild builds userspace programs only when told to do so. --- 719 unchanged lines hidden --- |