Changes in / [aaa3c457:6874bd2] in mainline


Ignore:
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • .gitignore

    raaa3c457 r6874bd2  
    1313/Makefile.common
    1414/Makefile.config
    15 /PKG
    1615/common.h
    1716/config.h
    1817/cscope.out
    19 /downloads
    2018/hdisk.img
    2119/image.boot
     
    2927boot/arch/sparc64/_link.ld
    3028boot/components.h
    31 boot/components.o.new
    3229boot/components.s
    33 boot/components.tar
    3430boot/components.zip
    3531boot/components_desc.c
     
    3935boot/image.raw
    4036boot/initrd.img
    41 boot/initrd.img.gz
    4237common.h.new
    4338deps.mk
     
    5651kernel/generic/src/debug/real_map.bin
    5752kernel/kernel.bin
    58 kernel/kernel.bin.gz
    5953kernel/kernel.dump
    60 kernel/kernel.elf
    61 kernel/kernel.elf.gz
    6254kernel/kernel.raw
    6355tag
     
    7971tools/sparc64-linux-gnu
    8072tools/sycek/
    81 tools/xcw/demo/viewer
    8273uspace/app/barber/barber
    8374uspace/app/barber/images.c
     
    109100uspace/app/inet/inet
    110101uspace/app/init/init
    111 uspace/app/init/init.gz
    112102uspace/app/kill/kill
    113103uspace/app/killall/killall
     
    143133uspace/app/tester/tester
    144134uspace/app/testread/testread
    145 uspace/app/testrunner/testrunner
    146135uspace/app/testwrit/testwrit
    147136uspace/app/tetris/tetris
     
    163152uspace/app/vterm/vterm
    164153uspace/app/vuhid/vuh
    165 uspace/app/vuhid/vuhid
    166154uspace/app/wavplay/wavplay
    167155uspace/app/websrv/websrv
     
    350338uspace/drv/test/test3/test3
    351339uspace/drv/time/cmos-rtc/cmos-rtc
    352 uspace/export
    353340uspace/lib/c/arch/abs32le/_link-dlexe.ld
    354341uspace/lib/c/arch/abs32le/_link-loader.ld
     
    391378uspace/lib/math/test-libmath
    392379uspace/lib/pcut/test-libpcut-*
    393 uspace/lib/posix/gcc.specs
    394 uspace/lib/posix/link.ld
    395380uspace/lib/posix/test-libposix
    396381uspace/lib/sif/test-libsif
     
    399384uspace/srv/bd/file_bd/file_bd
    400385uspace/srv/bd/rd/rd
    401 uspace/srv/bd/rd/rd.gz
    402386uspace/srv/bd/sata_bd/sata_bd
    403387uspace/srv/bd/vbd/vbd
     
    407391uspace/srv/fs/exfat/exfat
    408392uspace/srv/fs/ext4fs/ext4fs
    409 uspace/srv/fs/ext4fs/ext4fs.gz
    410393uspace/srv/fs/fat/fat
    411 uspace/srv/fs/fat/fat.gz
    412394uspace/srv/fs/locfs/locfs
    413395uspace/srv/fs/mfs/mfs
     
    426408uspace/srv/hw/bus/cuda_adb/cuda_adb
    427409uspace/srv/hw/char/s3c24xx_uart/s3c24ser
    428 uspace/srv/hw/char/s3c24xx_uart/s3c24xx_uart
    429410uspace/srv/hw/irc/obio/obio
    430411uspace/srv/klog/klog
    431412uspace/srv/loader/loader
    432 uspace/srv/loader/loader.gz
    433413uspace/srv/locsrv/locsrv
    434 uspace/srv/locsrv/locsrv.gz
    435414uspace/srv/logger/logger
    436 uspace/srv/logger/logger.gz
    437415uspace/srv/net/dhcp/dhcp
    438416uspace/srv/net/dnsrsrv/dnsrsrv
     
    446424uspace/srv/net/udp/udp
    447425uspace/srv/ns/ns
    448 uspace/srv/ns/ns.gz
    449426uspace/srv/taskmon/taskmon
    450427uspace/srv/test/chardev-test/chardev-test
    451428uspace/srv/vfs/vfs
    452 uspace/srv/vfs/vfs.gz
    453429uspace/srv/volsrv/test-volsrv
    454430uspace/srv/volsrv/volsrv
     431kernel/kernel.elf
     432uspace/app/testrunner/testrunner
     433uspace/app/vuhid/vuhid
     434uspace/srv/hw/char/s3c24xx_uart/s3c24xx_uart
     435boot/components.o.new
     436boot/components.tar
     437boot/initrd.img.gz
     438kernel/kernel.elf.gz
     439uspace/app/init/init.gz
     440uspace/srv/bd/rd/rd.gz
     441uspace/srv/fs/ext4fs/ext4fs.gz
     442uspace/srv/loader/loader.gz
     443uspace/srv/locsrv/locsrv.gz
     444uspace/srv/logger/logger.gz
     445uspace/srv/ns/ns.gz
     446uspace/srv/vfs/vfs.gz
     447kernel/kernel.bin.gz
  • Makefile

    raaa3c457 r6874bd2  
    5050.PHONY: all precheck cscope cscope_parts autotool config_auto config_default config distclean clean check releasefile release common boot kernel uspace export-posix space
    5151
    52 all: kernel uspace export-cross test-xcw
     52all: kernel uspace
    5353        $(MAKE) -r -C boot PRECHECK=$(PRECHECK)
    5454
     
    6161        $(MAKE) -r -C uspace PRECHECK=$(PRECHECK)
    6262
    63 test-xcw: uspace export-cross
    64         export PATH=$$PATH:$(abspath tools/xcw/bin) && $(MAKE) -r -C tools/xcw/demo
    65 
    6663export-posix: common
    6764ifndef EXPORT_DIR
     
    7067        $(MAKE) -r -C uspace export EXPORT_DIR=$(abspath $(EXPORT_DIR))
    7168endif
    72 
    73 export-cross: common
    74         $(MAKE) -r -C uspace export EXPORT_DIR=$(abspath uspace/export)
    7569
    7670precheck: clean
     
    161155        $(MAKE) -r -C boot clean
    162156        $(MAKE) -r -C doxygen clean
    163         $(MAKE) -r -C tools/xcw/demo clean
    164157
    165158$(ERRNO_HEADER): $(ERRNO_INPUT)
  • tools/xcw/bin/helenos-bld-config

    raaa3c457 r6874bd2  
    11#!/bin/bash
    22#
    3 # Copyright (c) 2018 Jiri Svoboda
     3# Copyright (c) 2015 Jiri Svoboda
    44# All rights reserved.
    55#
     
    3535MAKEFILE_COMMON="$SRC_ROOT"/Makefile.common
    3636MAKEFILE_CONFIG="$SRC_ROOT"/Makefile.config
    37 CONFIG_MK="$SRC_ROOT"/uspace/export/config.mk
    3837
    3938# Extract simple 'name = value' variable definition from Makefile
     
    4342        file_name="$2"
    4443
    45         sed -n "s/^$field_name \\{0,1\\}= \\{0,1\\}\\(.*\\)$/\\1/p" "$file_name" | \
    46             sed "s/^\"//" | sed "s/\"$//"
     44        sed -n "s/^$field_name = \\(.*\\)$/\\1/p" "$file_name"
    4745}
    4846
     
    5654        echo "__${ENDIAN}__"
    5755        ;;
    58 *.--cflags) extract_field "HELENOS_CFLAGS" "$CONFIG_MK";;
    59 *.--ldflags) extract_field "HELENOS_LDFLAGS" "$CONFIG_MK";;
    6056(*)
    6157        echo "Unknown option $1" >&2
  • tools/xcw/bin/helenos-cc

    raaa3c457 r6874bd2  
    11#!/bin/bash
    22#
    3 # Copyright (c) 2018 Jiri Svoboda
     3# Copyright (c) 2015 Jiri Svoboda
    44# All rights reserved.
    55#
     
    3636UARCH="$("$XCW"/helenos-bld-config --uarch)"
    3737CC="$("$XCW"/helenos-bld-config --cc)"
    38 CFLAGS="$("$XCW"/helenos-bld-config --cflags)"
    3938ENDIAN="$("$XCW"/helenos-bld-config --endian)"
    4039
     
    4241"$CC" \
    4342    -O3 -fexec-charset=UTF-8 -fwide-exec-charset=UTF-32LE -finput-charset=UTF-8 \
    44     $CFLAGS \
     43    -nostdlib \
    4544    -Wall -Wextra -Wno-clobbered -Wno-unused-parameter -Wmissing-prototypes \
    4645    -std=gnu99 -Werror-implicit-function-declaration -Wwrite-strings -ggdb \
  • tools/xcw/bin/helenos-ld

    raaa3c457 r6874bd2  
    11#!/bin/bash
    22#
    3 # Copyright (c) 2018 Jiri Svoboda
     3# Copyright (c) 2015 Jiri Svoboda
    44# All rights reserved.
    55#
     
    3535SRC_ROOT="$XCW/../../.."
    3636UARCH="$("$XCW"/helenos-bld-config --uarch)"
    37 CFLAGS="$("$XCW"/helenos-bld-config --cflags)"
    38 LDFLAGS="$("$XCW"/helenos-bld-config --ldflags)"
    3937CC="$("$XCW"/helenos-bld-config --cc)"
    4038
    4139echo helenos-ld "$@"
    4240"$CC" \
    43     $CFLAGS \
    4441    "$@" \
    4542    "$SRC_ROOT"/uspace/lib/c/crt0.o \
    4643    "$SRC_ROOT"/uspace/lib/c/crt1.o \
    47     "$SRC_ROOT"/uspace/lib/c/libc.a \
    48     -lgcc
     44    "$SRC_ROOT"/uspace/lib/c/libc.a
  • uspace/Makefile

    raaa3c457 r6874bd2  
    278278        find lib app drv srv -name '*.lo' -follow -exec rm \{\} \;
    279279        find lib app drv srv -name '*.d' -follow -exec rm \{\} \;
    280         rm -fr export
    281280
    282281$(CLEANS):
Note: See TracChangeset for help on using the changeset viewer.