mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-31 07:06:36 +00:00
Change name form DIRECTFB_MAJOR to DIRECTFB_VERSION_MAJOR, make patches version dependent
This commit is contained in:
parent
0a63b6ce56
commit
c075c6888d
@ -21,24 +21,29 @@ config BR2_PACKAGE_DIRECTFB_XSERVER
|
|||||||
config BR2_PACKAGE_DIRECTFB_UNIQUE
|
config BR2_PACKAGE_DIRECTFB_UNIQUE
|
||||||
bool "enable unique window manager"
|
bool "enable unique window manager"
|
||||||
depends on BR2_PACKAGE_DIRECTFB
|
depends on BR2_PACKAGE_DIRECTFB
|
||||||
|
depends on BR2_UNIMPLEMENTED
|
||||||
|
|
||||||
config BR2_PACKAGE_DIRECTFB_ATI128
|
config BR2_PACKAGE_DIRECTFB_ATI128
|
||||||
bool "compile ati128 graphics driver"
|
bool "compile ati128 graphics driver"
|
||||||
depends on BR2_PACKAGE_DIRECTFB
|
depends on BR2_PACKAGE_DIRECTFB
|
||||||
|
depends on BR2_i386 || BR2_x86_64
|
||||||
|
|
||||||
config BR2_PACKAGE_DIRECTFB_CLE266
|
config BR2_PACKAGE_DIRECTFB_CLE266
|
||||||
bool "compile cle266 graphics driver"
|
bool "compile cle266 graphics driver"
|
||||||
default y
|
default y
|
||||||
depends on BR2_PACKAGE_DIRECTFB
|
depends on BR2_PACKAGE_DIRECTFB
|
||||||
|
depends on BR2_i386 || BR2_x86_64
|
||||||
|
|
||||||
config BR2_PACKAGE_DIRECTFB_MATROX
|
config BR2_PACKAGE_DIRECTFB_MATROX
|
||||||
bool "compile matrox graphics driver"
|
bool "compile matrox graphics driver"
|
||||||
depends on BR2_PACKAGE_DIRECTFB
|
depends on BR2_PACKAGE_DIRECTFB
|
||||||
|
depends on BR2_i386 || BR2_x86_64
|
||||||
|
|
||||||
config BR2_PACKAGE_DIRECTFB_UNICHROME
|
config BR2_PACKAGE_DIRECTFB_UNICHROME
|
||||||
bool "compile unichrome graphics driver"
|
bool "compile unichrome graphics driver"
|
||||||
default y
|
default y
|
||||||
depends on BR2_PACKAGE_DIRECTFB
|
depends on BR2_PACKAGE_DIRECTFB
|
||||||
|
depends on BR2_i386 || BR2_x86_64
|
||||||
|
|
||||||
config BR2_PACKAGE_DIRECTFB_KEYBOARD
|
config BR2_PACKAGE_DIRECTFB_KEYBOARD
|
||||||
bool "compile keyboard input driver"
|
bool "compile keyboard input driver"
|
||||||
@ -49,6 +54,7 @@ config BR2_PACKAGE_DIRECTFB_PS2MOUSE
|
|||||||
bool "compile PS2 mouse input driver"
|
bool "compile PS2 mouse input driver"
|
||||||
default y
|
default y
|
||||||
depends on BR2_PACKAGE_DIRECTFB
|
depends on BR2_PACKAGE_DIRECTFB
|
||||||
|
depends on BR2_i386 || BR2_x86_64
|
||||||
|
|
||||||
config BR2_PACKAGE_DIRECTFB_SERIALMOUSE
|
config BR2_PACKAGE_DIRECTFB_SERIALMOUSE
|
||||||
bool "compile serial mouse input driver"
|
bool "compile serial mouse input driver"
|
||||||
|
@ -5,14 +5,16 @@
|
|||||||
#############################################################
|
#############################################################
|
||||||
#DIRECTFB_VERSION:=0.9.25.1
|
#DIRECTFB_VERSION:=0.9.25.1
|
||||||
#DIRECTFB_SITE:=http://www.directfb.org/downloads/Old
|
#DIRECTFB_SITE:=http://www.directfb.org/downloads/Old
|
||||||
DIRECTFB_MAJOR:=1.2
|
DIRECTFB_VERSION_MAJOR:=1.2
|
||||||
DIRECTFB_VERSION:=1.2.6
|
DIRECTFB_VERSION:=1.2.6
|
||||||
|
#DIRECTFB_VERSION:=1.3.0 is a development version
|
||||||
|
#DIRECTFB_VERSION_MAJOR:=1.3
|
||||||
DIRECTFB_SITE:=http://www.directfb.org/downloads/Core
|
DIRECTFB_SITE:=http://www.directfb.org/downloads/Core
|
||||||
DIRECTFB_SOURCE:=DirectFB-$(DIRECTFB_VERSION).tar.gz
|
DIRECTFB_SOURCE:=DirectFB-$(DIRECTFB_VERSION).tar.gz
|
||||||
DIRECTFB_CAT:=$(ZCAT)
|
DIRECTFB_CAT:=$(ZCAT)
|
||||||
DIRECTFB_DIR:=$(BUILD_DIR)/DirectFB-$(DIRECTFB_VERSION)
|
DIRECTFB_DIR:=$(BUILD_DIR)/DirectFB-$(DIRECTFB_VERSION)
|
||||||
DIRECTFB_STAGING:=directfb-$(DIRECTFB_MAJOR)-0
|
DIRECTFB_STAGING:=directfb-$(DIRECTFB_VERSION_MAJOR)-0
|
||||||
DIRECTFB_BIN:=usr/lib/libdirectfb-$(DIRECTFB_MAJOR).so.0
|
DIRECTFB_BIN:=usr/lib/libdirectfb-$(DIRECTFB_VERSION_MAJOR).so.0
|
||||||
DIRECTFB_DEP:=zlib
|
DIRECTFB_DEP:=zlib
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_DIRECTFB_MULTI),y)
|
ifeq ($(BR2_PACKAGE_DIRECTFB_MULTI),y)
|
||||||
@ -110,7 +112,7 @@ directfb-source: $(DL_DIR)/$(DIRECTFB_SOURCE)
|
|||||||
|
|
||||||
$(DIRECTFB_DIR)/.unpacked: $(DL_DIR)/$(DIRECTFB_SOURCE)
|
$(DIRECTFB_DIR)/.unpacked: $(DL_DIR)/$(DIRECTFB_SOURCE)
|
||||||
$(DIRECTFB_CAT) $(DL_DIR)/$(DIRECTFB_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
$(DIRECTFB_CAT) $(DL_DIR)/$(DIRECTFB_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||||
toolchain/patch-kernel.sh $(DIRECTFB_DIR) package/directfb/ directfb\*.patch
|
toolchain/patch-kernel.sh $(DIRECTFB_DIR) package/directfb/ DirectFB-$(DIRECTFB_VERSION)\*.patch
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
$(DIRECTFB_DIR)/.configured: $(DIRECTFB_DIR)/.unpacked
|
$(DIRECTFB_DIR)/.configured: $(DIRECTFB_DIR)/.unpacked
|
||||||
@ -155,14 +157,14 @@ $(STAGING_DIR)/$(DIRECTFB_BIN): $(DIRECTFB_DIR)/.compiled
|
|||||||
$(STAGING_DIR)/usr/lib/libdirect.la \
|
$(STAGING_DIR)/usr/lib/libdirect.la \
|
||||||
$(STAGING_DIR)/usr/lib/libdirectfb.la \
|
$(STAGING_DIR)/usr/lib/libdirectfb.la \
|
||||||
$(STAGING_DIR)/usr/lib/libfusion.la \
|
$(STAGING_DIR)/usr/lib/libfusion.la \
|
||||||
`find $(STAGING_DIR)/usr/lib/directfb-$(DIRECTFB_MAJOR)-0/ -name '*.la'`
|
`find $(STAGING_DIR)/usr/lib/directfb-$(DIRECTFB_VERSION_MAJOR)-0/ -name '*.la'`
|
||||||
$(SED) "s,^prefix=.*,prefix=\'$(STAGING_DIR)/usr\',g" \
|
$(SED) "s,^prefix=.*,prefix=\'$(STAGING_DIR)/usr\',g" \
|
||||||
$(STAGING_DIR)/usr/bin/*directfb-config
|
$(STAGING_DIR)/usr/bin/*directfb-config
|
||||||
|
|
||||||
$(TARGET_DIR)/$(DIRECTFB_BIN): $(STAGING_DIR)/$(DIRECTFB_BIN)
|
$(TARGET_DIR)/$(DIRECTFB_BIN): $(STAGING_DIR)/$(DIRECTFB_BIN)
|
||||||
cd $(STAGING_DIR)/usr/lib/; find $(DIRECTFB_STAGING) -type f -name '*.so' \
|
cd $(STAGING_DIR)/usr/lib/; find $(DIRECTFB_STAGING) -type f -name '*.so' \
|
||||||
| xargs -IREPL install -Dm644 REPL $(TARGET_DIR)/usr/lib/REPL
|
| xargs -IREPL install -Dm644 REPL $(TARGET_DIR)/usr/lib/REPL
|
||||||
mkdir -p $(TARGET_DIR)/usr/lib/directfb-$(DIRECTFB_MAJOR)-0/gfxdrivers
|
mkdir -p $(TARGET_DIR)/usr/lib/directfb-$(DIRECTFB_VERSION_MAJOR)-0/gfxdrivers
|
||||||
cp -dpf $(STAGING_DIR)/usr/lib/libfusion*.so.* $(TARGET_DIR)/usr/lib/
|
cp -dpf $(STAGING_DIR)/usr/lib/libfusion*.so.* $(TARGET_DIR)/usr/lib/
|
||||||
ifeq ($(BR2_PACKAGE_DIRECTFB_UNIQUE),y)
|
ifeq ($(BR2_PACKAGE_DIRECTFB_UNIQUE),y)
|
||||||
cp -dpf $(STAGING_DIR)/usr/lib/libuniquewm*.so.* $(TARGET_DIR)/usr/lib/
|
cp -dpf $(STAGING_DIR)/usr/lib/libuniquewm*.so.* $(TARGET_DIR)/usr/lib/
|
||||||
@ -178,6 +180,8 @@ endif
|
|||||||
|
|
||||||
directfb: uclibc $(DIRECTFB_DEP) freetype $(DIRECTFB_FUSION) $(TARGET_DIR)/$(DIRECTFB_BIN)
|
directfb: uclibc $(DIRECTFB_DEP) freetype $(DIRECTFB_FUSION) $(TARGET_DIR)/$(DIRECTFB_BIN)
|
||||||
|
|
||||||
|
directfb-unpacked: $(DIRECTFB_DIR)/.unpacked
|
||||||
|
|
||||||
directfb-clean:
|
directfb-clean:
|
||||||
-$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(DIRECTFB_DIR) uninstall
|
-$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(DIRECTFB_DIR) uninstall
|
||||||
-$(MAKE) -C $(DIRECTFB_DIR) clean
|
-$(MAKE) -C $(DIRECTFB_DIR) clean
|
||||||
|
Loading…
x
Reference in New Issue
Block a user