summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-06-27 23:07:51 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-06-27 23:07:51 +0200
commitef5a145c57889ed4c1992ec36947958fc1a9a79c (patch)
treedd94ae4785c4305a9e7549660d21e091f2d7a16c /target
parenta6b6699daff82984218f0d804de1cd0660ec1ab2 (diff)
parentf9dbebde256ec6c5bdcd5ec9318d5a312ae62198 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'target')
-rw-r--r--target/Config.in2
-rw-r--r--target/linux/config/Config.in.block4
-rw-r--r--target/rb532/Makefile5
-rw-r--r--target/rb532/kernel.config2
4 files changed, 11 insertions, 2 deletions
diff --git a/target/Config.in b/target/Config.in
index 4bae570ac..b2c29d0d0 100644
--- a/target/Config.in
+++ b/target/Config.in
@@ -386,6 +386,8 @@ config ADK_TARGET_ROOTFS_EXT2_CF
bool "read-write filesystem for compact flash (ext2)"
depends on ADK_LINUX_X86_ALIX1C || ADK_LINUX_MIPS_RB532
select ADK_KERNEL_EXT2_FS
+ select ADK_KERNEL_SCSI
+ select ADK_KERNEL_BLK_DEV_SD
help
Use this option if you have a compact flash
inside your hardware and want to boot from it.
diff --git a/target/linux/config/Config.in.block b/target/linux/config/Config.in.block
index 7bd303c60..1c9f0aa49 100644
--- a/target/linux/config/Config.in.block
+++ b/target/linux/config/Config.in.block
@@ -36,6 +36,10 @@ config ADK_KERNEL_SCSI
boolean
default n
+config ADK_KERNEL_BLK_DEV_SD
+ boolean
+ default n
+
#config ADK_KERNEL_IDE
# boolean
# default n
diff --git a/target/rb532/Makefile b/target/rb532/Makefile
index 9fd876291..f9b05d2d9 100644
--- a/target/rb532/Makefile
+++ b/target/rb532/Makefile
@@ -7,8 +7,11 @@ include $(TOPDIR)/mk/modules.mk
include $(TOPDIR)/mk/kernel-build.mk
include $(TOPDIR)/mk/image.mk
+OSTRIP:=-R .reginfo -R .notes -R .note -R .comment -R .mdebug -R .note.gnu.build-id
+
kernel-install:
- cp $(LINUX_DIR)/vmlinux $(BIN_DIR)/${DEVICE}-${ARCH}-kernel
+ $(KERNEL_CROSS)objcopy $(OSTRIP) -S $(LINUX_DIR)/vmlinux \
+ $(BIN_DIR)/${DEVICE}-${ARCH}-kernel
ifeq ($(FS),ext2-cf)
imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL)
diff --git a/target/rb532/kernel.config b/target/rb532/kernel.config
index 5f284f91f..b5a78d466 100644
--- a/target/rb532/kernel.config
+++ b/target/rb532/kernel.config
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.30
-# Fri Jun 19 11:43:06 2009
+# Sat Jun 27 21:41:18 2009
#
CONFIG_MIPS=y