|
@@ -21,24 +21,12 @@ define LINENOISE_INSTALL_STAGING_CMDS
|
|
$(INSTALL) -m 755 -D $(@D)/linenoise_example $(STAGING_DIR)/usr/bin/linenoise_example
|
|
$(INSTALL) -m 755 -D $(@D)/linenoise_example $(STAGING_DIR)/usr/bin/linenoise_example
|
|
endef
|
|
endef
|
|
|
|
|
|
-define LINENOISE_UNINSTALL_STAGING_CMDS
|
|
|
|
- rm -f $(STAGING_DIR)/usr/include/linenoise.h
|
|
|
|
- rm -f $(STAGING_DIR)/usr/lib/liblinenoise.a
|
|
|
|
- rm -f $(STAGING_DIR)/usr/bin/linenoise_example
|
|
|
|
-endef
|
|
|
|
-
|
|
|
|
define LINENOISE_INSTALL_TARGET_CMDS
|
|
define LINENOISE_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -m 644 -D $(@D)/linenoise.h $(TARGET_DIR)/usr/include/linenoise.h
|
|
$(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 644 -D $(@D)/liblinenoise.a $(TARGET_DIR)/usr/lib/liblinenoise.a
|
|
$(INSTALL) -m 755 -D $(@D)/linenoise_example $(TARGET_DIR)/usr/bin/linenoise_example
|
|
$(INSTALL) -m 755 -D $(@D)/linenoise_example $(TARGET_DIR)/usr/bin/linenoise_example
|
|
endef
|
|
endef
|
|
|
|
|
|
-define LINENOISE_UNINSTALL_TARGET_CMDS
|
|
|
|
- rm -f $(TARGET_DIR)/usr/include/linenoise.h
|
|
|
|
- rm -f $(TARGET_DIR)/usr/lib/liblinenoise.a
|
|
|
|
- rm -f $(TARGET_DIR)/usr/bin/linenoise_example
|
|
|
|
-endef
|
|
|
|
-
|
|
|
|
define LINENOISE_CLEAN_CMDS
|
|
define LINENOISE_CLEAN_CMDS
|
|
rm -f $(@D)/*.o $(@D)/*.a $(@D)/linenoise_example
|
|
rm -f $(@D)/*.o $(@D)/*.a $(@D)/linenoise_example
|
|
endef
|
|
endef
|