e8ec23efcc2382b936cd8dbf87d3df2f9b083cf0
1 LINKSYS_TGZ_SITE
=http
://openwrt.openbsd-geek.de
4 MAKE
=make
-j
$(BR2_JLEVEL
)
6 # Strip off the annoying quoting
7 ARCH
:=$(strip $(subst ",, $(BR2_ARCH)))
9 WGET
:=$(strip $(subst ",, $(BR2_WGET)))
12 ifneq ($(BR2_LARGEFILE
),y
)
13 DISABLE_LARGEFILE
= --disable-largefile
15 TARGET_CFLAGS
=$(TARGET_OPTIMIZATION
) $(TARGET_DEBUGGING
)
18 BASE_DIR
:=${shell pwd
}
19 DL_DIR
:=$(BASE_DIR
)/dl
20 #PATCH_DIR=$(BASE_DIR)/sources/patches
21 BUILD_DIR
:=$(BASE_DIR
)/build_
$(ARCH
)$(ARCH_FPU_SUFFIX
)
22 TARGET_DIR
:=$(BUILD_DIR
)/root
23 TOOL_BUILD_DIR
=$(BASE_DIR
)/toolchain_build_
$(ARCH
)$(ARCH_FPU_SUFFIX
)
24 # Strip off the annoying quoting
25 STAGING_DIR
:=$(strip $(subst ",, $(BR2_STAGING_DIR)))
27 TARGET_PATH
=$(STAGING_DIR
)/bin
:/bin
:/sbin
:/usr
/bin
:/usr
/sbin
28 IMAGE
:=$(BASE_DIR
)/root_fs_
$(ARCH
)$(ARCH_FPU_SUFFIX
)
29 REAL_GNU_TARGET_NAME
=$(OPTIMIZE_FOR_CPU
)-linux-uclibc
30 GNU_TARGET_NAME
=$(OPTIMIZE_FOR_CPU
)-linux
31 KERNEL_CROSS
=$(STAGING_DIR
)/bin
/$(OPTIMIZE_FOR_CPU
)-linux-uclibc-
32 TARGET_CROSS
=$(STAGING_DIR
)/bin
/$(OPTIMIZE_FOR_CPU
)-linux-uclibc-
33 TARGET_CC
=$(TARGET_CROSS
)gcc
34 STRIP
=$(TARGET_CROSS
)strip --remove-section
=.comment
--remove-section
=.note
37 HOST_ARCH
:=$(shell $(HOSTCC
) -dumpmachine | sed
-e s
'/-.*//' \
38 -e
's/sparc.*/sparc/' \
41 -e
's/ppc/powerpc/g' \
42 -e
's/v850.*/v850/g' \
44 -e
's/mips-.*/mips/' \
45 -e
's/mipsel-.*/mipsel/' \
47 -e
's/i[3-9]86/i386/' \
49 GNU_HOST_NAME
:=$(HOST_ARCH
)-pc-linux-gnu
50 TARGET_CONFIGURE_OPTS
=PATH
=$(TARGET_PATH
) \
51 AR
=$(TARGET_CROSS
)ar \
52 AS
=$(TARGET_CROSS
)as \
53 LD
=$(TARGET_CROSS
)ld \
54 NM
=$(TARGET_CROSS
)nm \
55 CC
=$(TARGET_CROSS
)gcc \
56 GCC
=$(TARGET_CROSS
)gcc \
57 CXX
=$(TARGET_CROSS
)g
++ \
58 RANLIB
=$(TARGET_CROSS
)ranlib
60 ifeq ($(ENABLE_LOCALE
),true
)
63 DISABLE_NLS
:=--disable-nls
This page took 0.037109 seconds and 3 git commands to generate.