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/iptables
Date: Mon, 18 Dec 2006 07:23:55 -0800 (PST)	[thread overview]
Message-ID: <20061218152355.8D9264858D@busybox.net> (raw)

Author: aldot
Date: 2006-12-18 07:23:54 -0800 (Mon, 18 Dec 2006)
New Revision: 16993

Log:
- pass the correct kernel headers in and improve the -clean target.


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


Changeset:
Modified: trunk/buildroot/package/iptables/iptables.mk
===================================================================
--- trunk/buildroot/package/iptables/iptables.mk	2006-12-18 14:20:01 UTC (rev 16992)
+++ trunk/buildroot/package/iptables/iptables.mk	2006-12-18 15:23:54 UTC (rev 16993)
@@ -27,13 +27,13 @@
 $(IPTABLES_BUILD_DIR)/iptables: $(IPTABLES_BUILD_DIR)/.configured
 	$(TARGET_CONFIGURE_OPTS) \
 	$(MAKE1) -C $(IPTABLES_BUILD_DIR) \
-		KERNEL_DIR=$(LINUX_DIR) PREFIX=/usr \
+		KERNEL_DIR=$(LINUX_HEADERS_DIR) PREFIX=/usr \
 		CC=$(TARGET_CC) COPT_FLAGS="$(TARGET_CFLAGS)"
 
 $(TARGET_DIR)/usr/sbin/iptables: $(IPTABLES_BUILD_DIR)/iptables
 	$(TARGET_CONFIGURE_OPTS) \
 	$(MAKE1) -C $(IPTABLES_BUILD_DIR) \
-		KERNEL_DIR=$(LINUX_DIR) PREFIX=/usr \
+		KERNEL_DIR=$(LINUX_HEADERS_DIR) PREFIX=/usr \
 		CC=$(TARGET_CC) COPT_FLAGS="$(TARGET_CFLAGS)" \
 		DESTDIR=$(TARGET_DIR) install
 	$(STRIP) $(TARGET_DIR)/usr/sbin/iptables*
@@ -45,8 +45,8 @@
 iptables-source: $(DL_DIR)/$(IPTABLES_SOURCE)
 
 iptables-clean:
-	$(MAKE1) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(IPTABLES_BUILD_DIR) uninstall
 	-$(MAKE1) -C $(IPTABLES_BUILD_DIR) clean
+	rm -rf $(TARGET_DIR)/usr/sbin/iptables* $(TARGET_DIR)/usr/lib/iptables
 
 iptables-dirclean:
 	rm -rf $(IPTABLES_BUILD_DIR)

             reply	other threads:[~2006-12-18 15:23 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-18 15:23 aldot at uclibc.org [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-03-03 22:28 [Buildroot] svn commit: trunk/buildroot/package/iptables jacmet at uclibc.org
2008-09-18 11:08 egtvedt at uclibc.org
2008-09-18 11:20 ` Hans-Christian Egtvedt
2008-09-16  2:12 correa at uclibc.org
2008-05-22 21:39 ulf at uclibc.org
2007-09-01 17:12 aldot at uclibc.org
2007-07-28 15:09 ulf at uclibc.org
2007-07-23 11:34 aldot at uclibc.org
2007-07-08 19:07 aldot at uclibc.org
2006-12-14  5:40 andersen at uclibc.org
2006-12-13  8:55 aldot at uclibc.org
2006-12-02 18:13 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=20061218152355.8D9264858D@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