⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gcc-sdk-native_3.4.4.bb

📁 These are the kernel patches against the 2.6.11_rc5 kernel from linux-mips.org for the AMD Alchemy
💻 BB
字号:
# GCC-SDK .bb build file# Copyright (C) 2005, Advanced Micro Devices, Inc.  All Rights Reserved# Released under the MIT license (see /COPYING)DESCRIPTION="Stage a gcc-sdk SDK"#FIXME: This only stages all of these packages.#Non-native packages such as gcc and libc will need to be installed#if this package can ever be used to facilitate image creation.#This should be an internal posting of the SDK you created previously using gcc-sdkSRC_URI="http://eloi.amd.com/toolchains/oe/gcc${PV}/${BUILD_ARCH}/${TARGET_SYS}-gcc-sdk-${PV}-${PR}.tar.gz \http://kegel.com/crosstool/crosstool-0.38/fix-embedded-paths.c"S=${WORKDIR}BINDIR="/opt/${TARGET_SYS}-gcc-sdk-${PV}"#fix-embedded-paths takes an optional arguement for the length of the #embedded paths prior to the initial conversion.  Make sure that this#value is less-than or equal to this original path length.  #This value should also be as great as possible so that this package#will install on ost OE installations.OLDROOTLEN='66'#PR should change along with gcc-sdk PRPR="r2"INHIBIT_DEFAULT_DEPS = 1PROVIDES = ${@['virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}gcc-initial virtual/${TARGET_PREFIX}g++ virtual/${TARGET_PREFIX}libc-initial virtual/${TARGET_PREFIX}libc-for-gcc virtual/libc quilt-native gnu-config-native m4-native autoconf-native automake-native libtool-native gettext-native bison-native linux-libc-headers ncurses-native ipkg-utils-native gdb-cross',''][bb.data.getVar('ALLOW_SDKNATIVE_PROVIDES',d,1) != 'yes']}do_compile () {	gcc fix-embedded-paths.c -o fix-embedded-paths}	do_stage () {	install -d ${TMPDIR}	cp -af ${WORKDIR}/${TARGET_SYS}-gcc-sdk-${PV}/cross ${TMPDIR}/	cp -af ${WORKDIR}/${TARGET_SYS}-gcc-sdk-${PV}/staging ${TMPDIR}/	if test -f ${WORKDIR}/${TARGET_SYS}-gcc-sdk-${PV}/README ; then		OLDROOTLEN=cat ${WORKDIR}/${TARGET_SYS}-gcc-sdk-${PV}/README | grep OLDROOTLEN | cut -f 2 -d '='	fi	echo Converting ${BINDIR} to ${TMPDIR} in cross using old root length: ${OLDROOTLEN}	${S}/fix-embedded-paths ${BINDIR} ${TMPDIR} ${TMPDIR}/cross ${OLDROOTLEN}	echo Converting ${BINDIR} to ${TMPDIR} in staging using old root length: ${OLDROOTLEN}	${S}/fix-embedded-paths ${BINDIR} ${TMPDIR} ${TMPDIR}/staging ${OLDROOTLEN}	#Now fix some things that broke during the conversion	if test -e ${TMPDIR}/staging/${BUILD_SYS}/bin/quilt ; then		sed -r -i -e 's/\$\s+command/\$command/' ${TMPDIR}/staging/${BUILD_SYS}/bin/quilt	fi	if test -e ${TMPDIR}/staging/${BUILD_SYS}/share/autoconf/autom4te.cfg ; then		sed -i -r -e 's/^\s+args/args/' ${TMPDIR}/staging/${BUILD_SYS}/share/autoconf/autom4te.cfg	fi}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -