summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Config.in2
-rw-r--r--target/Makefile11
-rw-r--r--target/linux/ar7-2.4/image/Makefile (renamed from target/image/ar7/Makefile)0
-rw-r--r--target/linux/ar7-2.4/image/sercomm/adam2.bin (renamed from target/image/ar7/sercomm/adam2.bin)bin131072 -> 131072 bytes
-rw-r--r--target/linux/ar7-2.4/image/sercomm/dg834 (renamed from target/image/ar7/sercomm/dg834)bin80 -> 80 bytes
-rw-r--r--target/linux/ar7-2.4/image/sercomm/jdr454wb (renamed from target/image/ar7/sercomm/jdr454wb)bin80 -> 80 bytes
-rw-r--r--target/linux/ar7-2.4/image/src/LzmaDecode.c (renamed from target/image/ar7/src/LzmaDecode.c)0
-rw-r--r--target/linux/ar7-2.4/image/src/LzmaDecode.h (renamed from target/image/ar7/src/LzmaDecode.h)0
-rw-r--r--target/linux/ar7-2.4/image/src/gzip.h (renamed from target/image/ar7/src/gzip.h)0
-rw-r--r--target/linux/ar7-2.4/image/src/ld.script.in (renamed from target/image/ar7/src/ld.script.in)0
-rw-r--r--target/linux/ar7-2.4/image/src/loader.c (renamed from target/image/ar7/src/loader.c)0
-rw-r--r--target/linux/ar7-2.4/image/src/srec2bin.c (renamed from target/image/ar7/src/srec2bin.c)0
-rw-r--r--target/linux/ar7-2.4/image/src/zimage.script.in (renamed from target/image/ar7/src/zimage.script.in)0
-rw-r--r--target/linux/aruba-2.6/image/Makefile (renamed from target/image/aruba/Makefile)4
-rwxr-xr-xtarget/linux/aruba-2.6/image/addVersion (renamed from target/image/aruba/addVersion)bin34464 -> 34464 bytes
-rw-r--r--target/linux/aruba-2.6/image/version (renamed from target/image/aruba/version)0
-rw-r--r--target/linux/au1000-2.6/image/Makefile (renamed from target/image/au1000/Makefile)6
l---------target/linux/brcm-2.4/image1
-rw-r--r--target/linux/brcm-2.6/image/Makefile (renamed from target/image/brcm/Makefile)0
-rw-r--r--target/linux/brcm-2.6/image/lzma-loader/Makefile (renamed from target/image/brcm/lzma-loader/Makefile)0
-rw-r--r--target/linux/brcm-2.6/image/lzma-loader/src/LzmaDecode.c (renamed from target/image/brcm/lzma-loader/src/LzmaDecode.c)0
-rw-r--r--target/linux/brcm-2.6/image/lzma-loader/src/LzmaDecode.h (renamed from target/image/brcm/lzma-loader/src/LzmaDecode.h)0
-rw-r--r--target/linux/brcm-2.6/image/lzma-loader/src/Makefile (renamed from target/image/brcm/lzma-loader/src/Makefile)0
-rw-r--r--target/linux/brcm-2.6/image/lzma-loader/src/README (renamed from target/image/brcm/lzma-loader/src/README)0
-rw-r--r--target/linux/brcm-2.6/image/lzma-loader/src/decompress.c (renamed from target/image/brcm/lzma-loader/src/decompress.c)0
-rw-r--r--target/linux/brcm-2.6/image/lzma-loader/src/decompress.lds.in (renamed from target/image/brcm/lzma-loader/src/decompress.lds.in)0
-rw-r--r--target/linux/brcm-2.6/image/lzma-loader/src/head.S (renamed from target/image/brcm/lzma-loader/src/head.S)0
-rw-r--r--target/linux/brcm-2.6/image/lzma-loader/src/loader.lds.in (renamed from target/image/brcm/lzma-loader/src/loader.lds.in)0
-rw-r--r--target/linux/brcm63xx-2.6/image/Makefile (renamed from target/image/brcm63xx/Makefile)4
l---------target/linux/generic-2.4/image1
-rw-r--r--target/linux/generic-2.6/image/Makefile (renamed from target/image/generic/Makefile)0
-rw-r--r--target/linux/generic-2.6/image/lzma-loader/Makefile (renamed from target/image/generic/lzma-loader/Makefile)0
-rw-r--r--target/linux/generic-2.6/image/lzma-loader/src/LzmaDecode.c (renamed from target/image/generic/lzma-loader/src/LzmaDecode.c)0
-rw-r--r--target/linux/generic-2.6/image/lzma-loader/src/LzmaDecode.h (renamed from target/image/generic/lzma-loader/src/LzmaDecode.h)0
-rw-r--r--target/linux/generic-2.6/image/lzma-loader/src/Makefile (renamed from target/image/generic/lzma-loader/src/Makefile)0
-rw-r--r--target/linux/generic-2.6/image/lzma-loader/src/decompress.c (renamed from target/image/generic/lzma-loader/src/decompress.c)0
-rw-r--r--target/linux/generic-2.6/image/lzma-loader/src/lzma-copy.lds.in (renamed from target/image/generic/lzma-loader/src/lzma-copy.lds.in)0
-rw-r--r--target/linux/generic-2.6/image/lzma-loader/src/lzma.lds.in (renamed from target/image/generic/lzma-loader/src/lzma.lds.in)0
-rw-r--r--target/linux/generic-2.6/image/lzma-loader/src/print.c (renamed from target/image/generic/lzma-loader/src/print.c)0
-rw-r--r--target/linux/generic-2.6/image/lzma-loader/src/print.h (renamed from target/image/generic/lzma-loader/src/print.h)0
-rw-r--r--target/linux/generic-2.6/image/lzma-loader/src/printf.c (renamed from target/image/generic/lzma-loader/src/printf.c)0
-rw-r--r--target/linux/generic-2.6/image/lzma-loader/src/printf.h (renamed from target/image/generic/lzma-loader/src/printf.h)0
-rw-r--r--target/linux/generic-2.6/image/lzma-loader/src/start.S (renamed from target/image/generic/lzma-loader/src/start.S)0
-rw-r--r--target/linux/generic-2.6/image/lzma-loader/src/uart16550.c (renamed from target/image/generic/lzma-loader/src/uart16550.c)0
-rw-r--r--target/linux/generic-2.6/image/lzma-loader/src/uart16550.h (renamed from target/image/generic/lzma-loader/src/uart16550.h)0
-rw-r--r--target/linux/ixp4xx-2.6/image/Makefile (renamed from target/image/ixp4xx/Makefile)0
-rw-r--r--target/linux/magicbox-2.6/image/Makefile (renamed from target/image/magicbox/Makefile)0
-rw-r--r--target/linux/rb532-2.6/image/Makefile (renamed from target/image/rb532/Makefile)2
-rw-r--r--target/linux/rdc-2.6/image/Makefile (renamed from target/image/rdc/Makefile)0
-rwxr-xr-xtarget/linux/uml-2.6/image/Makefile (renamed from target/image/uml/Makefile)0
-rw-r--r--target/linux/x86-2.6/image/Config.in (renamed from target/image/x86/Config.in)0
-rw-r--r--target/linux/x86-2.6/image/Makefile (renamed from target/image/x86/Makefile)0
-rwxr-xr-xtarget/linux/x86-2.6/image/gen_image.sh (renamed from target/image/x86/gen_image.sh)0
-rw-r--r--target/linux/x86-2.6/image/grub/Makefile (renamed from target/image/x86/grub/Makefile)0
-rw-r--r--target/linux/x86-2.6/image/grub/menu.lst (renamed from target/image/x86/grub/menu.lst)0
55 files changed, 18 insertions, 13 deletions
diff --git a/Config.in b/Config.in
index 78df56383d..acb27b47ea 100644
--- a/Config.in
+++ b/Config.in
@@ -93,7 +93,7 @@ menu "Target Images"
comment "Image Options"
-source "target/image/*/Config.in"
+source "target/linux/*/image/Config.in"
config TARGET_ROOTFS_FSPART
int "Filesystem part size (in MB)"
diff --git a/target/Makefile b/target/Makefile
index c00eea0d66..d5e6bea01c 100644
--- a/target/Makefile
+++ b/target/Makefile
@@ -19,6 +19,9 @@ linux-compile: utils-install
linux-install: $(BIN_DIR)
image_install: linux-install
+IMAGE_DIR:=linux/$(BOARD)-$(KERNEL)/image
+
+
download: $(patsubst %,%-download,$(TARGETS-y))
prepare: linux-prepare
compile: linux-compile image_compile
@@ -27,17 +30,17 @@ clean: $(patsubst %,%-clean,$(TARGETS-y)) image_clean
prereq: FORCE
$(MAKE) -C linux/$(BOARD)-$(KERNEL) prereq
- $(MAKE) -C image/$(BOARD) prereq
+ $(MAKE) -C $(IMAGE_DIR) prereq
image_clean: FORCE
- $(MAKE) -C image/$(BOARD) clean
+ $(MAKE) -C $(IMAGE_DIR) clean
rm -f $(BIN_DIR)/openwrt-*
image_compile: FORCE
- $(MAKE) -C image/$(BOARD) compile
+ $(MAKE) -C $(IMAGE_DIR) compile
image_install: image_compile
- $(MAKE) -C image/$(BOARD) install
+ $(MAKE) -C $(IMAGE_DIR) install
%-clean: FORCE
$(MAKE) -C $(patsubst %-clean,%,$@) clean
diff --git a/target/image/ar7/Makefile b/target/linux/ar7-2.4/image/Makefile
index bcdef970cf..bcdef970cf 100644
--- a/target/image/ar7/Makefile
+++ b/target/linux/ar7-2.4/image/Makefile
diff --git a/target/image/ar7/sercomm/adam2.bin b/target/linux/ar7-2.4/image/sercomm/adam2.bin
index d4aa0cd2d3..d4aa0cd2d3 100644
--- a/target/image/ar7/sercomm/adam2.bin
+++ b/target/linux/ar7-2.4/image/sercomm/adam2.bin
Binary files differ
diff --git a/target/image/ar7/sercomm/dg834 b/target/linux/ar7-2.4/image/sercomm/dg834
index 61fe336e85..61fe336e85 100644
--- a/target/image/ar7/sercomm/dg834
+++ b/target/linux/ar7-2.4/image/sercomm/dg834
Binary files differ
diff --git a/target/image/ar7/sercomm/jdr454wb b/target/linux/ar7-2.4/image/sercomm/jdr454wb
index 821ff1c1af..821ff1c1af 100644
--- a/target/image/ar7/sercomm/jdr454wb
+++ b/target/linux/ar7-2.4/image/sercomm/jdr454wb
Binary files differ
diff --git a/target/image/ar7/src/LzmaDecode.c b/target/linux/ar7-2.4/image/src/LzmaDecode.c
index 951700bddf..951700bddf 100644
--- a/target/image/ar7/src/LzmaDecode.c
+++ b/target/linux/ar7-2.4/image/src/LzmaDecode.c
diff --git a/target/image/ar7/src/LzmaDecode.h b/target/linux/ar7-2.4/image/src/LzmaDecode.h
index f58944e3c3..f58944e3c3 100644
--- a/target/image/ar7/src/LzmaDecode.h
+++ b/target/linux/ar7-2.4/image/src/LzmaDecode.h
diff --git a/target/image/ar7/src/gzip.h b/target/linux/ar7-2.4/image/src/gzip.h
index 917e66655c..917e66655c 100644
--- a/target/image/ar7/src/gzip.h
+++ b/target/linux/ar7-2.4/image/src/gzip.h
diff --git a/target/image/ar7/src/ld.script.in b/target/linux/ar7-2.4/image/src/ld.script.in
index 40389e644f..40389e644f 100644
--- a/target/image/ar7/src/ld.script.in
+++ b/target/linux/ar7-2.4/image/src/ld.script.in
diff --git a/target/image/ar7/src/loader.c b/target/linux/ar7-2.4/image/src/loader.c
index 22b909d7e9..22b909d7e9 100644
--- a/target/image/ar7/src/loader.c
+++ b/target/linux/ar7-2.4/image/src/loader.c
diff --git a/target/image/ar7/src/srec2bin.c b/target/linux/ar7-2.4/image/src/srec2bin.c
index 0eb8b2023a..0eb8b2023a 100644
--- a/target/image/ar7/src/srec2bin.c
+++ b/target/linux/ar7-2.4/image/src/srec2bin.c
diff --git a/target/image/ar7/src/zimage.script.in b/target/linux/ar7-2.4/image/src/zimage.script.in
index 1a0865b086..1a0865b086 100644
--- a/target/image/ar7/src/zimage.script.in
+++ b/target/linux/ar7-2.4/image/src/zimage.script.in
diff --git a/target/image/aruba/Makefile b/target/linux/aruba-2.6/image/Makefile
index 09aa8eabd4..37dd6fccb0 100644
--- a/target/image/aruba/Makefile
+++ b/target/linux/aruba-2.6/image/Makefile
@@ -18,12 +18,12 @@ LOADER_MAKEOPTS= \
RAMSIZE=$(RAMSIZE)
define Build/Clean
- $(MAKE) -C ../generic/lzma-loader $(LOADER_MAKEOPTS) clean
+ $(MAKE) -C ../../generic-2.6/image/lzma-loader $(LOADER_MAKEOPTS) clean
endef
define Image/Prepare
cat $(KDIR)/vmlinux | $(STAGING_DIR)/bin/lzma e -si -so -eos -lc1 -lp2 -pb2 > $(KDIR)/vmlinux.lzma
- $(MAKE) -C ../generic/lzma-loader $(LOADER_MAKEOPTS) clean compile
+ $(MAKE) -C ../../generic-2.6/image/lzma-loader $(LOADER_MAKEOPTS) clean compile
endef
define Image/BuildKernel
diff --git a/target/image/aruba/addVersion b/target/linux/aruba-2.6/image/addVersion
index 796f73ad1b..796f73ad1b 100755
--- a/target/image/aruba/addVersion
+++ b/target/linux/aruba-2.6/image/addVersion
Binary files differ
diff --git a/target/image/aruba/version b/target/linux/aruba-2.6/image/version
index fff5589e14..fff5589e14 100644
--- a/target/image/aruba/version
+++ b/target/linux/aruba-2.6/image/version
diff --git a/target/image/au1000/Makefile b/target/linux/au1000-2.6/image/Makefile
index fa3f06e318..9c7bb06d3a 100644
--- a/target/image/au1000/Makefile
+++ b/target/linux/au1000-2.6/image/Makefile
@@ -21,7 +21,7 @@ LOADER_MAKEOPTS= \
RAMSIZE=$(RAMSIZE)
define Build/Clean
- $(MAKE) -C ../generic/lzma-loader $(LOADER_MAKEOPTS) clean
+ $(MAKE) -C ../../generic-2.6/image/lzma-loader $(LOADER_MAKEOPTS) clean
endef
DROP_SECTIONS := .reginfo .mdebug .comment .note .pdr .options .MIPS.options
@@ -31,13 +31,13 @@ define Image/Prepare
cat $(KDIR)/vmlinux | $(STAGING_DIR)/bin/lzma e -si -so -eos -lc1 -lp2 -pb2 > $(KDIR)/vmlinux.lzma
# Build RAM image
- $(MAKE) -C ../generic/lzma-loader \
+ $(MAKE) -C ../../generic-2.6/image/lzma-loader \
$(LOADER_MAKEOPTS) \
clean compile
$(OBJCOPY_KERNEL) $(KDIR)/loader.elf $(KDIR)/kernel.ram.srec
# Build Flash image
- $(MAKE) -C ../generic/lzma-loader \
+ $(MAKE) -C ../../generic-2.6/image/lzma-loader \
$(LOADER_MAKEOPTS) \
IMAGE_COPY=1 \
LOADER_ENTRY=$(FLASH_KERNEL) \
diff --git a/target/linux/brcm-2.4/image b/target/linux/brcm-2.4/image
new file mode 120000
index 0000000000..9813e361e3
--- /dev/null
+++ b/target/linux/brcm-2.4/image
@@ -0,0 +1 @@
+../brcm-2.6/image/ \ No newline at end of file
diff --git a/target/image/brcm/Makefile b/target/linux/brcm-2.6/image/Makefile
index 6aad5581e7..6aad5581e7 100644
--- a/target/image/brcm/Makefile
+++ b/target/linux/brcm-2.6/image/Makefile
diff --git a/target/image/brcm/lzma-loader/Makefile b/target/linux/brcm-2.6/image/lzma-loader/Makefile
index b56cbaab0f..b56cbaab0f 100644
--- a/target/image/brcm/lzma-loader/Makefile
+++ b/target/linux/brcm-2.6/image/lzma-loader/Makefile
diff --git a/target/image/brcm/lzma-loader/src/LzmaDecode.c b/target/linux/brcm-2.6/image/lzma-loader/src/LzmaDecode.c
index 951700bddf..951700bddf 100644
--- a/target/image/brcm/lzma-loader/src/LzmaDecode.c
+++ b/target/linux/brcm-2.6/image/lzma-loader/src/LzmaDecode.c
diff --git a/target/image/brcm/lzma-loader/src/LzmaDecode.h b/target/linux/brcm-2.6/image/lzma-loader/src/LzmaDecode.h
index f58944e3c3..f58944e3c3 100644
--- a/target/image/brcm/lzma-loader/src/LzmaDecode.h
+++ b/target/linux/brcm-2.6/image/lzma-loader/src/LzmaDecode.h
diff --git a/target/image/brcm/lzma-loader/src/Makefile b/target/linux/brcm-2.6/image/lzma-loader/src/Makefile
index 85a864674b..85a864674b 100644
--- a/target/image/brcm/lzma-loader/src/Makefile
+++ b/target/linux/brcm-2.6/image/lzma-loader/src/Makefile
diff --git a/target/image/brcm/lzma-loader/src/README b/target/linux/brcm-2.6/image/lzma-loader/src/README
index 16649e9500..16649e9500 100644
--- a/target/image/brcm/lzma-loader/src/README
+++ b/target/linux/brcm-2.6/image/lzma-loader/src/README
diff --git a/target/image/brcm/lzma-loader/src/decompress.c b/target/linux/brcm-2.6/image/lzma-loader/src/decompress.c
index ec510e21e3..ec510e21e3 100644
--- a/target/image/brcm/lzma-loader/src/decompress.c
+++ b/target/linux/brcm-2.6/image/lzma-loader/src/decompress.c
diff --git a/target/image/brcm/lzma-loader/src/decompress.lds.in b/target/linux/brcm-2.6/image/lzma-loader/src/decompress.lds.in
index 33f56f8a09..33f56f8a09 100644
--- a/target/image/brcm/lzma-loader/src/decompress.lds.in
+++ b/target/linux/brcm-2.6/image/lzma-loader/src/decompress.lds.in
diff --git a/target/image/brcm/lzma-loader/src/head.S b/target/linux/brcm-2.6/image/lzma-loader/src/head.S
index 9bfbd53d51..9bfbd53d51 100644
--- a/target/image/brcm/lzma-loader/src/head.S
+++ b/target/linux/brcm-2.6/image/lzma-loader/src/head.S
diff --git a/target/image/brcm/lzma-loader/src/loader.lds.in b/target/linux/brcm-2.6/image/lzma-loader/src/loader.lds.in
index 20f2ea98ec..20f2ea98ec 100644
--- a/target/image/brcm/lzma-loader/src/loader.lds.in
+++ b/target/linux/brcm-2.6/image/lzma-loader/src/loader.lds.in
diff --git a/target/image/brcm63xx/Makefile b/target/linux/brcm63xx-2.6/image/Makefile
index 6aa72c2920..27c7b49c39 100644
--- a/target/image/brcm63xx/Makefile
+++ b/target/linux/brcm63xx-2.6/image/Makefile
@@ -18,12 +18,12 @@ LOADER_MAKEOPTS= \
RAMSIZE=$(RAMSIZE)
define Build/Clean
- $(MAKE) -C ../generic/lzma-loader $(LOADER_MAKEOPTS) clean
+ $(MAKE) -C ../../generic-2.6/image/lzma-loader $(LOADER_MAKEOPTS) clean
endef
define Image/Prepare
cat $(KDIR)/vmlinux | $(STAGING_DIR)/bin/lzma e -si -so -eos -lc1 -lp2 -pb2 > $(KDIR)/vmlinux.lzma
- $(MAKE) -C ../generic/lzma-loader $(LOADER_MAKEOPTS) compile
+ $(MAKE) -C ../../generic-2.6/image/lzma-loader $(LOADER_MAKEOPTS) compile
endef
define Image/Build
diff --git a/target/linux/generic-2.4/image b/target/linux/generic-2.4/image
new file mode 120000
index 0000000000..a96fdd0abb
--- /dev/null
+++ b/target/linux/generic-2.4/image
@@ -0,0 +1 @@
+../generic-2.6/image/ \ No newline at end of file
diff --git a/target/image/generic/Makefile b/target/linux/generic-2.6/image/Makefile
index 64b294d76e..64b294d76e 100644
--- a/target/image/generic/Makefile
+++ b/target/linux/generic-2.6/image/Makefile
diff --git a/target/image/generic/lzma-loader/Makefile b/target/linux/generic-2.6/image/lzma-loader/Makefile
index e3a98afbce..e3a98afbce 100644
--- a/target/image/generic/lzma-loader/Makefile
+++ b/target/linux/generic-2.6/image/lzma-loader/Makefile
diff --git a/target/image/generic/lzma-loader/src/LzmaDecode.c b/target/linux/generic-2.6/image/lzma-loader/src/LzmaDecode.c
index c90a0d3ef4..c90a0d3ef4 100644
--- a/target/image/generic/lzma-loader/src/LzmaDecode.c
+++ b/target/linux/generic-2.6/image/lzma-loader/src/LzmaDecode.c
diff --git a/target/image/generic/lzma-loader/src/LzmaDecode.h b/target/linux/generic-2.6/image/lzma-loader/src/LzmaDecode.h
index 213062af12..213062af12 100644
--- a/target/image/generic/lzma-loader/src/LzmaDecode.h
+++ b/target/linux/generic-2.6/image/lzma-loader/src/LzmaDecode.h
diff --git a/target/image/generic/lzma-loader/src/Makefile b/target/linux/generic-2.6/image/lzma-loader/src/Makefile
index dbe9019f2b..dbe9019f2b 100644
--- a/target/image/generic/lzma-loader/src/Makefile
+++ b/target/linux/generic-2.6/image/lzma-loader/src/Makefile
diff --git a/target/image/generic/lzma-loader/src/decompress.c b/target/linux/generic-2.6/image/lzma-loader/src/decompress.c
index 4ed432d1a5..4ed432d1a5 100644
--- a/target/image/generic/lzma-loader/src/decompress.c
+++ b/target/linux/generic-2.6/image/lzma-loader/src/decompress.c
diff --git a/target/image/generic/lzma-loader/src/lzma-copy.lds.in b/target/linux/generic-2.6/image/lzma-loader/src/lzma-copy.lds.in
index fbc87ab8e2..fbc87ab8e2 100644
--- a/target/image/generic/lzma-loader/src/lzma-copy.lds.in
+++ b/target/linux/generic-2.6/image/lzma-loader/src/lzma-copy.lds.in
diff --git a/target/image/generic/lzma-loader/src/lzma.lds.in b/target/linux/generic-2.6/image/lzma-loader/src/lzma.lds.in
index 6021cec014..6021cec014 100644
--- a/target/image/generic/lzma-loader/src/lzma.lds.in
+++ b/target/linux/generic-2.6/image/lzma-loader/src/lzma.lds.in
diff --git a/target/image/generic/lzma-loader/src/print.c b/target/linux/generic-2.6/image/lzma-loader/src/print.c
index 950687beff..950687beff 100644
--- a/target/image/generic/lzma-loader/src/print.c
+++ b/target/linux/generic-2.6/image/lzma-loader/src/print.c
diff --git a/target/image/generic/lzma-loader/src/print.h b/target/linux/generic-2.6/image/lzma-loader/src/print.h
index b051463909..b051463909 100644
--- a/target/image/generic/lzma-loader/src/print.h
+++ b/target/linux/generic-2.6/image/lzma-loader/src/print.h
diff --git a/target/image/generic/lzma-loader/src/printf.c b/target/linux/generic-2.6/image/lzma-loader/src/printf.c
index 49bd50d7c7..49bd50d7c7 100644
--- a/target/image/generic/lzma-loader/src/printf.c
+++ b/target/linux/generic-2.6/image/lzma-loader/src/printf.c
diff --git a/target/image/generic/lzma-loader/src/printf.h b/target/linux/generic-2.6/image/lzma-loader/src/printf.h
index 9b1c1df232..9b1c1df232 100644
--- a/target/image/generic/lzma-loader/src/printf.h
+++ b/target/linux/generic-2.6/image/lzma-loader/src/printf.h
diff --git a/target/image/generic/lzma-loader/src/start.S b/target/linux/generic-2.6/image/lzma-loader/src/start.S
index 9a85c4c357..9a85c4c357 100644
--- a/target/image/generic/lzma-loader/src/start.S
+++ b/target/linux/generic-2.6/image/lzma-loader/src/start.S
diff --git a/target/image/generic/lzma-loader/src/uart16550.c b/target/linux/generic-2.6/image/lzma-loader/src/uart16550.c
index 7df5727600..7df5727600 100644
--- a/target/image/generic/lzma-loader/src/uart16550.c
+++ b/target/linux/generic-2.6/image/lzma-loader/src/uart16550.c
diff --git a/target/image/generic/lzma-loader/src/uart16550.h b/target/linux/generic-2.6/image/lzma-loader/src/uart16550.h
index b3fd6fdd75..b3fd6fdd75 100644
--- a/target/image/generic/lzma-loader/src/uart16550.h
+++ b/target/linux/generic-2.6/image/lzma-loader/src/uart16550.h
diff --git a/target/image/ixp4xx/Makefile b/target/linux/ixp4xx-2.6/image/Makefile
index 23a0644338..23a0644338 100644
--- a/target/image/ixp4xx/Makefile
+++ b/target/linux/ixp4xx-2.6/image/Makefile
diff --git a/target/image/magicbox/Makefile b/target/linux/magicbox-2.6/image/Makefile
index 10f71df2a9..10f71df2a9 100644
--- a/target/image/magicbox/Makefile
+++ b/target/linux/magicbox-2.6/image/Makefile
diff --git a/target/image/rb532/Makefile b/target/linux/rb532-2.6/image/Makefile
index 7213cf8b8a..6bf3f9d056 100644
--- a/target/image/rb532/Makefile
+++ b/target/linux/rb532-2.6/image/Makefile
@@ -21,7 +21,7 @@ LOADER_MAKEOPTS= \
IMAGE_COPY=$(IMAGE_COPY)
define Build/Clean
- $(MAKE) -C ../generic/lzma-loader $(LOADER_MAKEOPTS) clean
+ $(MAKE) -C ../../generic-2.6/image/lzma-loader $(LOADER_MAKEOPTS) clean
endef
CMDLINE_SIZE=512
diff --git a/target/image/rdc/Makefile b/target/linux/rdc-2.6/image/Makefile
index 06082404ee..06082404ee 100644
--- a/target/image/rdc/Makefile
+++ b/target/linux/rdc-2.6/image/Makefile
diff --git a/target/image/uml/Makefile b/target/linux/uml-2.6/image/Makefile
index 6af4b8b816..6af4b8b816 100755
--- a/target/image/uml/Makefile
+++ b/target/linux/uml-2.6/image/Makefile
diff --git a/target/image/x86/Config.in b/target/linux/x86-2.6/image/Config.in
index 511a8d9d09..511a8d9d09 100644
--- a/target/image/x86/Config.in
+++ b/target/linux/x86-2.6/image/Config.in
diff --git a/target/image/x86/Makefile b/target/linux/x86-2.6/image/Makefile
index 7aa03b2d27..7aa03b2d27 100644
--- a/target/image/x86/Makefile
+++ b/target/linux/x86-2.6/image/Makefile
diff --git a/target/image/x86/gen_image.sh b/target/linux/x86-2.6/image/gen_image.sh
index 21deeee6ac..21deeee6ac 100755
--- a/target/image/x86/gen_image.sh
+++ b/target/linux/x86-2.6/image/gen_image.sh
diff --git a/target/image/x86/grub/Makefile b/target/linux/x86-2.6/image/grub/Makefile
index e30443e18c..e30443e18c 100644
--- a/target/image/x86/grub/Makefile
+++ b/target/linux/x86-2.6/image/grub/Makefile
diff --git a/target/image/x86/grub/menu.lst b/target/linux/x86-2.6/image/grub/menu.lst
index 590a7d5e3a..590a7d5e3a 100644
--- a/target/image/x86/grub/menu.lst
+++ b/target/linux/x86-2.6/image/grub/menu.lst