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 #PATCH_DIR=$(BASE_DIR)/sources/patches
19 BUILD_DIR
:=$(BASE_DIR
)/build_
$(ARCH
)$(ARCH_FPU_SUFFIX
)
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
35 HOST_ARCH
:=$(shell $(HOSTCC
) -dumpmachine | sed
-e s
'/-.*//' \
36 -e
's/sparc.*/sparc/' \
39 -e
's/ppc/powerpc/g' \
40 -e
's/v850.*/v850/g' \
42 -e
's/mips-.*/mips/' \
43 -e
's/mipsel-.*/mipsel/' \
45 -e
's/i[3-9]86/i386/' \
47 GNU_HOST_NAME
:=$(HOST_ARCH
)-pc-linux-gnu
48 TARGET_CONFIGURE_OPTS
=PATH
=$(TARGET_PATH
) \
49 AR
=$(TARGET_CROSS
)ar \
50 AS
=$(TARGET_CROSS
)as \
51 LD
=$(TARGET_CROSS
)ld \
52 NM
=$(TARGET_CROSS
)nm \
53 CC
=$(TARGET_CROSS
)gcc \
54 GCC
=$(TARGET_CROSS
)gcc \
55 CXX
=$(TARGET_CROSS
)g
++ \
56 RANLIB
=$(TARGET_CROSS
)ranlib
58 ifeq ($(ENABLE_LOCALE
),true
)
61 DISABLE_NLS
:=--disable-nls
This page took 0.047234 seconds and 5 git commands to generate.