Changeset 3543 in vbox for trunk/Config.kmk
- Timestamp:
- Jul 11, 2007 9:34:55 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r3533 r3543 550 550 551 551 # 552 # L4 .552 # L4-specific settings. 553 553 # 554 554 ifdef L4_DIR 555 # default CPU type556 ifeq ($(L4_CPU),)557 L4_CPU = 586558 endif559 ifeq ($(L4_API),)560 L4_API = l4v2561 endif562 L4_OBJ := $(L4_DIR)/build-x86-$(L4_CPU)-$(L4_API)563 555 ifeq ($(BUILD_TARGET),l4) 564 L4LINUX26_INCDIR := \ 565 $(L4LINUX26_DIR)/include \ 566 $(L4LINUX26_DIR)/include/asm-l4/i386-arch 556 L4_API ?= l4v2 557 L4_ARCH ?= $(BUILD_TARGET_ARCH) 558 ifeq ($(L4_ARCH),x86) 559 L4_CPU ?= 586 560 L4LINUX26_INCDIR := $(L4LINUX26_DIR)/include \ 561 $(L4LINUX26_DIR)/include/asm-l4/i386-arch 562 else ifeq ($(L4_ARCH),amd64) 563 L4_CPU ?= k8 564 L4LINUX26_INCDIR := $(L4LINUX26_DIR)/include 565 # no red zone for L4 because of IPC bindings 566 CFLAGS.l4 = -mno-red-zone 567 CXXFLAGS.l4 = -mno-red-zone 568 else 569 $(error L4_ARCH=$(L4_ARCH)) 570 endif 571 L4_OBJ := $(L4_DIR)/build-$(L4_ARCH)-$(L4_CPU)-$(L4_API) 567 572 # support splitted Linux kernels (make O=<build directory>) 568 573 kernelsrc := $(shell $(SED_EXT) -ne 's+^KERNELSRC.*= *\(.*\)+\1+p' $(L4LINUX26_DIR)/Makefile) 569 574 ifneq ($(kernelsrc),) 570 575 kernelpath := $(realpath $(kernelsrc)) 571 L4LINUX26_INCDIR += \ 572 $(L4LINUX26_DIR)/include2 \ 573 $(kernelpath)/include 576 L4LINUX26_INCDIR += $(L4LINUX26_DIR)/include2 $(kernelpath)/include 574 577 endif 575 578 L4_INCDIR := \ 576 577 $(L4_OBJ)/include/x86/uclibc \578 579 580 $(L4_OBJ)/include/x86/$(L4_API) \581 $(L4_OBJ)/include/x86\582 583 579 $(L4_OBJ)/include/uclibc++ \ 580 $(L4_OBJ)/include/$(L4_ARCH)/uclibc \ 581 $(L4_OBJ)/include/uclibc \ 582 $(L4LINUX26_INCDIR) \ 583 $(L4_OBJ)/include/$(L4_ARCH)/$(L4_API) \ 584 $(L4_OBJ)/include/$(L4_ARCH) \ 585 $(L4_OBJ)/include \ 586 $(L4_DIR)/tool/dice/include 584 587 L4_LIBDIR := \ 585 $(L4_DIR)/build-x86-$(L4_CPU)-$(L4_API)/lib/x86_$(L4_CPU)/$(L4_API)588 $(L4_DIR)/build-$(L4_ARCH)-$(L4_CPU)-$(L4_API)/lib/$(L4_ARCH)_$(L4_CPU)/$(L4_API) 586 589 endif # BUILD_TARGET == l4 587 590 endif # L4_DIR
Note:
See TracChangeset
for help on using the changeset viewer.