23 lines
503 B
Makefile
23 lines
503 B
Makefile
# Makefile - hhl - /usr/src/toolchain/binutils-pass1
|
|
# Copyright 2020 Nathan Fisher <nfisher.sr@gmail.com>
|
|
#
|
|
distname = binutils
|
|
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: | $(tooldir)/lib64
|
|
else ifeq ($(arch), riscv64)
|
|
install: | $(tooldir)/lib64
|
|
endif
|
|
|
|
include targets.mk
|
|
|
|
$(tooldir)/lib64:
|
|
install -d $(tooldir)/lib
|
|
ln -s lib $(toolcdir)/lib64
|