linenoise: bump version
PATCH 1/2 linenoise: bump version
Signed-off-by Francois Perrad <[email protected]>
--- package/linenoise/linenoise.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/linenoise/linenoise.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -LINENOISE_VERSION = 27a3b4d5205a5fb3e2101128edd6653bd0c92189 +LINENOISE_VERSION = 828b9dacc52d4ad5a15c89be8fb8691d224f9a4f LINENOISE_SITE = $(call github,antirez,linenoise,$(LINENOISE_VERSION)) LINENOISE_LICENSE = BSD-2c LINENOISE_INSTALL_STAGING = YES
Signature · 1 line
1.9.1
PATCH 2/2 linenoise: install nothing on target
linenoise is a static library, so it's enough to install on staging. and the linenoise_example executable is not really useful.
Signed-off-by Francois Perrad <[email protected]>
--- package/linenoise/linenoise.mk | 6 ------ 1 file changed, 6 deletions(-)
package/linenoise/linenoise.mk +0 -6
@@ -21,10 +21,4 @@ define LINENOISE_INSTALL_STAGING_CMDS $(INSTALL) -m 755 -D $(@D)/linenoise_example $(STAGING_DIR)/usr/bin/linenoise_example endef -define LINENOISE_INSTALL_TARGET_CMDS - $(INSTALL) -m 644 -D $(@D)/linenoise.h $(TARGET_DIR)/usr/include/linenoise.h - $(INSTALL) -m 644 -D $(@D)/liblinenoise.a $(TARGET_DIR)/usr/lib/liblinenoise.a - $(INSTALL) -m 755 -D $(@D)/linenoise_example $(TARGET_DIR)/usr/bin/linenoise_example -endef - $(eval $(generic-package))
Signature · 1 line
1.9.1
PATCH 2/2 linenoise: install nothing on target
Dear Francois Perrad,
Quoted 13 lines · Francois Perrad
linenoise is a static library, so it's enough to install on staging. and the
linenoise_exampleexecutable is not really useful.Signed-off-by Francois Perrad <[email protected]>--- package/linenoise/linenoise.mk | 6 ------ 1 file changed, 6 deletions(-)package/linenoise/linenoise.mk +0
-0
package/linenoise/linenoise.mk define LINENOISE_INSTALL_STAGING_CMDS · line 24
Quoted 10 lines
package/linenoise/linenoise.mk +0
-6@@ -21,10 +21,4 @@ define LINENOISE_INSTALL_STAGING_CMDS $(INSTALL) -m 755 -D $(@D)/linenoise_example $(STAGING_DIR)/usr/bin/linenoise_example endef -define LINENOISE_INSTALL_TARGET_CMDS - $(INSTALL) -m 644 -D $(@D)/linenoise.h $(TARGET_DIR)/usr/include/linenoise.h - $(INSTALL) -m 644 -D $(@D)/liblinenoise.a $(TARGET_DIR)/usr/lib/liblinenoise.a - $(INSTALL) -m 755 -D $(@D)/linenoise_example $(TARGET_DIR)/usr/bin/linenoise_example -endef - $(eval $(generic-package))
Then maybe add:
# Static library only, nothing to install on target LINENOISE_INSTALL_TARGET = NO
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com