From: aldot at uclibc.org <aldot@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/openswan
Date: Fri, 22 Dec 2006 03:29:53 -0800 (PST) [thread overview]
Message-ID: <20061222112953.0AA4648582@busybox.net> (raw)
Author: aldot
Date: 2006-12-22 03:29:52 -0800 (Fri, 22 Dec 2006)
New Revision: 17043
Log:
- add option to enable debugging support
Modified:
trunk/buildroot/package/openswan/Config.in
trunk/buildroot/package/openswan/openswan.mk
Changeset:
Modified: trunk/buildroot/package/openswan/Config.in
===================================================================
--- trunk/buildroot/package/openswan/Config.in 2006-12-22 10:39:56 UTC (rev 17042)
+++ trunk/buildroot/package/openswan/Config.in 2006-12-22 11:29:52 UTC (rev 17043)
@@ -7,3 +7,13 @@
Openswan is an implementation of IPsec for Linux.
http://openswan.org/
+config BR2_PACKAGE_OPENSWAN_DEBUGGING
+ bool "debugging support"
+ default n
+ depends on BR2_PACKAGE_OPENSWAN
+ help
+ Enable debugging support.
+ This is not needed if you know what you do but makes it quite
+ hard to diagnose eventual problems.
+ It is safe to say Yes here.
+
Modified: trunk/buildroot/package/openswan/openswan.mk
===================================================================
--- trunk/buildroot/package/openswan/openswan.mk 2006-12-22 10:39:56 UTC (rev 17042)
+++ trunk/buildroot/package/openswan/openswan.mk 2006-12-22 11:29:52 UTC (rev 17043)
@@ -14,6 +14,10 @@
OPENSWAN_BINARY:=programs/pluto/pluto
OPENSWAN_TARGET_BINARY:=usr/sbin/ipsec
+ifneq ($(BR2_PACKAGE_OPENSWAN_DEBUGGING),y)
+OPENSWAN_CFLAGS=-UDEBUG -DNO_DEBUG -ULEAK_DETECTIVE
+endif
+
$(DL_DIR)/$(OPENSWAN_SOURCE):
$(WGET) -P $(DL_DIR) $(OPENSWAN_SITE)/$(OPENSWAN_SOURCE)
@@ -25,17 +29,17 @@
touch $(OPENSWAN_DIR)/.unpacked
$(OPENSWAN_DIR)/$(OPENSWAN_BINARY): $(OPENSWAN_DIR)/.unpacked
- @echo $(LINUX_KERNEL)
+ @echo "using kernel $(LINUX_KERNEL)"
$(TARGET_CONFIGURE_OPTS) \
$(MAKE) -C $(OPENSWAN_DIR) \
KERNELSRC=$(LINUX_DIR) DESTDIR=$(TARGET_DIR) INC_USRLOCAL=/usr \
- CC=$(TARGET_CC) USERCOMPILE="-UDEBUG -DNO_DEBUG -ULEAK_DETECTIVE $(TARGET_CFLAGS) -I$(TARGET_DIR)/usr/include" LD_LIBRARY_PATH=$(TARGET_DIR)/usr/lib programs
+ CC=$(TARGET_CC) USERCOMPILE="$(OPENSWAN_CFLAGS) $(TARGET_CFLAGS) -I$(TARGET_DIR)/usr/include" LD_LIBRARY_PATH="$(TARGET_DIR)/lib:$(TARGET_DIR)/usr/lib" programs
$(TARGET_DIR)/$(OPENSWAN_TARGET_BINARY): $(OPENSWAN_DIR)/$(OPENSWAN_BINARY)
$(TARGET_CONFIGURE_OPTS) \
$(MAKE) -C $(OPENSWAN_DIR) \
KERNELSRC=$(LINUX_DIR) DESTDIR=$(TARGET_DIR) INC_USRLOCAL=/usr \
- CC=$(TARGET_CC) USERCOMPILE="-UDEBUG -DNO_DEBUG -ULEAK_DETECTIVE $(TARGET_CFLAGS) -I$(TARGET_DIR)/usr/include" LD_LIBRARY_PATH=$(TARGET_DIR)/usr/lib install
+ CC=$(TARGET_CC) USERCOMPILE="$(OPENSWAN_CFLAGS) $(TARGET_CFLAGS) -I$(TARGET_DIR)/usr/include" LD_LIBRARY_PATH="$(TARGET_DIR)/lib:$(TARGET_DIR)/usr/lib" install
rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \
$(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc
next reply other threads:[~2006-12-22 11:29 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-22 11:29 aldot at uclibc.org [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-02-24 8:56 [Buildroot] svn commit: trunk/buildroot/package/openswan jacmet at uclibc.org
2009-01-16 13:21 jacmet at uclibc.org
2008-12-17 10:32 jacmet at uclibc.org
2007-09-19 9:20 aldot at uclibc.org
2007-09-19 8:50 aldot at uclibc.org
2007-09-18 13:02 aldot at uclibc.org
2007-07-23 9:45 ulf at uclibc.org
2007-06-21 22:14 aldot at uclibc.org
2007-06-21 22:09 aldot at uclibc.org
2007-03-24 12:46 aldot at uclibc.org
2007-03-21 10:35 aldot at uclibc.org
2007-02-15 13:54 aldot at uclibc.org
2006-12-14 15:36 aldot at uclibc.org
2006-11-29 20:51 aldot at uclibc.org
2006-11-29 13:21 aldot at uclibc.org
2006-11-28 17:04 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=20061222112953.0AA4648582@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