Ignore:
Timestamp:
Sep 30, 2017, 1:26:21 PM (8 years ago)
Author:
bird
Message:

netbsd patches from Uwe. Messing around on arm (arm -> arm32, adding arm64); Adding GNU/kFreeBSD and GNU/kNetBSD to the OS list. Added SuperH to archs. Recognize ppc64le as ppc64 in env.sh. Misc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/header.kmk

    r3061 r3062  
    197197# build types. (PORTME)
    198198#
    199 KBUILD_OSES      := darwin dos dragonfly freebsd haiku l4 linux netbsd nt openbsd os2 solaris win os-agnostic
    200 KBUILD_ARCHES    := x86 amd64 sparc32 sparc64 s390 s390x ppc32 ppc64 mips32 mips64 ia64 hppa32 hppa64 arm alpha noarch
    201 KBUILD_ARCHES_64 := amd64 sparc64 s390x ppc64 mips64 ia64 hppa64 alpha
    202 KBUILD_ARCHES_32 := x86 sparc32 s390 ppc32 mips32 hppa32 arm
     199KBUILD_OSES      := darwin dos dragonfly freebsd gnukfbsd gnuknbsd haiku l4 linux netbsd nt openbsd os2 solaris win os-agnostic
     200KBUILD_ARCHES    := x86 amd64 noarch alpha arm32 arm64 hppa32 hppa64 ia64 mips32 mips64 ppc32 ppc64 s390 s390x sh32 sh64 sparc32 sparc64
     201KBUILD_ARCHES_64 := amd64 alpha arm64 hppa64 ia64 mips64 ppc64 s390x sh64 sparc64
     202KBUILD_ARCHES_32 := x86 arm32 hppa32 mips32 ppc32 s390 sh32 sparc32
     203
    203204
    204205
     
    602603HOST_PATH_SEP       := $(SEMICOLON)
    603604
    604 else if1of ($(KBUILD_HOST), freebsd dragonfly linux openbsd netbsd)
     605else if1of ($(KBUILD_HOST), dragonfly freebsd gnukfbsd gnuknbsd linux openbsd netbsd)
    605606# Unix (like) systems with wine.
    606607EXEC_X86_WIN32      := wine
     
    648649SUFF_DLL    := .so
    649650SUFF_EXE    :=
    650  if1of ($(KBUILD_TARGET), dragonfly freebsd linux netbsd openbsd) ## @todo check netbsd and openbsd.
     651 if1of ($(KBUILD_TARGET), dragonfly freebsd gnukfbsd gnuknbsd linux netbsd openbsd) ## @todo check netbsd, gnuknbsd and openbsd.
    651652SUFF_SYS    := .ko
    652653 else
     
    13821383 KBUILD_LIB_SEARCH_SUBS  := lib/
    13831384
    1384 else if1of ($(KBUILD_TARGET), freebsd netbsd openbsd dragonfly)
     1385else if1of ($(KBUILD_TARGET), freebsd openbsd dragonfly)
    13851386 KBUILD_LIB_SEARCH_ROOTS := \
    13861387        / \
     
    13891390 KBUILD_LIB_SEARCH_SUBS := lib/
    13901391
    1391 else ifeq ($(KBUILD_TARGET),linux)
     1392else ifeq ($(KBUILD_TARGET),netbsd)
     1393 KBUILD_LIB_SEARCH_ROOTS := \
     1394        / \
     1395        /usr/ \
     1396        /usr/pkg/ \
     1397        /usr/local/
     1398 KBUILD_LIB_SEARCH_SUBS := lib/
     1399
     1400else if1of ($(KBUILD_TARGET), gnukfbsd gnuknbsd linux)
    13921401 ifeq ($(realpath /bin),/usr/bin)
    13931402  KBUILD_LIB_SEARCH_ROOTS := \
Note: See TracChangeset for help on using the changeset viewer.