2 MAKE
=make
-j
$(BR2_JLEVEL
)
4 # Strip off the annoying quoting
5 ARCH
:=$(strip $(subst ",, $(BR2_ARCH)))
7 WGET
:=$(strip $(subst ",, $(BR2_WGET)))
10 ifneq ($(BR2_LARGEFILE
),y
)
11 DISABLE_LARGEFILE
= --disable-largefile
13 TARGET_CFLAGS
=$(TARGET_OPTIMIZATION
) $(TARGET_DEBUGGING
)
16 BASE_DIR
:=${shell pwd
}
17 DL_DIR
:=$(BASE_DIR
)/dl
18 BUILD_DIR
:=$(BASE_DIR
)/build_
$(ARCH
)$(ARCH_FPU_SUFFIX
)
19 PACKAGE_DIR
:=$(BASE_DIR
)/package
20 TARGET_DIR
:=$(BUILD_DIR
)/root
21 TOOL_BUILD_DIR
=$(BASE_DIR
)/toolchain_build_
$(ARCH
)$(ARCH_FPU_SUFFIX
)
22 # Strip off the annoying quoting
23 STAGING_DIR
:=$(strip $(subst ",, $(BR2_STAGING_DIR)))
25 TARGET_PATH
=$(STAGING_DIR
)/bin
:/bin
:/sbin
:/usr
/bin
:/usr
/sbin
26 IMAGE
:=$(BASE_DIR
)/root_fs_
$(ARCH
)$(ARCH_FPU_SUFFIX
)
27 REAL_GNU_TARGET_NAME
=$(OPTIMIZE_FOR_CPU
)-linux-uclibc
28 GNU_TARGET_NAME
=$(OPTIMIZE_FOR_CPU
)-linux
29 KERNEL_CROSS
=$(STAGING_DIR
)/bin
/$(OPTIMIZE_FOR_CPU
)-linux-uclibc-
30 TARGET_CROSS
=$(STAGING_DIR
)/bin
/$(OPTIMIZE_FOR_CPU
)-linux-uclibc-
31 TARGET_CC
=$(TARGET_CROSS
)gcc
32 STRIP
=$(TARGET_CROSS
)strip --remove-section
=.comment
--remove-section
=.note
33 PATCH
=toolchain
/patch-kernel.sh
36 HOST_ARCH
:=$(shell $(HOSTCC
) -dumpmachine | sed
-e s
'/-.*//' \
37 -e
's/sparc.*/sparc/' \
40 -e
's/ppc/powerpc/g' \
41 -e
's/v850.*/v850/g' \
43 -e
's/mips-.*/mips/' \
44 -e
's/mipsel-.*/mipsel/' \
46 -e
's/i[3-9]86/i386/' \
48 GNU_HOST_NAME
:=$(HOST_ARCH
)-pc-linux-gnu
49 TARGET_CONFIGURE_OPTS
=PATH
=$(TARGET_PATH
) \
50 AR
=$(TARGET_CROSS
)ar \
51 AS
=$(TARGET_CROSS
)as \
52 LD
=$(TARGET_CROSS
)ld \
53 NM
=$(TARGET_CROSS
)nm \
54 CC
=$(TARGET_CROSS
)gcc \
55 GCC
=$(TARGET_CROSS
)gcc \
56 CXX
=$(TARGET_CROSS
)g
++ \
57 RANLIB
=$(TARGET_CROSS
)ranlib
59 ifeq ($(ENABLE_LOCALE
),true
)
62 DISABLE_NLS
:=--disable-nls
This page took 0.044143 seconds and 5 git commands to generate.