diff options
Diffstat (limited to 'build')
-rwxr-xr-x | build | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -7,6 +7,15 @@ include ../source.mk include ../targets.mk +# Hardcode the targets to allow only native compilers for now. +configure_targets = configure-$(OPK_HOST_ARCH) +build_targets = build-$(OPK_HOST_ARCH) +buildnative_targets = buildnative-$(OPK_HOST_ARCH) +buildcross_targets = buildcross-$(OPK_HOST_ARCH) +install_targets = install-$(OPK_HOST_ARCH) +installnative_targets = installnative-$(OPK_HOST_ARCH) +installcross_targets = installcross-$(OPK_HOST_ARCH) + base_version = $$(printf '%s\n' '$(OPK_SOURCE)' | sed 's/^gcc-//') target = $$(printf '%s' '$@' | sed 's/^[a-z]*-//') @@ -84,6 +93,8 @@ $(build_targets): configure # These default values are in header files in gcc/config. They must be # edited here rather than in a patch because any given GCC target # configuration can be used by multiple ProteanOS targets. + # XXX: These commands run once per target, but they screw up the src/ + # directory and probably make things break. set -e; \ . "../targets.d/$(target).sh"; \ mv "src/gcc/config/$${gcc_config_file}" \ |