Added havaged

Bugfixes after restructuring
This commit is contained in:
Nathan Fisher 2021-03-04 09:23:50 -05:00
parent a5d0778d53
commit 94998f6491
8 changed files with 31 additions and 9 deletions

View file

@ -19,4 +19,4 @@ include targets.mk
$(tooldir)/lib64:
install -d $(tooldir)/lib
ln -s lib $(toolcdir)/lib64
ln -s lib $(tooldir)/lib64

View file

@ -13,6 +13,10 @@ else ifeq ($(arch), riscv64)
export ARCH=riscv
else ifeq ($(arch), risv32)
export ARCH=riscv
else ifeq ($(arch), x86_64)
export ARCH=x86_64
else ifeq ($(filter i486 i586 i686, $(arch)), $(arch))
export ARCH=x86
endif
build_cmd = KBUILD_OUTPUT=$(objdir) $(MAKE) -C $(srcdir) headers
define post_build