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/microcom
Date: Fri, 19 Jan 2007 10:33:41 -0800 (PST)	[thread overview]
Message-ID: <20070119183341.6848F48591@busybox.net> (raw)

Author: aldot
Date: 2007-01-19 10:33:40 -0800 (Fri, 19 Jan 2007)
New Revision: 17385

Log:
- make sure to pass the target cflags in


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


Changeset:
Modified: trunk/buildroot/package/microcom/microcom.mk
===================================================================
--- trunk/buildroot/package/microcom/microcom.mk	2007-01-19 18:00:49 UTC (rev 17384)
+++ trunk/buildroot/package/microcom/microcom.mk	2007-01-19 18:33:40 UTC (rev 17385)
@@ -37,20 +37,22 @@
 $(MICROCOM_DIR)/.unpacked: $(DL_DIR)/$(MICROCOM_SOURCE)
 	mkdir -p $(MICROCOM_DIR)
 	$(ZCAT) $(DL_DIR)/$(MICROCOM_SOURCE) | tar -C $(MICROCOM_DIR) $(TAR_OPTIONS) -
-	touch $(MICROCOM_DIR)/.unpacked
+	toolchain/patch-kernel.sh $(MICROCOM_DIR) package/microcom/ \*.patch
+	touch $@
 
 $(MICROCOM_DIR)/.configured: $(MICROCOM_DIR)/.unpacked
-	$(SED) 's~gcc~${TARGET_CC}~' $(MICROCOM_DIR)/Makefile
-	touch $(MICROCOM_DIR)/.configured
+	$(SED) 's~gcc~$$(CC)~' -e 's~-O~$$(CFLAGS)~' $(MICROCOM_DIR)/Makefile
+	touch $@
 
 $(MICROCOM_DIR)/microcom: $(MICROCOM_DIR)/.configured
-	$(MAKE) -C $(MICROCOM_DIR)
+	$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(MICROCOM_DIR)
 
 $(TARGET_DIR)/usr/bin/microcom: $(MICROCOM_DIR)/microcom
 	install -c $(MICROCOM_DIR)/microcom $(TARGET_DIR)/usr/bin/microcom
 
 microcom-clean: 
-	rm $(MICROCOM_DIR)/*.o
+	rm -f $(MICROCOM_DIR)/*.o $(MICROCOM_DIR)/microcom \
+		$(TARGET_DIR)/usr/bin/microcom
 
 microcom-dirclean: 
 	rm -rf $(MICROCOM_DIR) 

             reply	other threads:[~2007-01-19 18:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-19 18:33 aldot at uclibc.org [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-01-19 19:14 [Buildroot] svn commit: trunk/buildroot/package/microcom aldot at uclibc.org
2007-03-21 17:53 aldot at uclibc.org
2009-03-02  8:33 jacmet 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=20070119183341.6848F48591@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