[Buildroot] [PATCH] Fix nbd compile

Peter Korsgaard jacmet at uclibc.org
Wed Jun 18 15:09:24 UTC 2008


>>>>> "Thiago" == Thiago A Corrêa <thiago.correa at gmail.com> writes:

 Thiago> This will fix nbd compile, since all versions after 2.8 now
 Thiago> depends on glib.

Thanks, committed.

The only issue I saw was:

-nbd: uclibc $(TARGET_DIR)/sbin/nbd-client
+nbd: uclibc libglib2 $(TARGET_DIR)/sbin/nbd-client

which doesn't work for parallel builds (libglib's staging install
might not have completed before the configure step of nbd
runs). Unfortunately this isn't easy to do with Makefile.autootools.in
as the libglib version number is part of the .stamp_staging_installed
path, and LIBGLIB2_TARGET_INSTALL_STAGING isn't defined yet if
libglib2.mk gets parsed later than nbd.mk.

Perhaps we should get rid of the package version in the stamp files?
That would ofcause break if you changed package version, but it might
be preferable to what we have now - E.G.:

$(BUILD_DIR)/libglib2_stamp_staging_installed

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list