summaryrefslogtreecommitdiff
path: root/target/rb532/Makefile
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/rb532/Makefile
parenta6b6699daff82984218f0d804de1cd0660ec1ab2 (diff)
parentf9dbebde256ec6c5bdcd5ec9318d5a312ae62198 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'target/rb532/Makefile')
-rw-r--r--target/rb532/Makefile5
1 files changed, 4 insertions, 1 deletions
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)