libk  Check-in [f5e894f1c4]

Overview
Comment:fix useless params
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: f5e894f1c4f95c90aec4b5140b7d7a941fa886d8ec16a221a45e9cebc82fc1b1
User & Date: lexi on 2019-06-28 04:35:57
Other Links: manifest | tags
Context
2019-06-28
04:48
add Kmsz macro check-in: 51af496851 user: lexi tags: trunk
04:35
fix useless params check-in: f5e894f1c4 user: lexi tags: trunk
04:32
restructure file naming conventions and conclusively fix longstanding architectural build system problems with loads and loads of variables and a shit ton of function calls check-in: d27f92e3b7 user: lexi tags: trunk
Changes

Modified arch/makefile from [0ea82c6f52] to [622e8ca4bc].

     1         -lin-headers = /usr/include/asm
     2         -fbsd-headers = /usr/include/sys
     3         -
     4      1   ${TMP}:
     5      2   	mkdir -p ${TMP}
     6      3   
     7         -${TMP}/calls.x86.lin.32.s: $(lin-headers)/unistd_32.h ${TMP}
            4  +${TMP}/calls.x86.lin.32.s: ${lin-headers}/unistd_32.h ${TMP}
     8      5   	grep "#define __NR_" $< | sed 's;^#define __NR_;%define sys.;' > $@
     9         -${TMP}/calls.x86.lin.64.s: $(lin-headers)/unistd_64.h ${TMP}
            6  +${TMP}/calls.x86.lin.64.s: ${lin-headers}/unistd_64.h ${TMP}
    10      7   	grep "#define __NR_" $< | sed 's;^#define __NR_;%define sys.;' > $@
    11         -${TMP}/calls.x86.fbsd.%.s: $(fbsd-headers)/syscall.h ${TMP}
            8  +${TMP}/calls.x86.fbsd.%.s: ${fbsd-headers}/syscall.h ${TMP}
    12      9   	grep "#define	SYS_" $< | sed 's;^#define	SYS_;%define sys.;' > $@

Modified makefile from [dc16a02cfa] to [2a47be36e1].

     3      3   export ARCH = x86
     4      4   export OS = lin
     5      5   export BITS = 64
     6      6   export TMP = $(PWD)/tmp
     7      7   
     8      8   export TARGET = $(ARCH).$(OS).$(BITS)
     9      9   
           10  +export lin-headers = /usr/include/asm
           11  +export fbsd-headers = /usr/include/sys
           12  +
    10     13   moddirs = $(wildcard k*)
    11     14   binaries = $(wildcard k*/*.exe.c)
    12     15   functions = $(wildcard k*/*.fn.c) 
    13     16   assemblies = $(wildcard k*/*.fn.${TARGET}.s)
    14     17   binmods = $(sort $(dir $(binaries)))
    15     18   
    16     19   # i'm sorry