Rev | Line | |
---|
[16] | 1 | /* $Id: Imakefile,v 1.27 2006/03/26 04:24:37 eshel Exp $ */ |
---|
| 2 | |
---|
| 3 | /* Only include portability and cxi headers in this layer */ |
---|
| 4 | SetGplIncludePath() |
---|
| 5 | |
---|
| 6 | NormalObjectRule() |
---|
| 7 | |
---|
| 8 | #undef i386 |
---|
| 9 | HEADERS = |
---|
| 10 | STD_KINCLUDES += -I$(KERNEL_HEADER_DIR)/../arch/i386/mach-generic \ |
---|
| 11 | -I$(KERNEL_HEADER_DIR)/asm-i386/mach-default |
---|
| 12 | |
---|
| 13 | #if (LINUX_KERNEL_VERSION >= 2061600) |
---|
| 14 | comma = , |
---|
| 15 | name-fix = $(subst $(comma),_,$(subst -,_,$1)) |
---|
| 16 | basename_flags = -D"KBUILD_BASENAME=KBUILD_STR($(call name-fix,$(*F)))" |
---|
| 17 | KCFLAGS += -D"KBUILD_STR(s)=\#s" $(basename_flags) |
---|
| 18 | #endif |
---|
| 19 | |
---|
| 20 | LINUX_CUSTOM = cfiles_cust.ko |
---|
| 21 | GPL_LIBS = libarch-gpl_cust.a |
---|
| 22 | |
---|
| 23 | kLibraryTarget(libarch-gpl_cust.a, $(LINUX_CUSTOM)) |
---|
| 24 | InstallLibraries($(GPL_LIBS), $(GPL_LIB_DIR)) |
---|
| 25 | |
---|
| 26 | TRACELIST = |
---|
| 27 | |
---|
| 28 | DependTargetPK() |
---|
Note: See
TracBrowser
for help on using the repository browser.