This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Makefile fix
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- Cc: xdje42 at gmail dot com, gdb-patches at sourceware dot org
- Date: Mon, 10 Feb 2014 18:23:22 +0400
- Subject: Re: [PATCH] Makefile fix
- Authentication-results: sourceware.org; auth=none
- References: <201402041033 dot s14AX8Ai013211 at glazunov dot sibelius dot xs4all dot nl> <CADPb22SG2vWnuF5K+yzJoy3gJ0Ku=4=PihD=oJ_yVxkQ=+u7+A at mail dot gmail dot com> <201402081141 dot s18Bf6U4019336 at glazunov dot sibelius dot xs4all dot nl> <CAP9bCMTaBKMCPMQtpgP5q8CPmmWGQTbm2zf8KW=pk8D-YbVCzg at mail dot gmail dot com> <CAP9bCMQi_bjYrQEUGzXwjGwyNBhmLF7X=6WRcKcM-N0miZqziA at mail dot gmail dot com> <201402101315 dot s1ADFO19018000 at glazunov dot sibelius dot xs4all dot nl>
> The problem here as having two targets with exactly the same rule.
> Easiest way to fix this is to simply drop $(LIBGNU) as target and have only:
>
> $(GNULIB_H): $(GNULIB_BUILDDIR)/Makefile
> @$(MAKE) $(FLAGS_TO_PASS) DO=all DODIRS=$(GNULIB_BUILDDIR) subdir_do
>
> I don't think that will break anything. But then I thought the same
> about the previous diff...
I am wondering if we could handle gnulib more or less the same
way we handle libiberty or libbfd, ie depend on $(LIBGNU)?
The difference, in the case of libgnu, is that we are configuring
gnulib from GDB as opposed to from the root directory.
If necessary, perhaps now is the time to move gnulib to the root
directory as we've been talking about a few times before?
--
Joel