svn commit: trunk/buildroot/package/dm

andersen at uclibc.org andersen at uclibc.org
Mon Jul 10 22:17:50 UTC 2006


Author: andersen
Date: 2006-07-10 15:17:48 -0700 (Mon, 10 Jul 2006)
New Revision: 15680

Log:
remove junk, bump version, and generally clean things up


Modified:
   trunk/buildroot/package/dm/dm.mk


Changeset:
Modified: trunk/buildroot/package/dm/dm.mk
===================================================================
--- trunk/buildroot/package/dm/dm.mk	2006-07-10 22:09:37 UTC (rev 15679)
+++ trunk/buildroot/package/dm/dm.mk	2006-07-10 22:17:48 UTC (rev 15680)
@@ -23,8 +23,8 @@
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 # USA
 
-DM_BASEVER=1.01
-DM_PATCH=05
+DM_BASEVER=1.02
+DM_PATCH=07
 DM_VERSION=$(DM_BASEVER).$(DM_PATCH)
 DM_SOURCE:=device-mapper.$(DM_VERSION).tgz
 DM_SITE:=ftp://sources.redhat.com/pub/dm
@@ -46,6 +46,12 @@
 	(cd $(DM_DIR); rm -rf config.cache; \
 		$(TARGET_CONFIGURE_OPTS) \
 		CFLAGS="$(TARGET_CFLAGS)" \
+		ac_cv_have_decl_malloc=yes \
+		gl_cv_func_malloc_0_nonnull=yes \
+		ac_cv_func_malloc_0_nonnull=yes \
+		ac_cv_func_calloc_0_nonnull=yes \
+		ac_cv_func_realloc_0_nonnull=yes \
+		ac_cv_func_lstat_dereferences_slashed_symlink=yes \
 		./configure \
 		--target=$(GNU_TARGET_NAME) \
 		--host=$(GNU_TARGET_NAME) \
@@ -53,7 +59,6 @@
 		--prefix=/usr \
 		$(DISABLE_NLS) \
 		$(DISABLE_LARGEFILE) \
-		--with-kernel-dir=/work/richard/xen/linux-2.6.10-xen0 \
 		--with-user=$(shell id -un) --with-group=$(shell id -gn) \
 	);
 	touch $(DM_DIR)/.configured
@@ -68,15 +73,20 @@
 # Install dmsetup from staging to target
 $(DM_TARGET_BINARY): $(DM_STAGING_BINARY)
 	$(INSTALL) -m 0755 $? $@
+	-$(STRIP) $(DM_TARGET_BINARY)
+	touch -c $(DM_TARGET_BINARY)
 
 # Install libdevmapper.so.1.00 from staging to target
 $(DM_TARGET_LIBRARY).$(DM_BASEVER): $(DM_STAGING_LIBRARY)
 	$(INSTALL) -m 0644 $? $@
+	-$(STRIP) $(DM_TARGET_LIBRARY)
+	touch -c $(DM_TARGET_LIBRARY).$(DM_BASEVER)
 
 # Makes libdevmapper.so a symlink to libdevmapper.so.1.00
 $(DM_TARGET_LIBRARY): $(DM_TARGET_LIBRARY).$(DM_BASEVER)
 	rm -f $@
 	ln -s $(<F) $@
+	touch -c $(DM_TARGET_LIBRARY)
 
 dm: uclibc $(DM_TARGET_BINARY) $(DM_TARGET_LIBRARY)
 




More information about the uClibc-cvs mailing list