?? microwindows.cdl
字號:
cdl_component CYGPKG_MICROWINDOWS_DRIVERS { display "Screen and Input Drivers" flavor none no_define description " Package specific build options including control over compiler flags used only in building this package, and details of which tests are built." cdl_option CYGBLD_MICROWINDOWS_NULL_INPUT_DRIVERS { display "Null input drivers" default_value 1 description "This option builds dummy input drivers, no actual input will be available." compile \ drivers/kbd_null.c \ drivers/mou_null.c requires ! CYGBLD_MICROWINDOWS_UID_INPUT_DRIVERS requires ! CYGBLD_MICROWINDOWS_VNC_DRIVERS requires ! CYGBLD_MICROWINDOWS_ARM_DRIVERS } cdl_component CYGBLD_MICROWINDOWS_UID_INPUT_DRIVERS { display "Uniform Input Device input driver" flavor bool default_value 0 description " This option builds the Uniform Input Device Driver for Microwindows. UID was originally developped for RTEMS, but is also available under eCos. With this input driver you can very easy add support for input devices from your application." compile \ drivers/kbd_rtems.c \ drivers/mou_rtems.c \ drivers/ecos_mw_uid.cxx requires CYGPKG_KERNEL requires ! CYGBLD_MICROWINDOWS_NULL_INPUT_DRIVERS requires ! CYGBLD_MICROWINDOWS_VNC_DRIVERS requires ! CYGBLD_MICROWINDOWS_ARM_DRIVERS cdl_option CYGBLD_MICROWINDOWS_UID_INPUT_QVFB { display "QVfb input suport" default_value 0 description " This option builds support for input from QVfb under the synthetic target, so that you can receive keyboard and mouse events in your eCos application." compile -library=libextras.a drivers/mw_uid_ecos_qvfb.cxx requires CYGBLD_MICROWINDOWS_UID_INPUT_DRIVERS requires CYGBLD_MICROWINDOWS_QVFB_DRIVERS } } # eCos VNC server drivers cdl_option CYGBLD_MICROWINDOWS_VNC_DRIVERS { display "VNC server screen and input drivers" default_value 0 description \ "This option builds the drivers for the VNC server. The VNC server then provides a virtual screen, keyboard and mouse for MicroWindows." compile \ drivers/scr_vnc_ecos.c \ drivers/kbd_vnc_ecos.c \ drivers/mou_vnc_ecos.c requires CYGPKG_VNC_SERVER requires ! CYGBLD_MICROWINDOWS_ARM_DRIVERS requires ! CYGBLD_MICROWINDOWS_NULL_INPUT_DRIVERS requires ! CYGBLD_MICROWINDOWS_UID_INPUT_DRIVERS requires CYGPKG_VNC_SERVER_BUILD_MOUSE_DRIVER requires CYGPKG_VNC_SERVER_BUILD_KEYBOARD_DRIVER } # eCos synthetic target Qt vfb drivers cdl_option CYGBLD_MICROWINDOWS_QVFB_DRIVERS { display "QVfb screen driver" default_value 0 description \ "This option builds a screen driver for the QVfb virtual screen. See the Qt documentation for more information." compile \ drivers/ecos_synth_qvfb.c \ drivers/scr_ecos_qvfb.c } # eCos ARM drivers cdl_option CYGBLD_MICROWINDOWS_ARM_DRIVERS { display "Ipaq screen and input drivers" default_value 0 compile \ drivers/scr_ecos.c \ drivers/kbd_ipaq.c \ drivers/mou_ipaq.c # This should come from the HAL requires ! CYGBLD_MICROWINDOWS_VNC_DRIVERS requires ! CYGBLD_MICROWINDOWS_NULL_INPUT_DRIVERS requires ! CYGBLD_MICROWINDOWS_UID_INPUT_DRIVERS requires { !CYGPKG_HAL_ARM_SA11X0_IPAQ || CYGFUN_MICROWINDOWS_PIXELFORMAT=="TRUECOLOR565" } requires { !CYGPKG_HAL_ARM_ARM9_AAED2000 || CYGFUN_MICROWINDOWS_PIXELFORMAT=="TRUECOLOR555" } } cdl_component CYGPKG_MICROWINDOWS_PC { display "Build options for PC hardware" flavor none active_if (CYGPKG_HAL_I386_PCMB && !CYGBLD_MICROWINDOWS_VNC_DRIVERS) compile drivers/ps2kbdmou_ecos.c cdl_option CYGIMP_MICROWINDOWS_PCSVGA32 { display "Assume 32 bits per pixel, RGB == 0888" description \ "This mode can be used when building for a standard PC, where bootstrap is handled via RedBoot. A custom version of RedBoot is required, configured to switch the graphics card to a suitable resolution before the processor enters protected mode. A VESA-compliant video BIOS is used for this. The graphics mode should be 32 bits per pixel true-color." implements CYGINT_MICROWINDOWS_PC_DRIVER default_value 1 compile drivers/scr_ecospcsvga.c requires { CYGFUN_MICROWINDOWS_PIXELFORMAT=="TRUECOLOR0888" } } cdl_option CYGIMP_MICROWINDOWS_PCSVGA16 { display "Assume 16 bits per pixel, RGB == 565" description \ "This mode can be used when building for a standard PC, where bootstrap is handled via RedBoot. A custom version of RedBoot is required, configured to switch the graphics card to a suitable resolution before the processor enters protected mode. A VESA-compliant video BIOS is used for this. The graphics mode should be 16 bits per pixel true-color." implements CYGINT_MICROWINDOWS_PC_DRIVER default_value 0 compile drivers/scr_ecospcsvga.c requires { CYGFUN_MICROWINDOWS_PIXELFORMAT=="TRUECOLOR565" } } cdl_option CYGIMP_MICROWINDOWS_PCVGA { display "Build for VGA hardware" description \ "This driver manipulates VGA hardware directly, rather than going via the video BIOS. Only a limited resolution of 640x480 with 4 bits per pixel is available. The driver does not implement all required Microwindows functionality." implements CYGINT_MICROWINDOWS_PC_DRIVER default_value 0 compile drivers/scr_bios.c drivers/vgainit.c drivers/vgaplan4.c drivers/memplan4.c requires { CYGFUN_MICROWINDOWS_PIXELFORMAT=="PALETTE" } } cdl_interface CYGINT_MICROWINDOWS_PC_DRIVER { display "Number of active PC graphics drivers" requires { CYGINT_MICROWINDOWS_PC_DRIVER == 1 } } } } cdl_component CYGBLD_MICROWINDOWS_MW { display "Build the Windows-compatible API" default_value 0 requires CYGPKG_KERNEL # NANO X compile \ mwin/winclip.c \ mwin/windefw.c \ mwin/winevent.c \ mwin/winexpos.c \ mwin/winfont.c \ mwin/wingdi.c \ mwin/winmain.c \ mwin/winres.c \ mwin/winresbmp.c \ mwin/winrgn.c \ mwin/winsbar.c \ mwin/winuser.c \ mwin/ecos_winmain.c \ mwin/winlib/draw3d.c \ mwin/winlib/ptinsid.c \ mwin/winlib/insetr.c \ mwin/winlib/fastfill.c \ mwin/winlib/graph3d.c \ mwin/winlib/mwuser.c \ mwin/winlib/windlg.c \ mwin/winlib/button.c \ mwin/winlib/edit.c \ mwin/winlib/newedit.c \ mwin/winlib/listbox.c \ mwin/winlib/progbar.c \ mwin/winlib/static.c \ mwin/winlib/combobox.c \ mwin/winlib/caret.c \ mwin/winlib/scrlbar.c \ mwin/winlib/medit.c } cdl_component CYGBLD_MICROWINDOWS_NANOX { display "Build the Nano X API" default_value 0 requires CYGPKG_KERNEL # NANO X compile \ nanox/srvmain.c \ nanox/srvfunc.c \ nanox/srvutil.c \ nanox/srvevent.c \ nanox/srvclip.c \ nanox/srvnet.c \ nanox/clientfb.c \ nanox/client.c \ nanox/error.c \ nanox/nxdraw.c \ nanox/nxproto.c \ nanox/nxutil.c # eCos stuff cdl_component CYGBLD_MICROWINDOWS_ECOS { display "Build MicroWindows eCos support" default_value 0 # These files are unique to eCos compile ecos/ecos_init.c compile -library=libextras.a ecos/nanox_thread.c cdl_option CYGBLD_MICROWINDOWS_ECOS_APP { display "Build complete eCos+MicroWindows application" default_value 0 make -priority 320 { <PREFIX>/bin/ecos_mw.elf : $(PREFIX)/lib/target.ld $(PREFIX)/lib/vectors.o $(PREFIX)/lib/libtarget.a $(PREFIX)/lib/libextras.a $(REPOSITORY)/$(PACKAGE)/src/ecos/ecos_app.c @sh -c "mkdir -p $(dir $@)" $(CC) -c $(INCLUDE_PATH) $(CFLAGS) -o $(PREFIX)/lib/ecos_app.o $(REPOSITORY)/$(PACKAGE)/src/ecos/ecos_app.c $(CC) $(LDFLAGS) -L$(PREFIX)/lib -Ttarget.ld -o $@ $(PREFIX)/lib/ecos_app.o } } } # Nano WM cdl_option CYGBLD_MICROWINDOWS_NANOWM { display "Build MicroWindows NANOWM" default_value 0 compile \ demos/nanowm/nanowm.c \ demos/nanowm/events.c \ demos/nanowm/wlist.c \ demos/nanowm/clients.c \ demos/nanowm/actions.c compile -library=libextras.a ecos/nanowm_thread.c } # keyboard cdl_option CYGBLD_MICROWINDOWS_NXKBD { display "Build MicroWindows NXKBD" default_value 0 compile \ demos/nxkbd/nxkbd.c \ demos/nxkbd/srvconn.c \ demos/nxkbd/keynorm.c \ demos/nxkbd/keyctrl.c \ demos/nxkbd/keyshft.c \ demos/nxkbd/keynum.c } # keyboard cdl_component CYGBLD_MICROWINDOWS_NANOX_DEMOS { display "Build MicroWindows NanoX demos" default_value 0 cdl_option CYGBLD_MICROWINDOWS_NANOX_DEMOS_WORLD { display "Include 'world' demo" default_value 0 no_define compile demos/nanox/world.c compile -library=libextras.a ecos/world_thread.c } cdl_option CYGBLD_MICROWINDOWS_NANOX_DEMOS_NTETRIS { display "Include 'nano-tetris' demo" default_value 0 no_define compile demos/nanox/ntetris.c compile -library=libextras.a ecos/ntetris_thread.c } } } cdl_component CYGPKG_MICROWINDOWS_OPTIONS { display "Build options" flavor none no_define description " Package specific build options including control over compiler flags used only in building this package, and details of which tests are built." cdl_option CYGPKG_MICROWINDOWS_CFLAGS_ADD { display "Additional compiler flags" flavor data no_define default_value { "-I$(PREFIX)/include/microwin -D__ECOS=1" } description " This option modifies the set of compiler flags for building the MicroWindows package. These flags are used in addition to the set of global flags." } cdl_option CYGPKG_MICROWINDOWS_CFLAGS_REMOVE { display "Suppressed compiler flags" flavor data no_define default_value { "" } description " This option modifies the set of compiler flags for building the MicroWindows package. These flags are removed from the set of global flags if present." } }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -