Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 4 Feb 2018 14:09:55 +0100
From: Solar Designer <>
Subject: Re: How to compile?

On Sun, Feb 04, 2018 at 02:01:10PM +0100, Solar Designer wrote:
> On Sat, Feb 03, 2018 at 08:39:08PM +0000, Kamil Kapturkiewicz wrote:
> > mkdir -p "output"
> > mv /p_lkrg.ko "output"
> Makefile uses $(PWD), and the above suggests that it's not defined.
> Try:
> make PWD=.

This fails because $(PWD) is then passed into sub-makes, which may
change the current directory.

> or:
> make PWD=`pwd`

This works for me, tested with:

unset PWD # to invoke the problem reported by Kamil
make clean PWD=`pwd` && make -j8 PWD=`pwd`

> Adam will probably want to fix the Makefile to remove the dependency on
> PWD being previously defined.


Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.