Displaying 1 result from an estimated 1 matches for "usr_sdir".
Did you mean:
usr_sdirs
2003 Oct 04
0
klibc: kbuild improvements
...mation for the build as well, so it's duplicated
# here.
-initramfs-$(CONFIG_USR_KINIT) := $(obj)/kinit/kinit
-initramfs-$(CONFIG_IP_PNP) += $(obj)/ipconfig/libipconfig.a
-initramfs-$(CONFIG_ROOT_NFS) += $(obj)/nfsmount/libnfsmount.a
+initramfs-$(CONFIG_IP_PNP) := $(obj)/ipconfig/ipconfig
+usr_sdirs-$(CONFIG_IP_PNP) := $(obj)/ipconfig
+
+initramfs-$(CONFIG_ROOT_NFS) += $(obj)/nfsmount/nfsmount
+usr_sdirs-$(CONFIG_ROOT_NFS) += $(obj)/nfsmount
+
+# kinit uses .a files from nfsmount and ipconfig
+$(obj)/kinit/kinit: $(usr_sdirs-y)
+initramfs-$(CONFIG_USR_KINIT) += $(obj)/kinit/kinit
+usr_sdirs-$...