summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-02 22:27:37 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-02 22:27:37 +0100
commit44f740c6f1131aab5f19635003854a0f3f39074a (patch)
treeb9a64c7617d48434c5c6c244fbf647232fb85549
parent9eb60dea08e969884d18c3531049613e04ba6167 (diff)
more make bulk fixes. sparc eglibc is broken. add special handling for qemu targets
-rwxr-xr-xscripts/create-sys2
-rw-r--r--target/config/Config.in1
-rw-r--r--target/mipsel/Makefile2
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:"