Browse Source

- busybox: activate fbset

master
vanhofen 4 years ago
parent
commit
1430dc4302
  1. 15
      make/target-tools.mk
  2. 14
      package/busybox/files/fb.modes

15
make/target-tools.mk

@ -71,6 +71,15 @@ ifeq ($(BOXSERIES),$(filter $(BOXSERIES),hd2 hd5x hd6x vusolo4k vuduo4k vuduo4ks
$(call KCONFIG_ENABLE_OPT,CONFIG_PKILL,$(BUSYBOX_BUILD_CONFIG))
endef
define BUSYBOX_SET_FBSET
$(call KCONFIG_ENABLE_OPT,CONFIG_FBSET,$(BUSYBOX_BUILD_CONFIG))
$(call KCONFIG_ENABLE_OPT,CONFIG_FEATURE_FBSET_FANCY,$(BUSYBOX_BUILD_CONFIG))
$(call KCONFIG_ENABLE_OPT,CONFIG_FEATURE_FBSET_READMODE,$(BUSYBOX_BUILD_CONFIG))
endef
define BUSYBOX_INSTALL_FBSET
$(INSTALL_DATA) -D $(PKG_FILES_DIR)/fb.modes $(TARGET_sysconfdir)/fb.modes
endef
ifeq ($(BOXSERIES),$(filter $(BOXSERIES),vusolo4k vuduo4k vuduo4kse vuultimo4k vuzero4k vuuno4k vuuno4kse vuduo))
define BUSYBOX_SET_START_STOP_DAEMON
@ -91,6 +100,7 @@ define BUSYBOX_MODIFY_CONFIG
$(BUSYBOX_SET_SWAP)
$(BUSYBOX_SET_HEXDUMP)
$(BUSYBOX_SET_PKILL)
$(BUSYBOX_SET_FBSET)
$(BUSYBOX_SET_START_STOP_DAEMON)
endef
@ -109,6 +119,10 @@ define BUSYBOX_ADD_TO_SHELLS
fi
endef
define BUSYBOX_INSTALL_FILES
$(BUSYBOX_INSTALL_FBSET)
endef
busybox: $(BUSYBOX_DEPS) $(DL_DIR)/$(BUSYBOX_SOURCE) | $(TARGET_DIR)
$(REMOVE)/$(PKG_DIR)
$(UNTAR)/$(PKG_SOURCE)
@ -120,6 +134,7 @@ busybox: $(BUSYBOX_DEPS) $(DL_DIR)/$(BUSYBOX_SOURCE) | $(TARGET_DIR)
$($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_MAKE_OPTS) busybox; \
$($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_MAKE_OPTS) install-noclobber
$(BUSYBOX_ADD_TO_SHELLS)
$(BUSYBOX_INSTALL_FILES)
$(REMOVE)/$(PKG_DIR)
$(TOUCH)

14
package/busybox/files/fb.modes

@ -0,0 +1,14 @@
#
# fb.modes file describing various video modes
# for frame buffer driver
#
#
mode "1280x720p-50"
geometry 1280 720 1280 1440 32
timings 13468 400 0 5 0 300 25
endmode
mode "1920x1080p-50"
geometry 1920 1080 1920 2160 32
timings 13468 242 0 45 0 118 20
endmode
Loading…
Cancel
Save