[Lunar-commits] r23082 - moonbase/trunk/libs/uClibc

Terry Chan tchan at lunar-linux.org
Tue Jan 30 16:58:53 CET 2007


Author: tchan
Date: 2007-01-30 16:58:53 +0100 (Tue, 30 Jan 2007)
New Revision: 23082

Added:
   moonbase/trunk/libs/uClibc/PRE_BUILD
Modified:
   moonbase/trunk/libs/uClibc/BUILD
   moonbase/trunk/libs/uClibc/DETAILS
Log:
Many bugs fixed in this .1 release. Re-worked the BUILD script so we no longer
need to provide a .config file (similar to the busybox fixes). Unfortunately
uClibc now follows in perl's footsteps in that it prefers you build uClibc
when the older uClibc is removed first. If you don't, then your build may or
may not succeed.  It's just easier to do the perlish hack and remove the old
uClibc before startin the compile.


Modified: moonbase/trunk/libs/uClibc/BUILD
===================================================================
--- moonbase/trunk/libs/uClibc/BUILD	2007-01-30 07:35:18 UTC (rev 23081)
+++ moonbase/trunk/libs/uClibc/BUILD	2007-01-30 15:58:53 UTC (rev 23082)
@@ -1,9 +1,7 @@
 (
-   bad_flags ALL &&
-   cp $SOURCE_CACHE/$SOURCE3 .config                &&
-   sedit "s/\#-DUSE_CACHE/ -DUSE_CACHE/" Rules.mak  &&
-   patch_it $SOURCE_CACHE/$SOURCE2 1                &&
 
+   bad_flags ALL &&
+   make defconfig &&
    default_make
 
 ) > $C_FIFO 2>&1

Modified: moonbase/trunk/libs/uClibc/DETAILS
===================================================================
--- moonbase/trunk/libs/uClibc/DETAILS	2007-01-30 07:35:18 UTC (rev 23081)
+++ moonbase/trunk/libs/uClibc/DETAILS	2007-01-30 15:58:53 UTC (rev 23082)
@@ -1,17 +1,11 @@
           MODULE=uClibc
-         VERSION=0.9.28
+         VERSION=0.9.28.1
           SOURCE=$MODULE-$VERSION.tar.bz2
-         SOURCE2=$MODULE-$VERSION-Makefile-1.patch
-         SOURCE3=$MODULE-$VERSION.config
       SOURCE_URL=http://www.uclibc.org/downloads/
-     SOURCE2_URL=$PATCH_URL
-     SOURCE3_URL=$PATCH_URL
-      SOURCE_VFY=sha1:9124a6e5b0454da3f967725d54fde806189ad27b
-     SOURCE2_VFY=sha1:4b5524f6da9db6b9000f991ebb7b7bc17b370845
-     SOURCE3_VFY=sha1:d35caae78764aa301b89481adc53f0dcd449f918
+      SOURCE_VFY=sha1:3b7e34d05697456f5afe23d8666fad1c458813d6
         WEB_SITE=http://www.uclibc.org/
          ENTERED=20020725
-         UPDATED=20050818
+         UPDATED=20070130
            SHORT="C library for developing embedded Linux systems."
            PSAFE=no
     USE_WRAPPERS=n

Added: moonbase/trunk/libs/uClibc/PRE_BUILD
===================================================================
--- moonbase/trunk/libs/uClibc/PRE_BUILD	                        (rev 0)
+++ moonbase/trunk/libs/uClibc/PRE_BUILD	2007-01-30 15:58:53 UTC (rev 23082)
@@ -0,0 +1,7 @@
+# tchan added this hack as of uClibc-0.9.28.1. uClibc compiles/installs much
+# better when the old version of uClibc is totally removed beforehand.
+if module_installed uClibc ; then
+  lrm --upgrade uClibc
+fi &&
+
+default_pre_build



More information about the Lunar-commits mailing list