1. 20 10月, 2007 1 次提交
    • S
      kbuild: introduce cc-cross-prefix · 910b4046
      Sam Ravnborg 提交于
      cc-cross-prefix is useful for the architecture that like
      to provide a default CROSS_COMPILE value,
      but may have several to select between.
      
      Sample usage:
      
      ifneq ($(SUBARCH),$(ARCH))
              ifeq ($(CROSS_COMPILE),)
                     CROSS_COMPILE := $(call cc-cross-prefix, m68k-linux-gnu- m68k-linux-)
              endif
      endif
      
      Actual usage by the different archs will taken care of later.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      910b4046
  2. 19 10月, 2007 1 次提交
    • S
      kbuild: disable depmod in cross-compile kernel build · 50a8ec31
      Sam Ravnborg 提交于
      When building embedded systems in a cross-compile environment and
      populating a target's file system image, we don't want to run the
      depmod on the host as we may be building for a completely different
      architecture. Since there's no such thing as a cross-depmod, we
      just disable running depmod in the cross-compile case and we just
      run depmod on the target at bootup.
      
      Inspired by patches from Christian, Armin and Deepak.
      
      This solves: http://bugzilla.kernel.org/show_bug.cgi?id=3881Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Cc: Christian Bjølevik <nafallo@magicalforest.se>
      Cc: Deepak Saxena <dsaxena@mvista.com> and
      Cc: Armin Kuster <akuster@mvista.com>,
      50a8ec31
  3. 18 10月, 2007 38 次提交