ยง2023-10-28


  1. git clone
(chroot) n2JamGen / # emerge dev-vcs/git
(chroot) n2JamGen / # cd /usr/src
(chroot) n2JamGen /usr/src # git clone --depth 1 https://github.com/hardkernel/linux.git -b odroidg12-4.9.y
(chroot) n2JamGen /usr/src # mv linux/ linux-odroidg12-4.9.y
(chroot) n2JamGen /usr/src # eselect kernel list
Available kernel symlink targets:
  [1]   linux-odroidg12-4.9.y
(chroot) n2JamGen /usr/src # eselect kernel set 1
(chroot) n2JamGen /usr/src # ls -l
total 4
lrwxrwxrwx  1 root root   21 Oct 28 17:16 linux -> linux-odroidg12-4.9.y
drwxr-xr-x 25 root root 4096 Oct 28 17:14 linux-odroidg12-4.9.y
(chroot) n2JamGen /usr/src/linux-odroidg12-4.9.y # make odroidg12_defconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/zconf.lex.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
#
# configuration written to .config
#
(chroot) n2JamGen /usr/src/linux-odroidg12-4.9.y # time make -j 6 <-- has to sepecify, it did not take from make.conf 
---> failed to compile