Changes in / [aaa3c457:6874bd2] in mainline
- Files:
-
- 1 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
.gitignore
raaa3c457 r6874bd2 13 13 /Makefile.common 14 14 /Makefile.config 15 /PKG16 15 /common.h 17 16 /config.h 18 17 /cscope.out 19 /downloads20 18 /hdisk.img 21 19 /image.boot … … 29 27 boot/arch/sparc64/_link.ld 30 28 boot/components.h 31 boot/components.o.new32 29 boot/components.s 33 boot/components.tar34 30 boot/components.zip 35 31 boot/components_desc.c … … 39 35 boot/image.raw 40 36 boot/initrd.img 41 boot/initrd.img.gz42 37 common.h.new 43 38 deps.mk … … 56 51 kernel/generic/src/debug/real_map.bin 57 52 kernel/kernel.bin 58 kernel/kernel.bin.gz59 53 kernel/kernel.dump 60 kernel/kernel.elf61 kernel/kernel.elf.gz62 54 kernel/kernel.raw 63 55 tag … … 79 71 tools/sparc64-linux-gnu 80 72 tools/sycek/ 81 tools/xcw/demo/viewer82 73 uspace/app/barber/barber 83 74 uspace/app/barber/images.c … … 109 100 uspace/app/inet/inet 110 101 uspace/app/init/init 111 uspace/app/init/init.gz112 102 uspace/app/kill/kill 113 103 uspace/app/killall/killall … … 143 133 uspace/app/tester/tester 144 134 uspace/app/testread/testread 145 uspace/app/testrunner/testrunner146 135 uspace/app/testwrit/testwrit 147 136 uspace/app/tetris/tetris … … 163 152 uspace/app/vterm/vterm 164 153 uspace/app/vuhid/vuh 165 uspace/app/vuhid/vuhid166 154 uspace/app/wavplay/wavplay 167 155 uspace/app/websrv/websrv … … 350 338 uspace/drv/test/test3/test3 351 339 uspace/drv/time/cmos-rtc/cmos-rtc 352 uspace/export353 340 uspace/lib/c/arch/abs32le/_link-dlexe.ld 354 341 uspace/lib/c/arch/abs32le/_link-loader.ld … … 391 378 uspace/lib/math/test-libmath 392 379 uspace/lib/pcut/test-libpcut-* 393 uspace/lib/posix/gcc.specs394 uspace/lib/posix/link.ld395 380 uspace/lib/posix/test-libposix 396 381 uspace/lib/sif/test-libsif … … 399 384 uspace/srv/bd/file_bd/file_bd 400 385 uspace/srv/bd/rd/rd 401 uspace/srv/bd/rd/rd.gz402 386 uspace/srv/bd/sata_bd/sata_bd 403 387 uspace/srv/bd/vbd/vbd … … 407 391 uspace/srv/fs/exfat/exfat 408 392 uspace/srv/fs/ext4fs/ext4fs 409 uspace/srv/fs/ext4fs/ext4fs.gz410 393 uspace/srv/fs/fat/fat 411 uspace/srv/fs/fat/fat.gz412 394 uspace/srv/fs/locfs/locfs 413 395 uspace/srv/fs/mfs/mfs … … 426 408 uspace/srv/hw/bus/cuda_adb/cuda_adb 427 409 uspace/srv/hw/char/s3c24xx_uart/s3c24ser 428 uspace/srv/hw/char/s3c24xx_uart/s3c24xx_uart429 410 uspace/srv/hw/irc/obio/obio 430 411 uspace/srv/klog/klog 431 412 uspace/srv/loader/loader 432 uspace/srv/loader/loader.gz433 413 uspace/srv/locsrv/locsrv 434 uspace/srv/locsrv/locsrv.gz435 414 uspace/srv/logger/logger 436 uspace/srv/logger/logger.gz437 415 uspace/srv/net/dhcp/dhcp 438 416 uspace/srv/net/dnsrsrv/dnsrsrv … … 446 424 uspace/srv/net/udp/udp 447 425 uspace/srv/ns/ns 448 uspace/srv/ns/ns.gz449 426 uspace/srv/taskmon/taskmon 450 427 uspace/srv/test/chardev-test/chardev-test 451 428 uspace/srv/vfs/vfs 452 uspace/srv/vfs/vfs.gz453 429 uspace/srv/volsrv/test-volsrv 454 430 uspace/srv/volsrv/volsrv 431 kernel/kernel.elf 432 uspace/app/testrunner/testrunner 433 uspace/app/vuhid/vuhid 434 uspace/srv/hw/char/s3c24xx_uart/s3c24xx_uart 435 boot/components.o.new 436 boot/components.tar 437 boot/initrd.img.gz 438 kernel/kernel.elf.gz 439 uspace/app/init/init.gz 440 uspace/srv/bd/rd/rd.gz 441 uspace/srv/fs/ext4fs/ext4fs.gz 442 uspace/srv/loader/loader.gz 443 uspace/srv/locsrv/locsrv.gz 444 uspace/srv/logger/logger.gz 445 uspace/srv/ns/ns.gz 446 uspace/srv/vfs/vfs.gz 447 kernel/kernel.bin.gz -
Makefile
raaa3c457 r6874bd2 50 50 .PHONY: all precheck cscope cscope_parts autotool config_auto config_default config distclean clean check releasefile release common boot kernel uspace export-posix space 51 51 52 all: kernel uspace export-cross test-xcw52 all: kernel uspace 53 53 $(MAKE) -r -C boot PRECHECK=$(PRECHECK) 54 54 … … 61 61 $(MAKE) -r -C uspace PRECHECK=$(PRECHECK) 62 62 63 test-xcw: uspace export-cross64 export PATH=$$PATH:$(abspath tools/xcw/bin) && $(MAKE) -r -C tools/xcw/demo65 66 63 export-posix: common 67 64 ifndef EXPORT_DIR … … 70 67 $(MAKE) -r -C uspace export EXPORT_DIR=$(abspath $(EXPORT_DIR)) 71 68 endif 72 73 export-cross: common74 $(MAKE) -r -C uspace export EXPORT_DIR=$(abspath uspace/export)75 69 76 70 precheck: clean … … 161 155 $(MAKE) -r -C boot clean 162 156 $(MAKE) -r -C doxygen clean 163 $(MAKE) -r -C tools/xcw/demo clean164 157 165 158 $(ERRNO_HEADER): $(ERRNO_INPUT) -
tools/xcw/bin/helenos-bld-config
raaa3c457 r6874bd2 1 1 #!/bin/bash 2 2 # 3 # Copyright (c) 201 8Jiri Svoboda3 # Copyright (c) 2015 Jiri Svoboda 4 4 # All rights reserved. 5 5 # … … 35 35 MAKEFILE_COMMON="$SRC_ROOT"/Makefile.common 36 36 MAKEFILE_CONFIG="$SRC_ROOT"/Makefile.config 37 CONFIG_MK="$SRC_ROOT"/uspace/export/config.mk38 37 39 38 # Extract simple 'name = value' variable definition from Makefile … … 43 42 file_name="$2" 44 43 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" 47 45 } 48 46 … … 56 54 echo "__${ENDIAN}__" 57 55 ;; 58 *.--cflags) extract_field "HELENOS_CFLAGS" "$CONFIG_MK";;59 *.--ldflags) extract_field "HELENOS_LDFLAGS" "$CONFIG_MK";;60 56 (*) 61 57 echo "Unknown option $1" >&2 -
tools/xcw/bin/helenos-cc
raaa3c457 r6874bd2 1 1 #!/bin/bash 2 2 # 3 # Copyright (c) 201 8Jiri Svoboda3 # Copyright (c) 2015 Jiri Svoboda 4 4 # All rights reserved. 5 5 # … … 36 36 UARCH="$("$XCW"/helenos-bld-config --uarch)" 37 37 CC="$("$XCW"/helenos-bld-config --cc)" 38 CFLAGS="$("$XCW"/helenos-bld-config --cflags)"39 38 ENDIAN="$("$XCW"/helenos-bld-config --endian)" 40 39 … … 42 41 "$CC" \ 43 42 -O3 -fexec-charset=UTF-8 -fwide-exec-charset=UTF-32LE -finput-charset=UTF-8 \ 44 $CFLAGS\43 -nostdlib \ 45 44 -Wall -Wextra -Wno-clobbered -Wno-unused-parameter -Wmissing-prototypes \ 46 45 -std=gnu99 -Werror-implicit-function-declaration -Wwrite-strings -ggdb \ -
tools/xcw/bin/helenos-ld
raaa3c457 r6874bd2 1 1 #!/bin/bash 2 2 # 3 # Copyright (c) 201 8Jiri Svoboda3 # Copyright (c) 2015 Jiri Svoboda 4 4 # All rights reserved. 5 5 # … … 35 35 SRC_ROOT="$XCW/../../.." 36 36 UARCH="$("$XCW"/helenos-bld-config --uarch)" 37 CFLAGS="$("$XCW"/helenos-bld-config --cflags)"38 LDFLAGS="$("$XCW"/helenos-bld-config --ldflags)"39 37 CC="$("$XCW"/helenos-bld-config --cc)" 40 38 41 39 echo helenos-ld "$@" 42 40 "$CC" \ 43 $CFLAGS \44 41 "$@" \ 45 42 "$SRC_ROOT"/uspace/lib/c/crt0.o \ 46 43 "$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 278 278 find lib app drv srv -name '*.lo' -follow -exec rm \{\} \; 279 279 find lib app drv srv -name '*.d' -follow -exec rm \{\} \; 280 rm -fr export281 280 282 281 $(CLEANS):
Note:
See TracChangeset
for help on using the changeset viewer.