Skip to contentSkip to conversation

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

PATCH Cliff Brake 2 participants 2 messages Nov 24, 2008

lore
Share & tools
lore
#0 lore raw

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:

(quoted diff) +0 -0

b/conf/distro/include/angstrom-uclibc.inc
index c26613b..29a50cd 100644

conf/distro/include/angstrom-uclibc.inc +2 -0
@@ -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

Signature · 3 lines
=======================
Cliff Brake
http://bec-systems.com
#1 lore raw
Quoted 19 lines · Cliff Brake

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:

conf/distro/include/angstrom-uclibc.inc +2 -0
index c26613b..29a50cd 100644
@@ -36,3 +36,5 @@ TARGET_LINK_HASH_STYLE = "-Wl,--hash-style=gnu"
 
  CXXFLAGS += "-fvisibility-inlines-hidden"
 
+DISTRO_PR = ".1"
+
Quoted 4 lines

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?

3) put DISTRO_PR in angstrom-2008.conf

regards,

Koen