All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oren Laadan <orenl-eQaUEPhvms7ENvBUuze7eA@public.gmane.org>
To: Mike Waychison <mikew-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
Subject: Re: [PATCH] Make kernel source path configurable
Date: Thu, 29 Jan 2009 01:09:57 -0500	[thread overview]
Message-ID: <49814835.70500@cs.columbia.edu> (raw)
In-Reply-To: <20090129021528.22655.32316.stgit-KRTu2lV406v8o+N1Ual6GVaTQe2KTcn/@public.gmane.org>


Thanks.

Mike Waychison wrote:
> Add an optional argument to the user-cs Makefile called KERNELPATH that allows
> one to specify the path for kernel sources to use for the build.
> 
> Signed-off-by: Mike Waychison <mikew-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
> ---
> 
>  Makefile |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/Makefile b/Makefile
> index 151d006..52cbfee 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1,13 +1,13 @@
> -
> +KERNELPATH ?= ../linux
>  # compile with debug ?
>  DEBUG = -DCHECKPOINT_DEBUG
>  
>  # find linux architecure
> -KERN_ARCH = $(shell readlink ../linux/include/asm | sed 's/^asm-//')
> +KERN_ARCH = $(shell readlink $(KERNELPATH)/include/asm | sed 's/^asm-//')
>  
>  # look for includes
> -PATHS = -I../linux/include \
> -	-I../linux/arch/$(KERN_ARCH)/include
> +PATHS = -I$(KERNELPATH)/include \
> +	-I$(KERNELPATH)/arch/$(KERN_ARCH)/include
>  
>  # extra warnings and fun
>  WARNS := -Wall -Wstrict-prototypes -Wno-trigraphs
> 
> 

      parent reply	other threads:[~2009-01-29  6:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-29  2:15 [PATCH] Make kernel source path configurable Mike Waychison
     [not found] ` <20090129021528.22655.32316.stgit-KRTu2lV406v8o+N1Ual6GVaTQe2KTcn/@public.gmane.org>
2009-01-29  6:09   ` Oren Laadan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49814835.70500@cs.columbia.edu \
    --to=orenl-eqauephvms7envbuuze7ea@public.gmane.org \
    --cc=containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
    --cc=mikew-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.