[oe] Error, DISTRO_PR has changed (.1 to ) when switching from Angstrom glibc to uclibc

Cliff Brake cliff.brake at gmail.com
Mon Nov 24 15:58:03 UTC 2008


I get this when I set ANGSTROM_MODE="uclibc" and restart a build with
an existing tmp directory created for a glibc build.  I like re-using
the same tmp directory for mixed glibc/uclibc builds to save
rebuilding a few packages, but the savings is probably negligible.
This obviously requires DISTRO_PR to track in glibc and uclibc conf
files, IE:

diff --git a/conf/distro/include/angstrom-uclibc.inc
b/conf/distro/include/angstrom-uclibc.inc
index c26613b..29a50cd 100644
--- a/conf/distro/include/angstrom-uclibc.inc
+++ b/conf/distro/include/angstrom-uclibc.inc
@@ -36,3 +36,5 @@ TARGET_LINK_HASH_STYLE = "-Wl,--hash-style=gnu"

 CXXFLAGS += "-fvisibility-inlines-hidden"

+DISTRO_PR = ".1"
+

As I not aware how DISTRO_PR is intended to be used, which way do we want to go:

1) force separate tmp dirs for glibc and uclibc builds?
2) keep DISTRO_PR in sync for Angstrom glibc, uclibc, eglibc distros?

Thanks,
Cliff

-- 
=======================
Cliff Brake
http://bec-systems.com




More information about the Openembedded-devel mailing list