allow to disable kernel module autoloading mechanism, useful when a big defconfig...
[openadk.git] / toolchain / newlib / Makefile
blobaffbe239aa9858f9fbba64a90ae51ebb020a39b6
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
5 include ../rules.mk
6 include Makefile.inc
7 include ${ADK_TOPDIR}/mk/buildhlp.mk
9 $(WRKBUILD)/.configured:
10 (cd $(WRKBUILD); \
11 CC='' \
12 CFLAGS='' \
13 LDFLAGS='' \
14 ./configure --prefix=/usr \
15 --target=$(GNU_TARGET_NAME) \
16 --enable-newlib-io-long-long \
17 --enable-newlib-register-fini \
18 --disable-newlib-supplied-syscalls \
19 --disable-nls \
21 touch $@
23 $(WRKBUILD)/.compiled:
24 PATH='$(HOST_PATH)' $(MAKE) -C $(WRKBUILD) \
25 CC='' \
26 CFLAGS='$(TARGET_CFLAGS)' \
27 all
28 touch $@
30 $(WRKBUILD)/.installed: $(WRKBUILD)/.compiled
31 PATH='$(HOST_PATH)' $(MAKE) -C $(WRKBUILD) \
32 CC='' \
33 CFLAGS='$(TARGET_CFLAGS)' \
34 DESTDIR=$(STAGING_TARGET_DIR) \
35 install
36 touch $@
38 include ${ADK_TOPDIR}/mk/toolchain.mk