mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 13:46:32 +00:00
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.
This commit is contained in:
parent
b5ad3a7944
commit
dadad95190
@ -46,6 +46,7 @@ $(E2FSPROGS_DIR)/.configured: $(E2FSPROGS_DIR)/.unpacked
|
|||||||
--disable-resizer --enable-fsck \
|
--disable-resizer --enable-fsck \
|
||||||
--disable-e2initrd-helper \
|
--disable-e2initrd-helper \
|
||||||
--without-catgets $(DISABLE_NLS) \
|
--without-catgets $(DISABLE_NLS) \
|
||||||
|
$(DISABLE_LARGEFILE) \
|
||||||
);
|
);
|
||||||
touch $(E2FSPROGS_DIR)/.configured
|
touch $(E2FSPROGS_DIR)/.configured
|
||||||
|
|
||||||
|
@ -6,3 +6,10 @@ config BR2_PACKAGE_NCURSES
|
|||||||
curses in System V Release 4.0, and more.
|
curses in System V Release 4.0, and more.
|
||||||
|
|
||||||
http://www.gnu.org/software/ncurses/
|
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
|
||||||
|
@ -149,3 +149,6 @@ ncurses-dirclean:
|
|||||||
ifeq ($(strip $(BR2_PACKAGE_NCURSES)),y)
|
ifeq ($(strip $(BR2_PACKAGE_NCURSES)),y)
|
||||||
TARGETS+=ncurses
|
TARGETS+=ncurses
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(strip $(BR2_PACKAGE_NCURSES_TARGET_HEADERS)),y)
|
||||||
|
TARGETS+=ncurses-headers
|
||||||
|
endif
|
||||||
|
@ -8,3 +8,10 @@ config BR2_PACKAGE_OPENSSL
|
|||||||
full-strength general-purpose cryptography library.
|
full-strength general-purpose cryptography library.
|
||||||
|
|
||||||
http://www.openssl.org/
|
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.
|
||||||
|
@ -25,7 +25,7 @@ $(OPENSSL_DIR)/.unpacked: $(DL_DIR)/$(OPENSSL_SOURCE)
|
|||||||
|
|
||||||
$(OPENSSL_DIR)/Makefile: $(OPENSSL_DIR)/.unpacked
|
$(OPENSSL_DIR)/Makefile: $(OPENSSL_DIR)/.unpacked
|
||||||
(cd $(OPENSSL_DIR); \
|
(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=/ \
|
PATH=$(TARGET_PATH) ./Configure linux-$(ARCH) --prefix=/ \
|
||||||
--openssldir=/usr/lib/ssl -L$(STAGING_DIR)/lib -ldl \
|
--openssldir=/usr/lib/ssl -L$(STAGING_DIR)/lib -ldl \
|
||||||
-I$(STAGING_DIR)/include $(OPENSSL_OPTS) no-threads \
|
-I$(STAGING_DIR)/include $(OPENSSL_OPTS) no-threads \
|
||||||
@ -85,3 +85,6 @@ openssl-dirclean:
|
|||||||
ifeq ($(strip $(BR2_PACKAGE_OPENSSL)),y)
|
ifeq ($(strip $(BR2_PACKAGE_OPENSSL)),y)
|
||||||
TARGETS+=openssl
|
TARGETS+=openssl
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(strip $(BR2_PACKAGE_OPENSSL_TARGET_HEADERS)),y)
|
||||||
|
TARGETS+=openssl-headers
|
||||||
|
endif
|
||||||
|
@ -21,6 +21,9 @@ $(UTIL-LINUX_DIR)/.unpacked: $(DL_DIR)/$(UTIL-LINUX_SOURCE) $(DL_DIR)/$(UTIL-LIN
|
|||||||
$(UTIL-LINUX_CAT) $(DL_DIR)/$(UTIL-LINUX_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
$(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)
|
$(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
|
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
|
touch $(UTIL-LINUX_DIR)/.unpacked
|
||||||
|
|
||||||
$(UTIL-LINUX_DIR)/.configured: $(UTIL-LINUX_DIR)/.unpacked
|
$(UTIL-LINUX_DIR)/.configured: $(UTIL-LINUX_DIR)/.unpacked
|
||||||
@ -40,6 +43,7 @@ $(UTIL-LINUX_DIR)/.configured: $(UTIL-LINUX_DIR)/.unpacked
|
|||||||
--mandir=/usr/man \
|
--mandir=/usr/man \
|
||||||
--infodir=/usr/info \
|
--infodir=/usr/info \
|
||||||
$(DISABLE_NLS) \
|
$(DISABLE_NLS) \
|
||||||
|
$(DISABLE_LARGEFILE) \
|
||||||
ARCH=$(ARCH) \
|
ARCH=$(ARCH) \
|
||||||
);
|
);
|
||||||
$(SED) "s,^INSTALLSUID=.*,INSTALLSUID=\\$$\(INSTALL\) -m \\$$\(BINMODE\)," \
|
$(SED) "s,^INSTALLSUID=.*,INSTALLSUID=\\$$\(INSTALL\) -m \\$$\(BINMODE\)," \
|
||||||
|
@ -6,3 +6,10 @@ config BR2_PACKAGE_ZLIB
|
|||||||
gzip and libpng.
|
gzip and libpng.
|
||||||
|
|
||||||
http://www.gzip.org/zlib/
|
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.
|
||||||
|
@ -79,3 +79,6 @@ zlib-dirclean:
|
|||||||
ifeq ($(strip $(BR2_PACKAGE_ZLIB)),y)
|
ifeq ($(strip $(BR2_PACKAGE_ZLIB)),y)
|
||||||
TARGETS+=zlib
|
TARGETS+=zlib
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(strip $(BR2_PACKAGE_ZLIB_TARGET_HEADERS)),y)
|
||||||
|
TARGETS+=zlib-headers
|
||||||
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user