Added package v86d which provides a real-mode helper for uvesafb driver.
PATCH 1/1 Added package v86d which provides a real-mode helper for uvesafb driver.
--- package/Config.in | 1 + package/v86d/Config.in | 9 +++++++++ package/v86d/v86d.mk | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 46 insertions(+), 0 deletions(-) create mode 100644 package/v86d/Config.in create mode 100644 package/v86d/v86d.mk
package/Config.in +1 -0
@@ -230,6 +230,7 @@ source "package/unionfs/Config.in" source "package/usb_modeswitch/Config.in" source "package/usbmount/Config.in" source "package/usbutils/Config.in" +source "package/v86d/Config.in" source "package/wipe/Config.in" source "package/xfsprogs/Config.in" endmenu
package/v86d/Config.in new file +9 -0
@@ -0,0 +1,9 @@ +config BR2_PACKAGE_V86D + bool "v86d" + depends on (BR2_i386 || BR2_x86_64) + help + v86d is the userspace helper that runs x86 code in an emulated + environment. uvesafb will not work without v86d. v86d currently + supports the x86 and amd64 (x86-64) architectures. + + http://dev.gentoo.org/~spock/projects/uvesafb/
package/v86d/v86d.mk new file +36 -0
@@ -0,0 +1,36 @@ +############################################ +# +# v86d +# +############################################ + +V86D_VERSION = 0.1.10 +V86D_SOURCE = v86d-$(V86D_VERSION).tar.bz2 +V86D_SITE = http://dev.gentoo.org/~spock/projects/uvesafb/archive + +# This flag to configure should be per target architecture rather than +# autodetected (or it will be per host architecture which may be +# not the same as target). + +ifeq ($(BR2_i386),y) + x86emu = n +endif + +ifeq ($(BR2_x86_64),y) + x86emu = y +endif + +# v86d's configure script is not autoconf-based. +# GENTARGETS macro will be used rather than AUTOTARGETS. + +define V86D_CONFIGURE_CMDS + (cd $(@D) ; ./configure --with-debug=n --with-klibc=n --with-x86emu=$(x86emu)) +endef + +# It is necessary to define __i386__ explicitly in CFLAGS for successful compilation. + +define V86D_BUILD_CMDS + $(MAKE) CC="$(TARGET_CC) -D__i386__" LD="$(TARGET_LD)" -C $(@D) all +endef + +$(eval $(call GENTARGETS))
Signature · 1 line
1.7.2.5
PATCH 1/1 Added package v86d which provides a real-mode helper for uvesafb driver.
Hi Dmitry,
Two more comments.
Quoted 53 lines · Dmitry
Signed-off-by Dmitry <[email protected]>--- package/Config.in | 1 + package/v86d/Config.in | 9 +++++++++ package/v86d/v86d.mk | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 46 insertions(+), 0 deletions(-) create mode 100644 package/v86d/Config.in create mode 100644 package/v86d/v86d.mkpackage/Config.in +1
-0@@ -230,6 +230,7 @@ source "package/unionfs/Config.in" source "package/usb_modeswitch/Config.in" source "package/usbmount/Config.in" source "package/usbutils/Config.in" +source "package/v86d/Config.in" source "package/wipe/Config.in" source "package/xfsprogs/Config.in" endmenupackage/v86d/Config.in new file +9
-0@@ -0,0 +1,9 @@ +config BR2_PACKAGE_V86D + bool "v86d" + depends on (BR2_i386 || BR2_x86_64) + help + v86d is the userspace helper that runs x86 code in an emulated + environment. uvesafb will not work without v86d. v86d currently + supports the x86 and amd64 (x86-64) architectures. + + http://dev.gentoo.org/~spock/projects/uvesafb/package/v86d/v86d.mk new file +11
-0@@ -0,0 +1,36 @@ +############################################ +# +# v86d +# +############################################ + +V86D_VERSION = 0.1.10 +V86D_SOURCE = v86d-$(V86D_VERSION).tar.bz2 +V86D_SITE = http://dev.gentoo.org/~spock/projects/uvesafb/archive + +# This flag to configure should be per target architecture rather than
package/v86d/v86d.mk line 21
Quoted 10 lines
package/v86d/v86d.mk new file +10
-0+# autodetected (or it will be per host architecture which may be +# not the same as target). + +ifeq ($(BR2_i386),y) + x86emu = n +endif + +ifeq ($(BR2_x86_64),y) + x86emu = y +endif
We generally use capitals for variable names. Also, this can be shortened to
X86EMU = $(if $(BR2_i386),n,y)
package/v86d/v86d.mk line 30
Quoted 9 lines
package/v86d/v86d.mk new file +9
-0+ +# v86d's configure script is not autoconf-based. +# GENTARGETS macro will be used rather than AUTOTARGETS. + +define V86D_CONFIGURE_CMDS + (cd $(@D) ; ./configure --with-debug=n --with-klibc=n --with-x86emu=$(x86emu)) +endef + +# It is necessary to define __i386__ explicitly in CFLAGS for successful compilation.
But you don't used the CFLAGS variable. Please correct the comment.
Thanks for your persistence.
baruch
Quoted 6 lines
package/v86d/v86d.mk new file +6
-0+ +define V86D_BUILD_CMDS + $(MAKE) CC="$(TARGET_CC) -D__i386__" LD="$(TARGET_LD)" -C $(@D) all +endef + +$(eval $(call GENTARGETS))
Signature · 3 lines
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -PATCH 1/1 Added package v86d which provides a real-mode helper for uvesafb driver.
Baruch,
Quoted 14 lines · Baruch Siach
Hi Dmitry,
Two more comments.
package/v86d/v86d.mk line 21
Quoted 8 lines
package/v86d/v86d.mk new file +8
-0+ +ifeq ($(BR2_i386),y) + ? ? x86emu = n +endif + +ifeq ($(BR2_x86_64),y) + ? ? x86emu = y +endifWe generally use capitals for variable names. Also, this can be shortened to
Quoted 1 line
? ?X86EMU = $(if $(BR2_i386),n,y)
This is a local variable - still uppercase?
Quoted 2 lines
But you don't used the CFLAGS variable. Please correct the comment.
Right, I'll correct this.
Thanks.
Signature · 3 lines
Dmitry Golubovsky Anywhere on the Web
PATCH 1/1 Added package v86d which provides a real-mode helper for uvesafb driver.
Hi Dmitry,
Quoted 17 lines · Dmitry Golubovsky
Baruch,
Quoted 14 lines · Baruch Siach
Hi Dmitry,
Two more comments.
package/v86d/v86d.mk line 21
Quoted 8 lines
package/v86d/v86d.mk new file +8
-0+ +ifeq ($(BR2_i386),y) + ? ? x86emu = n +endif + +ifeq ($(BR2_x86_64),y) + ? ? x86emu = y +endifWe generally use capitals for variable names. Also, this can be shortened to
Quoted 3 lines
Quoted 1 line
? ?X86EMU = $(if $(BR2_i386),n,y)
This is a local variable - still uppercase?
Yes.
baruch
Quoted 8 lines
Quoted 1 line
But you don't used the CFLAGS variable. Please correct the comment.
Right, I'll correct this.
Thanks.
Signature · 1 line
Dmitry Golubovsky
Signature · 3 lines
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -