- Timestamp:
- 2006-06-04T12:22:54Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 26f48570
- Parents:
- 67ec84b
- Location:
- fb
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
fb/Makefile
r67ec84b rdd641e3 46 46 OUTPUT = fb 47 47 SOURCES = \ 48 fb.c \49 font-8x16.c \50 48 main.c \ 51 49 sysio.c \ 52 ega.c \53 50 ppm.c 51 52 ifeq ($(ARCH), ia32) 53 SOURCES += fb.c \ 54 font-8x16.c \ 55 ega.c 56 endif 57 ifeq ($(ARCH), amd64) 58 SORCES += fb.c \ 59 font-8x16.c \ 60 ega.c 61 endif 62 63 CFLAGS += -D$(ARCH) 64 54 65 55 66 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) -
fb/main.c
r67ec84b rdd641e3 57 57 int initialized = 0; 58 58 59 #ifdef ia32 59 60 if (sysinfo_value("fb.kind") == 1) { 60 61 if (fb_init() == 0) … … 64 65 initialized = 1; 65 66 } 67 #endif 68 69 #ifdef amd64 70 if (sysinfo_value("fb.kind") == 1) { 71 if (fb_init() == 0) 72 initialized = 1; 73 } else if (sysinfo_value("fb.kind") == 2) { 74 if (ega_init() == 0) 75 initialized = 1; 76 } 77 #endif 78 79 66 80 67 81 if (!initialized)
Note:
See TracChangeset
for help on using the changeset viewer.
