From 44f740c6f1131aab5f19635003854a0f3f39074a Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 2 Jan 2011 22:27:37 +0100 Subject: more make bulk fixes. sparc eglibc is broken. add special handling for qemu targets --- scripts/create-sys | 2 +- target/config/Config.in | 1 - target/mipsel/Makefile | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/create-sys b/scripts/create-sys index 9227a5a14..6e61e017c 100755 --- a/scripts/create-sys +++ b/scripts/create-sys @@ -32,7 +32,7 @@ for i in $systems;do systemu=$(echo $system|tr '[:upper:]' '[:lower:]') system=$(echo $system|tr '[:upper:]_' '[:lower:]-') system=$(echo $system|sed 's#x86-64#x86_64#') - if [ "${system%-*}" = "toolchain" ];then + if [ "${system%-*}" = "toolchain" -o "${system%-*}" = "qemu" ];then printf "\tdefault \"${system%-*}\" if ADK_$systemu\n" >> $topdir/target/config/Config.in.system.default else printf "\tdefault \"${system}\" if ADK_$systemu\n" >> $topdir/target/config/Config.in.system.default diff --git a/target/config/Config.in b/target/config/Config.in index 32884f778..6961a451b 100644 --- a/target/config/Config.in +++ b/target/config/Config.in @@ -221,7 +221,6 @@ config ADK_TARGET_LIB_EGLIBC ADK_LINUX_MIPS64EL || \ ADK_LINUX_PPC || \ ADK_LINUX_PPC64 || \ - ADK_LINUX_SPARC || \ ADK_LINUX_SPARC64 || \ ADK_LINUX_X86 || \ ADK_LINUX_X86_64 diff --git a/target/mipsel/Makefile b/target/mipsel/Makefile index e58e907ee..ccce77c16 100644 --- a/target/mipsel/Makefile +++ b/target/mipsel/Makefile @@ -79,7 +79,7 @@ endif endif ifeq ($(ADK_TARGET_FS),archive) imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL) - @cp $(BUILD_DIR)/$(TARGET_KERNEL) $(BIN_DIR)/$(TARGET_KERNEL) + @cp $(KERNEL) $(BIN_DIR)/$(TARGET_KERNEL) @echo 'The kernel file is: $(BIN_DIR)/${TARGET_KERNEL}' @echo "The RootFS tarball is: $(BIN_DIR)/$(ROOTFSTARBALL)" @echo "Use following command to create a QEMU Image:" -- cgit v1.2.3