From: ulf at uclibc.org <ulf@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/dm
Date: Sun, 12 Aug 2007 04:59:52 -0700 (PDT) [thread overview]
Message-ID: <20070812115952.A73BCA65D4@busybox.net> (raw)
Author: ulf
Date: 2007-08-12 04:59:51 -0700 (Sun, 12 Aug 2007)
New Revision: 19458
Log:
install libdevmapper.h to allow dm to build
Modified:
trunk/buildroot/package/dm/dm.mk
Changeset:
Modified: trunk/buildroot/package/dm/dm.mk
===================================================================
--- trunk/buildroot/package/dm/dm.mk 2007-08-12 11:34:03 UTC (rev 19457)
+++ trunk/buildroot/package/dm/dm.mk 2007-08-12 11:59:51 UTC (rev 19458)
@@ -24,7 +24,7 @@
# USA
DM_BASEVER=1.02
-DM_PATCH=13
+DM_PATCH=20
DM_VERSION=$(DM_BASEVER).$(DM_PATCH)
DM_SOURCE:=device-mapper.$(DM_VERSION).tgz
DM_SITE:=ftp://sources.redhat.com/pub/dm
@@ -35,6 +35,7 @@
DM_TARGET_BINARY:=$(TARGET_DIR)/usr/sbin/dmsetup
DM_STAGING_LIBRARY:=$(STAGING_DIR)/lib/libdevmapper.so
DM_TARGET_LIBRARY:=$(TARGET_DIR)/usr/lib/libdevmapper.so
+DM_TARGET_HEADER:=$(TARGET_DIR)/usr/include/libdevmapper.h
$(DL_DIR)/$(DM_SOURCE):
$(WGET) -P $(DL_DIR) $(DM_SITE)/$(DM_SOURCE) || \
@@ -85,6 +86,7 @@
$(DM_STAGING_BINARY) $(DM_STAGING_LIBRARY): $(DM_DIR)/.configured
$(MAKE) CC=$(TARGET_CC) -C $(DM_DIR)
$(MAKE) DESTDIR=$(STAGING_DIR) -C $(DM_DIR) install
+ mv $(STAGING_DIR)/include/libdevmapper.h $(STAGING_DIR)/usr/include/libdevmapper.h
# Install dmsetup from staging to target
$(DM_TARGET_BINARY): $(DM_STAGING_BINARY)
@@ -104,10 +106,15 @@
ln -s $(<F) $@
touch -c $(DM_TARGET_LIBRARY)
-dm: uclibc $(DM_TARGET_BINARY) $(DM_TARGET_LIBRARY)
+# Install header file
+$(DM_TARGET_HEADER): $(DM_TARGET_LIBRARY)
+ rm -f $@
+ $(INSTALL) -m 0644 $(STAGING_DIR)/usr/include/libdevmapper.h $@
+dm: uclibc $(DM_TARGET_BINARY) $(DM_TARGET_LIBRARY) $(DM_TARGET_HEADER)
+
dm-clean:
- rm $(DM_TARGET_BINARY) $(DM_TARGET_LIBRARY) $(DM_TARGET_LIBRARY).$(DM_BASEVER)
+ rm $(DM_TARGET_BINARY) $(DM_TARGET_LIBRARY) $(DM_TARGET_LIBRARY).$(DM_BASEVER) $(DM_TARGET_HEADER)
$(MAKE) -C $(DM_DIR) clean
dm-dirclean:
next reply other threads:[~2007-08-12 11:59 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-12 11:59 ulf at uclibc.org [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-01-16 12:34 [Buildroot] svn commit: trunk/buildroot/package/dm jacmet at uclibc.org
2008-12-09 20:00 andersen at uclibc.org
2008-12-09 20:08 ` Peter Korsgaard
2008-12-12 10:30 ` Erik Andersen
2007-09-12 17:33 andersen at uclibc.org
2007-09-12 8:52 andersen at uclibc.org
2007-05-18 9:59 aldot at uclibc.org
2006-11-29 10:23 aldot at uclibc.org
2006-09-28 14:26 aldot at uclibc.org
2006-08-24 21:46 aldot at uclibc.org
2006-07-19 16:54 vapier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070812115952.A73BCA65D4@busybox.net \
--to=ulf@uclibc.org \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox