lkml.org 
[lkml]   [2009]   [Jul]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH] kbuild: save ARCH & CROSS_COMPILE when building a kernel
    On Mon, Jul 20, 2009 at 16:05, Sam Ravnborg wrote:
    > --- a/arch/blackfin/Makefile
    > +++ b/arch/blackfin/Makefile
    > @@ -155,7 +155,7 @@ define archhelp
    >   echo  '* vmImage.gz      - Kernel-only image for U-Boot (arch/$(ARCH)/boot/vmImage.gz)'
    >   echo  '  vmImage.lzma    - Kernel-only image for U-Boot (arch/$(ARCH)/boot/vmImage.lzma)'
    >   echo  '  install         - Install kernel using'
    > -  echo  '                     (your) ~/bin/$(CROSS_COMPILE)installkernel or'
    > -  echo  '                     (distribution) PATH: $(CROSS_COMPILE)installkernel or'
    > +  echo  '                     (your) ~/bin/$(INSTALLKERNEL) or'
    > +  echo  '                     (distribution) PATH: $(INSTALLKERNEL) or'
    >   echo  '                     install to $$(INSTALL_PATH)'
    >  endef
    > diff --git a/arch/blackfin/boot/install.sh b/arch/blackfin/boot/install.sh
    > index 9560a6b..e2c6e40 100644
    > --- a/arch/blackfin/boot/install.sh
    > +++ b/arch/blackfin/boot/install.sh
    > @@ -36,9 +36,9 @@ verify "$3"
    >
    >  # User may have a custom install script
    >
    > -if [ -x ~/bin/${CROSS_COMPILE}installkernel ]; then exec ~/bin/${CROSS_COMPILE}installkernel "$@"; fi
    > -if which ${CROSS_COMPILE}installkernel >/dev/null 2>&1; then
    > -       exec ${CROSS_COMPILE}installkernel "$@"
    > +if [ -x ~/bin/${INSTALLKERNEL} ]; then exec ~/bin/${INSTALLKERNEL} "$@"; fi
    > +if which ${INSTALLKERNEL} >/dev/null 2>&1; then
    > +       exec ${INSTALLKERNEL} "$@"
    >  fi
    >
    >  # Default install - same as make zlilo

    np with this, Acked-by-me
    -mike
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2009-07-20 23:07    [W:0.023 / U:0.332 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site