diff --git a/.cargo/config.toml b/.cargo/config.toml index 1c0e5fab..b3058a68 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -2,6 +2,10 @@ linker = "aarch64-unknown-redox-gcc" rustflags = [] +[target.i586-unknown-redox] +linker = "i586-unknown-redox-gcc" +rustflags = [] + [target.i686-unknown-redox] linker = "i686-unknown-redox-gcc" rustflags = [] diff --git a/config.sh b/config.sh index 2a86500d..8e980198 100755 --- a/config.sh +++ b/config.sh @@ -15,8 +15,6 @@ ARCH="${TARGET%%-*}" HOST="$TARGET" if [ x"${HOST}" == x"riscv64gc-unknown-redox" ] ; then HOST="riscv64-unknown-redox" -elif [ x"${HOST}" == x"i586-unknown-redox" ] ; then - HOST="i686-unknown-redox" fi # Cookbook requires correct CWD to work diff --git a/recipes/core/drivers/recipe.toml b/recipes/core/drivers/recipe.toml index df8ffe61..9a836091 100644 --- a/recipes/core/drivers/recipe.toml +++ b/recipes/core/drivers/recipe.toml @@ -26,7 +26,7 @@ BINS=( # Add additional drivers to the list to build, that are not in drivers-initfs # depending on the target architecture case "${TARGET}" in - i686-unknown-redox | x86_64-unknown-redox) + i586-unknown-redox | i686-unknown-redox | x86_64-unknown-redox) BINS+=(ac97d bgad sb16d vboxd) ;; *)