All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/zip: install to staging
@ 2020-07-06 15:34 Kamel Bouhara
  2020-07-07 21:00 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Kamel Bouhara @ 2020-07-06 15:34 UTC (permalink / raw)
  To: buildroot

Install header files and libraries into the staging area.

Signed-off-by: Kamel Bouhara <kamel.bouhara@bootlin.com>
---
 package/zip/zip.mk | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/package/zip/zip.mk b/package/zip/zip.mk
index ca52c74fb1..c78efedc25 100644
--- a/package/zip/zip.mk
+++ b/package/zip/zip.mk
@@ -10,6 +10,7 @@ ZIP_SOURCE = zip$(subst .,,$(ZIP_VERSION)).tgz
 ZIP_SITE = ftp://ftp.info-zip.org/pub/infozip/src
 ZIP_LICENSE = Info-ZIP
 ZIP_LICENSE_FILES = LICENSE
+ZIP_INSTALL_STAGING = YES
 
 ifeq ($(BR2_PACKAGE_BZIP2),y)
 ZIP_DEPENDENCIES += bzip2
@@ -39,6 +40,11 @@ define ZIP_INSTALL_TARGET_CMDS
 		prefix=$(TARGET_DIR)/usr
 endef
 
+define ZIP_INSTALLING_STAGING_CMDS
+	$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) -f unix/Makefile install \
+		prefix=$(STAGING_DIR)/usr
+endef
+
 define HOST_ZIP_BUILD_CMDS
 	$(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D) \
 		CFLAGS="$(HOST_CFLAGS) $(ZIP_CFLAGS)" \
-- 
2.26.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] package/zip: install to staging
  2020-07-06 15:34 [Buildroot] [PATCH] package/zip: install to staging Kamel Bouhara
@ 2020-07-07 21:00 ` Yann E. MORIN
  0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2020-07-07 21:00 UTC (permalink / raw)
  To: buildroot

Kamel, All,

On 2020-07-06 17:34 +0200, Kamel Bouhara spake thusly:
> Install header files and libraries into the staging area.
> 
> Signed-off-by: Kamel Bouhara <kamel.bouhara@bootlin.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/zip/zip.mk | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/package/zip/zip.mk b/package/zip/zip.mk
> index ca52c74fb1..c78efedc25 100644
> --- a/package/zip/zip.mk
> +++ b/package/zip/zip.mk
> @@ -10,6 +10,7 @@ ZIP_SOURCE = zip$(subst .,,$(ZIP_VERSION)).tgz
>  ZIP_SITE = ftp://ftp.info-zip.org/pub/infozip/src
>  ZIP_LICENSE = Info-ZIP
>  ZIP_LICENSE_FILES = LICENSE
> +ZIP_INSTALL_STAGING = YES
>  
>  ifeq ($(BR2_PACKAGE_BZIP2),y)
>  ZIP_DEPENDENCIES += bzip2
> @@ -39,6 +40,11 @@ define ZIP_INSTALL_TARGET_CMDS
>  		prefix=$(TARGET_DIR)/usr
>  endef
>  
> +define ZIP_INSTALLING_STAGING_CMDS
> +	$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) -f unix/Makefile install \
> +		prefix=$(STAGING_DIR)/usr
> +endef
> +
>  define HOST_ZIP_BUILD_CMDS
>  	$(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D) \
>  		CFLAGS="$(HOST_CFLAGS) $(ZIP_CFLAGS)" \
> -- 
> 2.26.2
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-07 21:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-06 15:34 [Buildroot] [PATCH] package/zip: install to staging Kamel Bouhara
2020-07-07 21:00 ` Yann E. MORIN

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.