mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-01 23:47:42 +00:00
Some package use ncurses libpanel/libform/libmenu, this config allows to selectively
copy them to the target filesystem at the same time at the main library is installed. -Patch by Michel (BusError)
This commit is contained in:
parent
1a09aaf047
commit
d284bd5b8f
@ -7,6 +7,28 @@ config BR2_PACKAGE_NCURSES
|
|||||||
|
|
||||||
http://www.gnu.org/software/ncurses/
|
http://www.gnu.org/software/ncurses/
|
||||||
|
|
||||||
|
config BR2_PACKAGE_NCURSES_TARGET_PANEL
|
||||||
|
bool "ncurses libpanel in target"
|
||||||
|
default n
|
||||||
|
depends on BR2_PACKAGE_NCURSES
|
||||||
|
help
|
||||||
|
Ncurses headers in target
|
||||||
|
Includes ncurses dynamic libpanel in target
|
||||||
|
|
||||||
|
config BR2_PACKAGE_NCURSES_TARGET_FORM
|
||||||
|
bool "ncurses libform in target"
|
||||||
|
default n
|
||||||
|
depends on BR2_PACKAGE_NCURSES
|
||||||
|
help
|
||||||
|
Includes ncurses dynamic libform in target
|
||||||
|
|
||||||
|
config BR2_PACKAGE_NCURSES_TARGET_MENU
|
||||||
|
bool "ncurses libmenu in target"
|
||||||
|
default n
|
||||||
|
depends on BR2_PACKAGE_NCURSES
|
||||||
|
help
|
||||||
|
Includes ncurses dynamic libmenu in target
|
||||||
|
|
||||||
config BR2_PACKAGE_NCURSES_TARGET_HEADERS
|
config BR2_PACKAGE_NCURSES_TARGET_HEADERS
|
||||||
bool "ncurses headers in target"
|
bool "ncurses headers in target"
|
||||||
default n
|
default n
|
||||||
|
@ -104,6 +104,15 @@ $(STAGING_DIR)/lib/libncurses.so.$(NCURSES_VERSION): $(NCURSES_DIR)/lib/libncurs
|
|||||||
|
|
||||||
$(TARGET_DIR)/lib/libncurses.so.$(NCURSES_VERSION): $(STAGING_DIR)/lib/libncurses.so.$(NCURSES_VERSION)
|
$(TARGET_DIR)/lib/libncurses.so.$(NCURSES_VERSION): $(STAGING_DIR)/lib/libncurses.so.$(NCURSES_VERSION)
|
||||||
cp -dpf $(NCURSES_DIR)/lib/libncurses.so* $(TARGET_DIR)/lib/
|
cp -dpf $(NCURSES_DIR)/lib/libncurses.so* $(TARGET_DIR)/lib/
|
||||||
|
ifeq ($(strip $(BR2_PACKAGE_NCURSES_TARGET_PANEL)),y)
|
||||||
|
cp -dpf $(NCURSES_DIR)/lib/libpanel.so* $(TARGET_DIR)/lib/
|
||||||
|
endif
|
||||||
|
ifeq ($(strip $(BR2_PACKAGE_NCURSES_TARGET_FORM)),y)
|
||||||
|
cp -dpf $(NCURSES_DIR)/lib/libform.so* $(TARGET_DIR)/lib/
|
||||||
|
endif
|
||||||
|
ifeq ($(strip $(BR2_PACKAGE_NCURSES_TARGET_MENU)),y)
|
||||||
|
cp -dpf $(NCURSES_DIR)/lib/libmenu.so* $(TARGET_DIR)/lib/
|
||||||
|
endif
|
||||||
ln -sf /usr/share/terminfo $(TARGET_DIR)/usr/lib/terminfo
|
ln -sf /usr/share/terminfo $(TARGET_DIR)/usr/lib/terminfo
|
||||||
mkdir -p $(TARGET_DIR)/usr/share/terminfo/x
|
mkdir -p $(TARGET_DIR)/usr/share/terminfo/x
|
||||||
cp -dpf $(STAGING_DIR)/usr/share/terminfo/x/xterm $(TARGET_DIR)/usr/share/terminfo/x
|
cp -dpf $(STAGING_DIR)/usr/share/terminfo/x/xterm $(TARGET_DIR)/usr/share/terminfo/x
|
||||||
|
Loading…
x
Reference in New Issue
Block a user