[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150310224500.GO30296@moon>
Date: Wed, 11 Mar 2015 01:45:00 +0300
From: Cyrill Gorcunov <gorcunov@...il.com>
To: Shuah Khan <shuahkh@....samsung.com>
Cc: akpm@...ux-foundation.org, tranmanphong@...il.com,
mpe@...erman.id.au, linux-kernel@...r.kernel.org,
linux-api@...r.kernel.org
Subject: Re: [PATCH 3/3] selftests: kcmp build fails when invoked from
kselftest target
On Tue, Mar 10, 2015 at 04:41:39PM -0600, Shuah Khan wrote:
>
> Are you looking for something like this:
>
> all: kcmp_test
>
> kcmp_test:
> $(CC) $(CFLAGS) kcmp_test.c -o kcmp_test
>
> I just simplified it and removed the prerequsite.
> If you prefer, I can make the change to keep the
> prereq.
Yes please, and you may use internal make var $@ as well
kcmp_test:
$(CC) $(CFLAGS) kcmp_test.c -o $@
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists