24 lines
535 B
Makefile
24 lines
535 B
Makefile
|
# Makefile - hhl - /usr/src/toolchain/binutils-pass1
|
||
|
# Copyright 2020 Nathan Fisher <nfisher.sr@gmail.com>
|
||
|
#
|
||
|
distname = binutils
|
||
|
objdirname = binutils-pass1
|
||
|
include toolchain.mk
|
||
|
|
||
|
config_opts += --with-sysroot=${build}
|
||
|
config_opts += --target=${tgt}
|
||
|
config_opts += --disable-nls
|
||
|
config_opts += --disable-werror
|
||
|
|
||
|
ifeq (${arch}, x86_64)
|
||
|
install: | /toolchain/lib64
|
||
|
else ifeq (${arch}, riscv64)
|
||
|
install: | /toolchain/lib64
|
||
|
endif
|
||
|
|
||
|
include targets.mk
|
||
|
|
||
|
/toolchain/lib64:
|
||
|
install -d /toolchain/lib
|
||
|
ln -s lib /toolchain/lib64
|