diff options
Diffstat (limited to 'package/gcc')
-rw-r--r-- | package/gcc/Config.in | 9 | ||||
-rw-r--r-- | package/gcc/Makefile | 30 | ||||
-rw-r--r-- | package/gcc/ipkg/gcc.control | 5 |
3 files changed, 44 insertions, 0 deletions
diff --git a/package/gcc/Config.in b/package/gcc/Config.in new file mode 100644 index 000000000..2d32d4491 --- /dev/null +++ b/package/gcc/Config.in @@ -0,0 +1,9 @@ +config ADK_PACKAGE_GCC + prompt "gcc.......................... GNU Compiler Collection" + tristate + default n + select ADK_PACKAGE_LIBGMP + select ADK_PACKAGE_MPFR + help + GCC + http://www.gnu.org/gcc diff --git a/package/gcc/Makefile b/package/gcc/Makefile new file mode 100644 index 000000000..01eec05b4 --- /dev/null +++ b/package/gcc/Makefile @@ -0,0 +1,30 @@ +# $Id$ +#- +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include ${TOPDIR}/rules.mk +include ${TOPDIR}/toolchain/gcc/Makefile.inc +include ${TOPDIR}/mk/package.mk + +$(eval $(call PKG_template,GCC,gcc,${PKG_VERSION}-${PKG_RELEASE},${ARCH})) + +CONFIGURE_STYLE= gnu +CONFIGURE_ARGS+= --enable-languages=c \ + --enable-shared \ + --disable-__cxa_atexit \ + --with-gnu-ld \ + --disable-libssp \ + --disable-nls \ + --disable-libmudflap \ + --disable-libgomp \ + --disable-multilib +BUILD_STYLE= auto +INSTALL_STYLE= auto + +post-install: + ${INSTALL_DIR} ${IDIR_GCC}/usr/lib + ${INSTALL_DIR} ${IDIR_GCC}/usr/bin + ${INSTALL_BIN} ${WRKINST}/usr/bin/gcc ${IDIR_GCC}/usr/bin/ + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/gcc/ipkg/gcc.control b/package/gcc/ipkg/gcc.control new file mode 100644 index 000000000..a34298fec --- /dev/null +++ b/package/gcc/ipkg/gcc.control @@ -0,0 +1,5 @@ +Package: gcc +Priority: optional +Section: comp +Depends: libgmp, mpfr +Description: gnu compiler |