Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
- Loading branch information
Showing
3 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
config BR2_PACKAGE_SREDIRD | ||
bool "sredird" | ||
help | ||
Sredird is a serial port redirector that is compliant with | ||
the RFC 2217 "Telnet Com Port Control Option" protocol. This | ||
protocol lets you share a serial port through the network. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
############################################################# | ||
# | ||
# sredird | ||
# | ||
############################################################# | ||
|
||
SREDIRD_VERSION = 2.2.1-1.1 | ||
SREDIRD_SOURCE = sredird_$(SREDIRD_VERSION).tar.gz | ||
SREDIRD_SITE = $(BR2_DEBIAN_MIRROR)/debian/pool/main/s/sredird | ||
|
||
define SREDIRD_BUILD_CMDS | ||
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) | ||
endef | ||
|
||
define SREDIRD_INSTALL_TARGET_CMDS | ||
$(INSTALL) -D -m 0755 $(@D)/sredird $(TARGET_DIR)/usr/sbin/sredird | ||
endef | ||
|
||
define SREDIRD_UNINSTALL_TARGET_CMDS | ||
rm -f $(TARGET_DIR)/usr/sbin/sredird | ||
endef | ||
|
||
define SREDIRD_CLEAN_CMDS | ||
rm -f $(@D)/sredird | ||
endef | ||
|
||
$(eval $(call GENTARGETS,package,sredird)) |