mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* why scripts/link-vmlinux.sh has a final build of init/
@ 2018-02-12  4:22 Cao jin
  2018-02-12 14:48 ` Masahiro Yamada
  0 siblings, 1 reply; 5+ messages in thread
From: Cao jin @ 2018-02-12  4:22 UTC (permalink / raw)
  To: Masahiro Yamada; +Cc: Michal Marek, Linux Kbuild mailing list, linux-kernel

Hi Masahiro-san,

  As I remember, init/ is already built during recursive make, and I did
a clean build(make mrproper, make localmodconfig) with all plugins
included on x86_64 with following patch, the kernel can boot without any
obvious problem. So, I don't figure out why we need this final build?


diff --git a/scripts/link-vmlinux.sh b/scripts/link-vmlinux.sh
index e6818b8e7141..086b2efd4d53 100755
--- a/scripts/link-vmlinux.sh
+++ b/scripts/link-vmlinux.sh
@@ -247,9 +247,6 @@ else
        expr 0$(cat .old_version) + 1 >.version;
 fi;

-# final build of init/
-${MAKE} -f "${srctree}/scripts/Makefile.build" obj=init
GCC_PLUGINS_CFLAGS="${GCC_PLUGINS_CFLAGS}"
-
 archive_builtin

 #link vmlinux.o

 --
Sincerely,
Cao jin

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-02-21  3:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-12  4:22 why scripts/link-vmlinux.sh has a final build of init/ Cao jin
2018-02-12 14:48 ` Masahiro Yamada
2018-02-13  7:08   ` Cao jin
2018-02-14 11:31     ` Masahiro Yamada
2018-02-21  3:20       ` Cao jin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®