Kernel fordítás

Kezdőlap Fórumok Kernel Kernel fordítás

10 bejegyzés megtekintése - 21-30 / 87
  • Szerző
    Bejegyzés
  • #2159232
    gtk
    Felhasználó

      Sziasztok !

      Hogy lehet azt megoldani hogy make modules install -nal az altalam kivalasztott konyvtarba tegye a modulokat?
      Ez azert fontos mert mas target-re forgattam, es manualisan kell feltolteni a modulokat, nem a make install vegzi.

      Udv.

      #2159233
      gtk
      Felhasználó

        Sziasztok !

        Hogy lehet azt megoldani hogy make modules install -nal az altalam kivalasztott konyvtarba tegye a modulokat?
        Ez azert fontos mert mas target-re forgattam, es manualisan kell feltolteni a modulokat, nem a make install vegzi.

        Udv.

        #2159234
        uzsolt
        Felhasználó

          Ha más nem, akkor adsz a kernelnek egy „nevet”:

          Code:
          $ uname -r
          2.6.23-zsolt

          Amúgy meg:

          #
          # INSTALL_MOD_PATH specifies a prefix to MODLIB for module directory
          # relocations required by build roots.  This is not defined in the
          # makefile but the argument can be passed to make if needed.
          #

          A linux-forrás „fő”-Makefile-jában (azaz /linux/kernel/forrás/Makefile).

          #2159235
          uzsolt
          Felhasználó

            Ha más nem, akkor adsz a kernelnek egy „nevet”:

            Code:
            $ uname -r
            2.6.23-zsolt

            Amúgy meg:

            #
            # INSTALL_MOD_PATH specifies a prefix to MODLIB for module directory
            # relocations required by build roots.  This is not defined in the
            # makefile but the argument can be passed to make if needed.
            #

            A linux-forrás „fő”-Makefile-jában (azaz /linux/kernel/forrás/Makefile).

            #2159236
            gtk
            Felhasználó
              uzsolt wrote:

              #
              # INSTALL_MOD_PATH specifies a prefix to MODLIB for module directory
              # relocations required by build roots.  This is not defined in the
              # makefile but the argument can be passed to make if needed.
              #

              A linux-forrás „fő”-Makefile-jában (azaz /linux/kernel/forrás/Makefile).

              Ebben biztam en is.
              Beallitottam es nem valtozik semmi. Nem oda teszi. Nem ertem miert ?
              vegulis fogalmam sincs hova masolja a modulokat, nem talaltam meg.

              #2159237
              gtk
              Felhasználó
                uzsolt wrote:

                #
                # INSTALL_MOD_PATH specifies a prefix to MODLIB for module directory
                # relocations required by build roots.  This is not defined in the
                # makefile but the argument can be passed to make if needed.
                #

                A linux-forrás „fő”-Makefile-jában (azaz /linux/kernel/forrás/Makefile).

                Ebben biztam en is.
                Beallitottam es nem valtozik semmi. Nem oda teszi. Nem ertem miert ?
                vegulis fogalmam sincs hova masolja a modulokat, nem talaltam meg.

                #2159238
                uzsolt
                Felhasználó

                  Na-na-na!
                  Kiadod:

                  Code:
                  make INSTALL_MOD_PATH=/ahova/akarod
                  make INSTALL_MOD_PATH=/ahova/akarod modules_install

                  Tehát már úgy kell forgatni! Hiszen honnan tudná szegény kernel, hogy a moduljait hol keresse?

                  #2159239
                  uzsolt
                  Felhasználó

                    Na-na-na!
                    Kiadod:

                    Code:
                    make INSTALL_MOD_PATH=/ahova/akarod
                    make INSTALL_MOD_PATH=/ahova/akarod modules_install

                    Tehát már úgy kell forgatni! Hiszen honnan tudná szegény kernel, hogy a moduljait hol keresse?

                    #2159240
                    gtk
                    Felhasználó
                      uzsolt wrote:
                      Na-na-na!
                      Kiadod:

                      Code:
                      make INSTALL_MOD_PATH=/ahova/akarod
                      make INSTALL_MOD_PATH=/ahova/akarod modules_install

                      Tehát már úgy kell forgatni! Hiszen honnan tudná szegény kernel, hogy a moduljait hol keresse?

                      Koszi !
                      Teljesen igazad van!

                      Mostmar csak a depmoddal van baja.

                      Code:
                      cd /opt/ts-7200/lib/modules/2.4.26-ts11;
                              mkdir -p pcmcia;
                              find kernel -path ‘*/pcmcia/*’ -name ‘*.o’ | xargs -i -r ln -sf ../{} pcmcia
                      if [ -r System.map ]; then /sbin/depmod -ae -F System.map -b /opt/ts-7200 -r 2.4.26-ts11; fi
                      Version requires old depmod, but couldn’t run /sbin/depmod.modutils: No such file or directory
                      make: *** [_modinst_post] Error 2
                      #2159241
                      gtk
                      Felhasználó
                        uzsolt wrote:
                        Na-na-na!
                        Kiadod:

                        Code:
                        make INSTALL_MOD_PATH=/ahova/akarod
                        make INSTALL_MOD_PATH=/ahova/akarod modules_install

                        Tehát már úgy kell forgatni! Hiszen honnan tudná szegény kernel, hogy a moduljait hol keresse?

                        Koszi !
                        Teljesen igazad van!

                        Mostmar csak a depmoddal van baja.

                        Code:
                        cd /opt/ts-7200/lib/modules/2.4.26-ts11;
                                mkdir -p pcmcia;
                                find kernel -path ‘*/pcmcia/*’ -name ‘*.o’ | xargs -i -r ln -sf ../{} pcmcia
                        if [ -r System.map ]; then /sbin/depmod -ae -F System.map -b /opt/ts-7200 -r 2.4.26-ts11; fi
                        Version requires old depmod, but couldn’t run /sbin/depmod.modutils: No such file or directory
                        make: *** [_modinst_post] Error 2
                      10 bejegyzés megtekintése - 21-30 / 87
                      • Be kell jelentkezni a hozzászóláshoz.