Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: aldot at uclibc.org <aldot@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/mdadm
Date: Wed, 18 Apr 2007 12:55:15 -0700 (PDT)	[thread overview]
Message-ID: <20070418195515.D6DA2485AC@busybox.net> (raw)

Author: aldot
Date: 2007-04-18 12:55:14 -0700 (Wed, 18 Apr 2007)
New Revision: 18488

Log:
- it helps to apply the patches.. ;)
- mdadm-clean tried to uninstall mdadm from the host, which may not be what was intended in the end


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


Changeset:
Modified: trunk/buildroot/package/mdadm/mdadm.mk
===================================================================
--- trunk/buildroot/package/mdadm/mdadm.mk	2007-04-18 19:54:26 UTC (rev 18487)
+++ trunk/buildroot/package/mdadm/mdadm.mk	2007-04-18 19:55:14 UTC (rev 18488)
@@ -14,23 +14,25 @@
 $(DL_DIR)/$(MDADM_SOURCE):
 	$(WGET) -P $(DL_DIR) $(MDADM_SITE)/$(MDADM_SOURCE)
 
-$(MDADM_DIR)/.source: $(DL_DIR)/$(MDADM_SOURCE)
+$(MDADM_DIR)/.unpacked: $(DL_DIR)/$(MDADM_SOURCE)
 	$(MDADM_CAT) $(DL_DIR)/$(MDADM_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
-	touch $(MDADM_DIR)/.source
+	toolchain/patch-kernel.sh $(MDADM_DIR) package/mdadm mdadm-$(MDADM_VERSION)\*.patch
+	touch $@
 
-$(MDADM_DIR)/$(MDADM_BINARY): $(MDADM_DIR)/.source
+$(MDADM_DIR)/$(MDADM_BINARY): $(MDADM_DIR)/.unpacked
 	$(MAKE) CFLAGS="$(TARGET_CFLAGS)" CC=$(TARGET_CC) -C $(MDADM_DIR)
 
 $(TARGET_DIR)/$(MDADM_TARGET_BINARY): $(MDADM_DIR)/$(MDADM_BINARY)
 	$(MAKE) DESTDIR=$(TARGET_DIR) -C $(MDADM_DIR) install
 	rm -Rf $(TARGET_DIR)/usr/share/man
+	$(STRIP) -s $@
 
 mdadm: uclibc $(TARGET_DIR)/$(MDADM_TARGET_BINARY)
 
 mdadm-source: $(DL_DIR)/$(MDADM_SOURCE)
 
 mdadm-clean:
-	$(MAKE) prefix=$(TARGET_DIR)/usr -C $(MDADM_DIR) uninstall
+	$(MAKE) DESTDIR=$(TARGET_DIR) -C $(MDADM_DIR) uninstall
 	-$(MAKE) -C $(MDADM_DIR) clean
 
 mdadm-dirclean:

             reply	other threads:[~2007-04-18 19:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-18 19:55 aldot at uclibc.org [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-05-11  6:43 [Buildroot] svn commit: trunk/buildroot/package/mdadm ulf at uclibc.org
2008-03-24 19:19 nkukard at uclibc.org
2007-10-30 21:32 ulf at uclibc.org
2007-06-26 16:35 aldot at uclibc.org
2007-05-18  9:55 aldot at uclibc.org
2007-05-15 11:25 aldot at uclibc.org
2007-04-17 15:48 aldot at uclibc.org
2007-04-16 19:14 aldot at uclibc.org
2007-04-16 19:08 aldot at uclibc.org

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=20070418195515.D6DA2485AC@busybox.net \
    --to=aldot@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