summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-01-10 12:42:35 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-01-10 12:42:35 +0100
commited0cbf11579279dd9ea8f33d5b6e387cedc278db (patch)
tree4746361f91750a3c5e6e39802129cd996e90524f
parentfc602049dadfccb2940d203276e916a24de75763 (diff)
remove unused stuff. comment debug output.
-rw-r--r--mk/image.mk3
-rw-r--r--target/foxboard/Makefile2
-rw-r--r--target/foxboard/tools/mkfimage/mkfimage.c2
3 files changed, 2 insertions, 5 deletions
diff --git a/mk/image.mk b/mk/image.mk
index c6f5ce266..a2a6bb176 100644
--- a/mk/image.mk
+++ b/mk/image.mk
@@ -71,9 +71,6 @@ ${BIN_DIR}/${ROOTFSSQUASHFS}: ${TARGET_DIR}
cat ${BIN_DIR}/${ADK_TARGET}-${FS}-kernel \
${BUILD_DIR}/root.squashfs > \
${BUILD_DIR}/${ROOTFSSQUASHFS}
- # padding of images is required, foxboard only?
- #dd if=${BUILD_DIR}/${ROOTFSSQUASHFS} of=${BIN_DIR}/${ROOTFSSQUASHFS} \
- bs=4063232 conv=sync $(MAKE_TRACE)
imageclean:
rm -f $(BIN_DIR)/$(ADK_TARGET)-* ${BUILD_DIR}/$(ADK_TARGET)-*
diff --git a/target/foxboard/Makefile b/target/foxboard/Makefile
index ffa6f4152..a21647355 100644
--- a/target/foxboard/Makefile
+++ b/target/foxboard/Makefile
@@ -12,7 +12,7 @@ $(TOOLS_BUILD_DIR):
tools-compile: $(TOOLS_BUILD_DIR)
$(MAKE) -C tools/mkfimage
- $(MAKE) -C tools/e100boot prepare compile install $(MAKE_TRACE)
+ $(MAKE) -C tools/e100boot prepare compile install
$(MAKE) -C ../tools/squashfs prepare compile install
$(INSTALL_BIN) tools/boot_linux $(BIN_DIR)/
diff --git a/target/foxboard/tools/mkfimage/mkfimage.c b/target/foxboard/tools/mkfimage/mkfimage.c
index 6904170cf..b1897fbd7 100644
--- a/target/foxboard/tools/mkfimage/mkfimage.c
+++ b/target/foxboard/tools/mkfimage/mkfimage.c
@@ -37,7 +37,7 @@ int main(int argc, char **argv){
for(loop = 0; loop < (64 * 1024) - sizeof(magic_str); loop++){
if(buffer[loop] == magic_str[0]){
if((magic = strstr(&buffer[loop], magic_str))){
- printf("Magic at 0x%.08X %p %p\n", magic - buffer, magic, buffer);
+ //printf("Magic at 0x%.08X %p %p\n", magic - buffer, magic, buffer);
printf("Found Magic %X%X%X%X\n",
buffer[loop + strlen(magic_str)],
buffer[loop + strlen(magic_str) + 2],