[uClibc-cvs] svn commit: trunk/buildroot/package: e2fsprogs ncurses openssl util-linux zli etc...

andersen at uclibc.org andersen at uclibc.org
Tue Jul 12 19:53:14 UTC 2005


Author: andersen
Date: 2005-07-12 13:53:12 -0600 (Tue, 12 Jul 2005)
New Revision: 10797

Log:
Thomas Lundquist writes:

If I understand you correctly, you want the ncurses development headers
on the target.

a patch for this (named target_headers.patch and includes similar
options for a few other libs in buildroot) can be found at:

http://www.zelow.no/floppyfw/download/Development/Patches/buildroot/

(a few packages there aswell)

it will add an option to put headers on target for ncurses, zlib and
openssl.



Thomas.



Modified:
   trunk/buildroot/package/e2fsprogs/e2fsprogs.mk
   trunk/buildroot/package/ncurses/Config.in
   trunk/buildroot/package/ncurses/ncurses.mk
   trunk/buildroot/package/openssl/Config.in
   trunk/buildroot/package/openssl/openssl.mk
   trunk/buildroot/package/util-linux/util-linux.mk
   trunk/buildroot/package/zlib/Config.in
   trunk/buildroot/package/zlib/zlib.mk


Changeset:
Modified: trunk/buildroot/package/e2fsprogs/e2fsprogs.mk
===================================================================
--- trunk/buildroot/package/e2fsprogs/e2fsprogs.mk	2005-07-12 04:23:17 UTC (rev 10796)
+++ trunk/buildroot/package/e2fsprogs/e2fsprogs.mk	2005-07-12 19:53:12 UTC (rev 10797)
@@ -46,6 +46,7 @@
 		--disable-resizer --enable-fsck \
                 --disable-e2initrd-helper \
 		--without-catgets $(DISABLE_NLS) \
+		$(DISABLE_LARGEFILE) \
 	);
 	touch  $(E2FSPROGS_DIR)/.configured
 

Modified: trunk/buildroot/package/ncurses/Config.in
===================================================================
--- trunk/buildroot/package/ncurses/Config.in	2005-07-12 04:23:17 UTC (rev 10796)
+++ trunk/buildroot/package/ncurses/Config.in	2005-07-12 19:53:12 UTC (rev 10797)
@@ -6,3 +6,10 @@
 	  curses in System V Release 4.0, and more.
 
 	  http://www.gnu.org/software/ncurses/
+
+config BR2_PACKAGE_NCURSES_TARGET_HEADERS
+	bool "ncurses headers in target"
+	default n
+	depends on BR2_PACKAGE_NCURSES
+	help
+	  Ncurses headers in target

Modified: trunk/buildroot/package/ncurses/ncurses.mk
===================================================================
--- trunk/buildroot/package/ncurses/ncurses.mk	2005-07-12 04:23:17 UTC (rev 10796)
+++ trunk/buildroot/package/ncurses/ncurses.mk	2005-07-12 19:53:12 UTC (rev 10797)
@@ -149,3 +149,6 @@
 ifeq ($(strip $(BR2_PACKAGE_NCURSES)),y)
 TARGETS+=ncurses
 endif
+ifeq ($(strip $(BR2_PACKAGE_NCURSES_TARGET_HEADERS)),y)
+TARGETS+=ncurses-headers
+endif

Modified: trunk/buildroot/package/openssl/Config.in
===================================================================
--- trunk/buildroot/package/openssl/Config.in	2005-07-12 04:23:17 UTC (rev 10796)
+++ trunk/buildroot/package/openssl/Config.in	2005-07-12 19:53:12 UTC (rev 10797)
@@ -8,3 +8,10 @@
 	  full-strength general-purpose cryptography library.
 
 	  http://www.openssl.org/
+
+config BR2_PACKAGE_OPENSSL_TARGET_HEADERS
+	bool "openssl headers in target"
+	default n
+	depends on BR2_PACKAGE_OPENSSL
+	help
+	  Put openssl headers in the target.

Modified: trunk/buildroot/package/openssl/openssl.mk
===================================================================
--- trunk/buildroot/package/openssl/openssl.mk	2005-07-12 04:23:17 UTC (rev 10796)
+++ trunk/buildroot/package/openssl/openssl.mk	2005-07-12 19:53:12 UTC (rev 10797)
@@ -25,7 +25,7 @@
 
 $(OPENSSL_DIR)/Makefile: $(OPENSSL_DIR)/.unpacked
 	(cd $(OPENSSL_DIR); \
-	CFLAGS="-DOPENSSL_NO_KRB5 -DOPENSSL_NO_IDEA -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5" \
+	CFLAGS="-DOPENSSL_NO_KRB5 -DOPENSSL_NO_IDEA -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5 $(TARGET_CFLAGS)" \
 	PATH=$(TARGET_PATH) ./Configure linux-$(ARCH) --prefix=/ \
 		--openssldir=/usr/lib/ssl -L$(STAGING_DIR)/lib -ldl \
 		-I$(STAGING_DIR)/include $(OPENSSL_OPTS) no-threads \
@@ -85,3 +85,6 @@
 ifeq ($(strip $(BR2_PACKAGE_OPENSSL)),y)
 TARGETS+=openssl
 endif
+ifeq ($(strip $(BR2_PACKAGE_OPENSSL_TARGET_HEADERS)),y)
+TARGETS+=openssl-headers
+endif

Modified: trunk/buildroot/package/util-linux/util-linux.mk
===================================================================
--- trunk/buildroot/package/util-linux/util-linux.mk	2005-07-12 04:23:17 UTC (rev 10796)
+++ trunk/buildroot/package/util-linux/util-linux.mk	2005-07-12 19:53:12 UTC (rev 10797)
@@ -21,6 +21,9 @@
 	$(UTIL-LINUX_CAT) $(DL_DIR)/$(UTIL-LINUX_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
 	$(UTIL-LINUX_CAT) $(DL_DIR)/$(UTIL-LINUX_PATCH) | patch -p1 -d $(UTIL-LINUX_DIR)
 	toolchain/patch-kernel.sh $(UTIL-LINUX_DIR) package/util-linux/ util-linux\*.patch
+ifneq ($(BR2_LARGEFILE),y)
+	$(SED) "/D_FILE_OFFSET_BITS/ d" $(UTIL-LINUX_DIR)/MCONFIG
+endif
 	touch $(UTIL-LINUX_DIR)/.unpacked
 
 $(UTIL-LINUX_DIR)/.configured: $(UTIL-LINUX_DIR)/.unpacked
@@ -40,6 +43,7 @@
 		--mandir=/usr/man \
 		--infodir=/usr/info \
 		$(DISABLE_NLS) \
+		$(DISABLE_LARGEFILE) \
 		ARCH=$(ARCH) \
 	);
 	$(SED) "s,^INSTALLSUID=.*,INSTALLSUID=\\$$\(INSTALL\) -m \\$$\(BINMODE\)," \

Modified: trunk/buildroot/package/zlib/Config.in
===================================================================
--- trunk/buildroot/package/zlib/Config.in	2005-07-12 04:23:17 UTC (rev 10796)
+++ trunk/buildroot/package/zlib/Config.in	2005-07-12 19:53:12 UTC (rev 10797)
@@ -6,3 +6,10 @@
 	  gzip and libpng.
 
 	  http://www.gzip.org/zlib/
+
+config BR2_PACKAGE_ZLIB_TARGET_HEADERS
+	bool "zlib headers in target"
+	default n
+	depends on BR2_PACKAGE_ZLIB
+	help
+	  Put headers files in the target.

Modified: trunk/buildroot/package/zlib/zlib.mk
===================================================================
--- trunk/buildroot/package/zlib/zlib.mk	2005-07-12 04:23:17 UTC (rev 10796)
+++ trunk/buildroot/package/zlib/zlib.mk	2005-07-12 19:53:12 UTC (rev 10797)
@@ -79,3 +79,6 @@
 ifeq ($(strip $(BR2_PACKAGE_ZLIB)),y)
 TARGETS+=zlib
 endif
+ifeq ($(strip $(BR2_PACKAGE_ZLIB_TARGET_HEADERS)),y)
+TARGETS+=zlib-headers
+endif




More information about the uClibc-cvs mailing list