Skip to contentSkip to conversation

linenoise: bump version

PATCH Superseded Francois Perrad 2 participants 3 messages Sep 8, 2014

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 linenoise: bump version

---
 package/linenoise/linenoise.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/linenoise/linenoise.mk +1 -1
index 4cb1427..562b445 100644
@@ -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
#1 lore raw

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.

---
 package/linenoise/linenoise.mk | 6 ------
 1 file changed, 6 deletions(-)
package/linenoise/linenoise.mk +0 -6
index 562b445..34f85ed 100644
@@ -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
#2 lore raw

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_example executable is not really useful.

---
 package/linenoise/linenoise.mk | 6 ------
 1 file changed, 6 deletions(-)
package/linenoise/linenoise.mk +0 -0
index 562b445..34f85ed 100644

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