Skip to content

Commit

Permalink
Add the full crosstool-NG sources to the new repository of its own.
Browse files Browse the repository at this point in the history
You might just say: 'Yeah! crosstool-NG's got its own repo!".
Unfortunately, that's because the previous repo got damaged beyond repair and I had no backup.
That means I'm putting backups in place in the afternoon.
That also means we've lost history... :-(
  • Loading branch information
Yann E. MORIN" committed Feb 24, 2007
1 parent 2609573 commit 1906cf9
Show file tree
Hide file tree
Showing 690 changed files with 244,441 additions and 0 deletions.
67 changes: 67 additions & 0 deletions .cdtproject
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse-cdt version="2.0"?>

<cdtproject id="org.eclipse.cdt.make.core.make">
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
<data>
<item id="scannerConfiguration">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"/>
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
<buildOutputProvider>
<openAction enabled="true" filePath=""/>
<parser enabled="true"/>
</buildOutputProvider>
<scannerInfoProvider id="specsFile">
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
<parser enabled="true"/>
</scannerInfoProvider>
</profile>
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
<buildOutputProvider>
<openAction enabled="false" filePath=""/>
<parser enabled="true"/>
</buildOutputProvider>
<scannerInfoProvider id="makefileGenerator">
<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
<parser enabled="false"/>
</scannerInfoProvider>
</profile>
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
<buildOutputProvider>
<openAction enabled="false" filePath=""/>
<parser enabled="true"/>
</buildOutputProvider>
<scannerInfoProvider id="specsFile">
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
<parser enabled="false"/>
</scannerInfoProvider>
</profile>
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
<buildOutputProvider>
<openAction enabled="false" filePath=""/>
<parser enabled="true"/>
</buildOutputProvider>
<scannerInfoProvider id="specsFile">
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
<parser enabled="false"/>
</scannerInfoProvider>
</profile>
</item>
<item id="org.eclipse.cdt.core.pathentry">
<pathentry kind="src" path=""/>
<pathentry kind="out" path=""/>
<pathentry kind="con" path="org.eclipse.cdt.make.core.DISCOVERED_SCANNER_INFO"/>
</item>
<item id="org.eclipse.cdt.make.core.buildtargets">
<buildTargets>
<target name="Build toolchain" path="" targetID="org.eclipse.cdt.make.MakeTargetBuilder">
<buildCommand>make</buildCommand>
<buildArguments/>
<buildTarget>all</buildTarget>
<stopOnError>true</stopOnError>
<useDefaultCommand>true</useDefaultCommand>
</target>
</buildTargets>
</item>
</data>
</cdtproject>
34 changes: 34 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>crosstool-ng</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<triggers>full,incremental,</triggers>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value>&lt;project&gt;/.externalToolBuilders/org.eclipse.cdt.make.core.makeBuilder.launch</value>
</dictionary>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<triggers>full,incremental,</triggers>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value>&lt;project&gt;/.externalToolBuilders/org.eclipse.cdt.make.core.ScannerConfigBuilder.launch</value>
</dictionary>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.cdt.core.cnature</nature>
<nature>org.eclipse.cdt.make.core.makeNature</nature>
<nature>org.eclipse.cdt.make.core.ScannerConfigNature</nature>
</natures>
</projectDescription>
3 changes: 3 additions & 0 deletions .settings/org.eclipse.cdt.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#Sat Feb 17 16:17:18 CET 2007
eclipse.preferences.version=1
indexerId=org.eclipse.cdt.core.fastIndexer
21 changes: 21 additions & 0 deletions COPYING
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Unless otherwise stated in individaul files, this work is licensed to you under
the following terms.

- Files in docs/ are available under the Creative Commons Attribution, Share
Alike (by-sa), v2.5, to be found there:
licenses/by-sa/deed.en (human-readable summary)
licenses/by-sa/legalcode (legal code, the full license)

- Files found in patches/uClibc/*/ are available under the GNU Lesser General
Public License (LGPL), v2.1, to be found here:
licenses/lgpl.txt

- Files found in patches/glibc/*/ are available under the GNU Lesser General
Public License (LGPL), v2.1, to be found there:
licenses/lgpl.txt

- Other files not covered by the above licenses, and not covered by an
individual license specified in the file itself, or an accompanying file,
are available under the GNU General Public License (GPL), v2, to be found
here:
licenses/gpl.txt
9 changes: 9 additions & 0 deletions CREDITS
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
I would like to thank these fine people for making crosstool-NG possible:

Dan KEGEL, the original author of crosstool: http://www.kegel.com/
Dan was very helpfull and willing to help when I build my first toolchains.
I owe him one. Thank you Dan!
Some crosstool-NG scripts have code snippets coming almost as-is from the
original work by Dan.

More to come as they help.
1 change: 1 addition & 0 deletions LICENSES
46 changes: 46 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Makefile for crosstool-NG.
# Copyright 2006 Yann E. MORIN <yann.morin.1998@anciens.enib.fr>

# The project version
export PROJECTVERSION=0.0.1

# This should eventually be computed if compiling out-of-tree is implemented
export CT_TOP_DIR=$(shell pwd)

.PHONY: all
all: build

HOST_CC = gcc -funsigned-char

help::
@echo 'Available make targets (*: default target):'
@echo

include $(CT_TOP_DIR)/kconfig/Makefile
#include $(CT_TOP_DIR)/samples/Makefile

help::
@echo 'Build targets:'
@echo '* build - Build the toolchain'
@echo ' clean - Remove generated files'
@echo ' distclean - Remove generated files and configuration'

include $(CT_TOP_DIR)/tools/Makefile

.config: config/*.in
@make menuconfig
@# Because exiting menuconfig without saving is not an error to menuconfig
@test -f .config

# Actual build
build: .config
@$(CT_TOP_DIR)/scripts/crosstool.sh

.PHONY: clean
clean::
@rm -f .crosstool.config

.PHONY: distclean
distclean:: clean
@rm -f .config* ..config.tmp

9 changes: 9 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
This is the README for crosstool-NG

To get you started, hust enter:
make help

You can find a (terse and WIP) documentation in docs/.

You can also point your browser to
http://ymorin.is-a-geek.org/dokuwiki/doku.php?id=projects:crosstool
133 changes: 133 additions & 0 deletions config/binutils.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
# binutils options

menu "binutils"

config BINUTILS_VERSION
string

choice
bool
prompt "binutils version"

config BINUTILS_V_2_11_2
bool
prompt "2.11.2"

config BINUTILS_V_2_13_90
bool
prompt "2.13.90"

config BINUTILS_V_2_14
bool
prompt "2.14"

config BINUTILS_V_2_14_90
bool
prompt "2.14.90"

config BINUTILS_V_2_14_92
bool
prompt "2.14.92"

config BINUTILS_V_2_15
bool
prompt "2.15"

config BINUTILS_V_2_15_90
bool
prompt "2.15.90"

config BINUTILS_V_2_15_91
bool
prompt "2.15.91"

config BINUTILS_V_2_16
bool
prompt "2.16"

config BINUTILS_V_2_16_1
bool
prompt "2.16.1"

config BINUTILS_V_2_17
bool
prompt "2.17"

config BINUTILS_V_2_17_50_0_1
bool
prompt "2.17.50.0.1"

config BINUTILS_V_2_17_50_0_2
bool
prompt "2.17.50.0.2"

config BINUTILS_V_2_17_50_0_3
bool
prompt "2.17.50.0.3"

config BINUTILS_V_2_17_50_0_4
bool
prompt "2.17.50.0.4"

config BINUTILS_V_2_17_50_0_5
bool
prompt "2.17.50.0.5"

config BINUTILS_V_2_17_50_0_6
bool
prompt "2.17.50.0.6"

config BINUTILS_V_2_17_50_0_7
bool
prompt "2.17.50.0.7"

config BINUTILS_V_2_17_50_0_8
bool
prompt "2.17.50.0.8"

config BINUTILS_V_2_17_50_0_9
bool
prompt "2.17.50.0.9"

config BINUTILS_V_2_17_50_0_10
bool
prompt "2.17.50.0.10"

# CT_INSERT_VERSION_ABOVE
# Don't remove qbove line!
endchoice

config BINUTILS_VERSION
string
default "2.11.2" if BINUTILS_V_2_11_2
default "2.13.90" if BINUTILS_V_2_13_90
default "2.14" if BINUTILS_V_2_14
default "2.14.90" if BINUTILS_V_2_14_90
default "2.14.92" if BINUTILS_V_2_14_92
default "2.15" if BINUTILS_V_2_15
default "2.15.90" if BINUTILS_V_2_15_90
default "2.15.91" if BINUTILS_V_2_15_91
default "2.16" if BINUTILS_V_2_16
default "2.16.1" if BINUTILS_V_2_16_1
default "2.17" if BINUTILS_V_2_17
default "2.17.50.0.1" if BINUTILS_V_2_17_50_0_1
default "2.17.50.0.2" if BINUTILS_V_2_17_50_0_2
default "2.17.50.0.3" if BINUTILS_V_2_17_50_0_3
default "2.17.50.0.4" if BINUTILS_V_2_17_50_0_4
default "2.17.50.0.5" if BINUTILS_V_2_17_50_0_5
default "2.17.50.0.6" if BINUTILS_V_2_17_50_0_6
default "2.17.50.0.7" if BINUTILS_V_2_17_50_0_7
default "2.17.50.0.8" if BINUTILS_V_2_17_50_0_8
default "2.17.50.0.9" if BINUTILS_V_2_17_50_0_9
default "2.17.50.0.10" if BINUTILS_V_2_17_50_0_10
# CT_INSERT_VERSION_STRING_ABOVE
# Don't remove qbove line!

config BINUTILS_EXTRA_CONFIG
string
prompt "binutils extra config"
default ""
help
Extra flags passed onto ./configure when configuring

endmenu
Loading

0 comments on commit 1906cf9

Please sign in to comment.