linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* TOPDIR kernel variable
@ 2003-08-14 23:19 Daniel Pezoa
  2003-08-15  1:14 ` Herbert Pötzl
  2003-08-19 19:53 ` Eli Carter
  0 siblings, 2 replies; 3+ messages in thread
From: Daniel Pezoa @ 2003-08-14 23:19 UTC (permalink / raw)
  To: linux-kernel

Hello Kernel Community !!  :-)

I'am compiling lirc software, the kernel source is
needed to make them, but when i attemt to make them it
fail because the environment variable TOPDIR is not
set, looking for the origin of the problem, the script
that fail is "pathdown.sh", one tiny script of the
kernel, it fails when is trying to assign
TP=${TOPDIR:). Reading more i found in the Kernel
Makefile the line 

TOPDIR := $(shell /bin/pwd)

that command should solve my problem but if i launch
them in the console, it give me the following errors
in the screen ouput:

bash: shell: command not found
bash: TOPDIR:=: command not found

What is the intention of the environment variable
TOPDIR and how can i give them a valid value?

Thanks for your help and Good luck!!  :-)

Daniel Pezoa


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: TOPDIR kernel variable
  2003-08-14 23:19 TOPDIR kernel variable Daniel Pezoa
@ 2003-08-15  1:14 ` Herbert Pötzl
  2003-08-19 19:53 ` Eli Carter
  1 sibling, 0 replies; 3+ messages in thread
From: Herbert Pötzl @ 2003-08-15  1:14 UTC (permalink / raw)
  To: Daniel Pezoa; +Cc: linux-kernel

On Thu, Aug 14, 2003 at 04:19:59PM -0700, Daniel Pezoa wrote:
> Hello Kernel Community !!  :-)
> 
> I'am compiling lirc software, the kernel source is
> needed to make them, but when i attemt to make them it
> fail because the environment variable TOPDIR is not
> set, looking for the origin of the problem, the script
> that fail is "pathdown.sh", one tiny script of the
> kernel, it fails when is trying to assign
> TP=${TOPDIR:). Reading more i found in the Kernel
> Makefile the line 
> 
> TOPDIR := $(shell /bin/pwd)
> 
> that command should solve my problem but if i launch
> them in the console, it give me the following errors
> in the screen ouput:
> 
> bash: shell: command not found
> bash: TOPDIR:=: command not found

probably your make is too old ...

http://cip.physik.uni-wuerzburg.de/virtualmanuals/root-doku/make/make_78.html

> What is the intention of the environment variable
> TOPDIR and how can i give them a valid value?

$(shell /bin/pwd) would evaluate the current/working directory

HTH,
Herbert

> Thanks for your help and Good luck!!  :-)
> 
> Daniel Pezoa
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
> -
> 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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: TOPDIR kernel variable
  2003-08-14 23:19 TOPDIR kernel variable Daniel Pezoa
  2003-08-15  1:14 ` Herbert Pötzl
@ 2003-08-19 19:53 ` Eli Carter
  1 sibling, 0 replies; 3+ messages in thread
From: Eli Carter @ 2003-08-19 19:53 UTC (permalink / raw)
  To: Daniel Pezoa; +Cc: linux-kernel

Daniel Pezoa wrote:
> Hello Kernel Community !!  :-)
> 
> I'am compiling lirc software, the kernel source is
> needed to make them, but when i attemt to make them it
> fail because the environment variable TOPDIR is not
> set, looking for the origin of the problem, the script
> that fail is "pathdown.sh", one tiny script of the
> kernel, it fails when is trying to assign
> TP=${TOPDIR:). Reading more i found in the Kernel
> Makefile the line 
> 
> TOPDIR := $(shell /bin/pwd)
> 
> that command should solve my problem but if i launch
> them in the console, it give me the following errors
> in the screen ouput:
> 
> bash: shell: command not found
> bash: TOPDIR:=: command not found

Commands in a Makefile are for make, not commands that bash (your shell) 
will understand.  (If I understand what you said above, that is.)

> What is the intention of the environment variable
> TOPDIR and how can i give them a valid value?

If that is in the Makefile, try
make TOPDIR=...

HTH,

Eli
--------------------. "If it ain't broke now,
Eli Carter           \                  it will be soon." -- crypto-gram
eli.carter(a)inet.com `-------------------------------------------------


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-08-19 19:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-14 23:19 TOPDIR kernel variable Daniel Pezoa
2003-08-15  1:14 ` Herbert Pötzl
2003-08-19 19:53 ` Eli Carter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).