Re: Allow (O=...) from file



On Thu, 6 Dec 2007 15:57:38 +0100 (CET)
Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx> wrote:


On Dec 4 2007 21:04, Jay Cliburn wrote:

This piece of the top-level Makefile in current git causes an
out-of-tree driver Makefile to fail.

101 ifdef O
102 ifeq ("$(origin O)", "command line")
103 KBUILD_OUTPUT := $(O)
104 endif
105 endif

Should not it just use the usual boilerplate?

kdir := /lib/modules/$(shell uname -r)/build
all:
make -C ${kdir} M=$$PWD

Yep, that certainly works, but I was using a vendor-provided Makefile
that employs O=...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • [patch 05/10] uml: make -j fix
    ... every makefile change must use correct dependencies (and ... -#We need to re-preprocess this when the symlink dest changes. ... USER_OBJS:= $(foreach file,$(USER_OBJS),$/$) ...
    (Linux-Kernel)
  • Problem with make config and OPTIONS
    ... I have a problem, I'm trying to upgrade an existing port, I have done some changes in the Makefile but when I test the command 'make config' I have: ... I haven't the dialog box with the differents kinds of Options that are written in the Makefile, i have try the 'make rmconfig' but no change. ... PYCRYPTO "Support for py-crypto for WEP decoding" off \ ...
    (freebsd-questions)
  • RE: Problems with New Pluggable Terminal Sample
    ... You may need The makefile. ... !ifndef MIDL ...
    (microsoft.public.win32.programmer.tapi)
  • Makefile correction?
    ... tardis# make install clean ... I am trying to correct the Makefile, I figure this is where it would be, ... # New ports collection makefile for: Gnu Chess ...
    (freebsd-questions)
  • Re: JDK13 fails to build
    ... >> Have you read the actual error messages? ... >> of a netscape plugin. ... Take a look in the Makefile. ...
    (freebsd-questions)