Changeset e428bec in mainline


Ignore:
Timestamp:
2019-08-17T12:49:43Z (5 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2c38a55b
Parents:
9810fc3
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-06-26 12:46:06)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-08-17 12:49:43)
Message:

Allow changing build directory

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • .gitignore

    r9810fc3 re428bec  
    11*.a
    2 *.check.c
    32*.d
    43*.deflate
    54*.disasm
    6 *.la
    7 *.lo
    85*.map
    96*.o
    107*.prev
    118*.pyc
    12 *.so.*
    13 *.so
    149/Makefile.common
    1510/Makefile.config
    16 /PKG
    17 /common.h
    1811/config.h
    1912/cscope.out
    20 /downloads
    2113/hdisk.img
    2214/image.boot
    2315/image.iso
    2416/uImage.bin
     17/build
    2518autotool/
    2619boot/arch/arm32/_link.ld
     
    4235boot/initrd.img
    4336boot/initrd.img.gz
    44 common.h.new
    45 deps.mk
    4637doxygen/doxygen.cfg
    4738doxygen/doxygen.cfg.gen
    4839doxygen/html/
    4940doxygen/latex/
    50 kernel/arch/abs32le/_link.ld
    51 kernel/arch/amd64/_link.ld
    52 kernel/arch/arm32/_link.ld
    53 kernel/arch/arm64/_link.ld
    54 kernel/arch/ia32/_link.ld
    55 kernel/arch/ia64/_link.ld
    56 kernel/arch/mips32/_link.ld
    57 kernel/arch/ppc32/_link.ld
    58 kernel/arch/sparc64/_link.ld
    59 kernel/generic/src/debug/real_map.bin
    60 kernel/kernel.bin
    61 kernel/kernel.bin.gz
    62 kernel/kernel.dump
    63 kernel/kernel.elf
    64 kernel/kernel.elf.gz
    65 kernel/kernel.raw
    66 tag
    6741tags
    68 tools/amd64-unknown-elf
    69 tools/arm-linux-gnueabi
    70 tools/binutils-*.tar.bz2
    71 tools/downloads/
    72 tools/gcc-*.tar.bz2
    73 tools/gdb-*.tar.gz
    74 tools/i686-pc-linux-gnu
    75 tools/ia64-pc-linux-gnu
    76 tools/mips-linux-gnu
    77 tools/mips64el-linux-gnu
    78 tools/mipsel-linux-gnu
    79 tools/ppc-linux-gnu
    80 tools/ppc64-linux-gnu
    81 tools/riscv64-unknown-linux-gnu
    82 tools/sparc64-linux-gnu
    8342tools/sycek/
    8443tools/xcw/demo/viewer
  • Makefile

    r9810fc3 re428bec  
    3939MESON = meson
    4040
     41BUILD_DIR=$(abspath build)
     42
    4143CONFIG_RULES = HelenOS.config
    4244
     
    6466
    6567all: common export-cross test-xcw
    66         $(MAKE) -r -C boot PRECHECK=$(PRECHECK)
     68        $(MAKE) -r -C boot PRECHECK=$(PRECHECK) BUILD_DIR=$(BUILD_DIR)
    6769
    68 build/build.ninja: Makefile.config version
    69         PATH="$(CROSS_PATH):$$PATH" meson . build --cross-file meson/cross/$(UARCH) $(MESON_ARGS)
     70$(BUILD_DIR)/build.ninja: Makefile.config version
     71        PATH="$(CROSS_PATH):$$PATH" meson . $(BUILD_DIR) --cross-file meson/cross/$(UARCH) $(MESON_ARGS)
    7072
    71 common: $(COMMON_MAKEFILE) $(CONFIG_MAKEFILE) $(CONFIG_HEADER) $(ERRNO_HEADER) build/build.ninja
    72         PATH="$(CROSS_PATH):$$PATH" ninja -C build
    73         PATH="$(CROSS_PATH):$$PATH" DESTDIR="$$PWD/dist" meson install --no-rebuild --only-changed -C build > build/install.log
     73common: $(COMMON_MAKEFILE) $(CONFIG_MAKEFILE) $(CONFIG_HEADER) $(ERRNO_HEADER) $(BUILD_DIR)/build.ninja
     74        PATH="$(CROSS_PATH):$$PATH" ninja -C $(BUILD_DIR)
     75        PATH="$(CROSS_PATH):$$PATH" DESTDIR="$(BUILD_DIR)/dist" meson install --no-rebuild --only-changed -C $(BUILD_DIR) > $(BUILD_DIR)/install.log
    7476
    7577test-xcw: common export-cross
  • boot/Makefile.common

    r9810fc3 re428bec  
    4444
    4545USPACE_PATH = $(ROOT_PATH)/uspace
    46 DIST_PATH = $(ROOT_PATH)/dist
     46DIST_PATH = $(BUILD_DIR)/dist
    4747DIST_OVERLAY_PATH = $(USPACE_PATH)/overlay
    4848TOOLS_PATH = $(ROOT_PATH)/tools
  • tools/xcw/bin/helenos-cc

    r9810fc3 re428bec  
    3737SRC_ROOT="$XCW/../../.."
    3838if [ -z "$EXPORT_DIR" ]; then
    39         EXPORT_DIR="$SRC_ROOT/dist"
     39        EXPORT_DIR="$SRC_ROOT/build/dist"
    4040fi
    4141
  • tools/xcw/bin/helenos-pkg-config

    r9810fc3 re428bec  
    3535SRC_ROOT="$XCW/../../.."
    3636if [ -z "$EXPORT_DIR" ]; then
    37         EXPORT_DIR="$SRC_ROOT/dist"
     37        EXPORT_DIR="$SRC_ROOT/build/dist"
    3838fi
    3939INCLUDE_DIR="$EXPORT_DIR/include"
Note: See TracChangeset for help on using the changeset viewer.