Rev 9797 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9797 | Rev 10042 | ||
---|---|---|---|
Line 5... | Line 5... | ||
5 | DRV_DIR = "../.." |
5 | DRV_DIR = "../.." |
6 | INCLUDES = string.format(" -I. -I. -I%s/include -I%s/include/linux -I%s/include/uapi ", DRV_DIR, DRV_DIR, DRV_DIR) |
6 | INCLUDES = string.format(" -I. -I. -I%s/include -I%s/include/linux -I%s/include/uapi ", DRV_DIR, DRV_DIR, DRV_DIR) |
Line 7... | Line 7... | ||
7 | 7 | ||
8 | DEFINES = [[ -D__KERNEL__ -DGEODE_LOG="\"/tmp0/1/geode.log"\" -DCONFIG_X86_32 -DCONFIG_X86_L1_CACHE_SHIFT=6 -DCONFIG_ARCH_HAS_CACHE_LINE_SIZE -DCONFIG_PRINTK -DCONFIG_PCI ]] |
8 | DEFINES = [[ -D__KERNEL__ -DGEODE_LOG="\"/tmp0/1/geode.log"\" -DCONFIG_X86_32 -DCONFIG_X86_L1_CACHE_SHIFT=6 -DCONFIG_ARCH_HAS_CACHE_LINE_SIZE -DCONFIG_PRINTK -DCONFIG_PCI ]] |
9 | CFLAGS = " -Os -fomit-frame-pointer -fno-builtin-printf " .. DEFINES |
9 | CFLAGS = " -Os -fomit-frame-pointer -fno-builtin-printf " .. DEFINES |
Line 10... | Line 10... | ||
10 | LDFLAGS = " -nostdlib -shared -s --image-base 0 --file-alignment 512 --section-alignment 4096 -L../../ddk " |
10 | LDFLAGS = " -nostdlib -shared -s --image-base 0 --file-alignment 512 --section-alignment 4096 -L" .. tup.getvariantdir() .. "/../../ddk " |
Line 11... | Line 11... | ||
11 | 11 | ||
12 | NAME = "geode.sys" |
12 | NAME = "geode.sys" |