Search Linux Wireless

Re: [PATCH] iw: support and enable separate build dir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Johannes,

On Thu, Jun 9, 2016 at 11:25 AM, Johannes Berg
<johannes@xxxxxxxxxxxxxxxx> wrote:
> On Wed, 2016-06-01 at 11:40 +0300, maxin.john@xxxxxxxxx wrote:
>> From: "Maxin B. John" <maxin.john@xxxxxxxxx>
>>
>> Support separation of SRCDIR and OBJDIR
>>
> Doesn't seem to work:
>
> $ mkdir /tmp/obj
> $ make clean
> $ make OBJDIR=/tmp/obj
> [...]
>  GEN  version.c
>  CC   version.o
> cc: error: version.c: No such file or directory
> cc: fatal error: no input files
> compilation terminated.
> Makefile:104: recipe for target 'version.o' failed
> make: *** [version.o] Error 1
> $ ls *.o
> event.o  genl.o  ibss.o  info.o  interface.o  iw.o  mesh.o  mpath.o
> mpp.o  ocb.o  phy.o  reg.o  scan.o  station.o  survey.o  util.o
>
> (object files are in the wrong place too)

I was following the below listed steps to verify this patch:

# mkdir build
# cd build
#  make -f <path>/iw/Makefile
# ls *.o
bitrate.o  coalesce.o  connect.o  cqm.o  event.o  genl.o  ibss.o  info.o
interface.o  iw  iw.o  link.o  mesh.o  mpath.o  mpp.o  ocb.o  offch.o  p2p.o
phy.o  ps.o  reason.o  reg.o  roc.o  scan.o  sections.o  station.o  status.o
survey.o  util.o  vendor.o  version.c  version.o  wowlan.o

> johannes

Best Regards,
Maxin
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux