aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/kirkwood/image
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2010-08-29 21:16:00 +0000
committerLars-Peter Clausen <lars@metafoo.de>2010-08-29 21:16:00 +0000
commitdc116b1887947d110a0158e1d201a7c1e139ef73 (patch)
tree6751f59b7899d719c0bc931bd7e4b719fc87d314 /target/linux/kirkwood/image
parent429c8a56b6b9a1ada2d10d17488b29590232c579 (diff)
downloadupstream-dc116b1887947d110a0158e1d201a7c1e139ef73.tar.gz
upstream-dc116b1887947d110a0158e1d201a7c1e139ef73.tar.bz2
upstream-dc116b1887947d110a0158e1d201a7c1e139ef73.zip
Add different profiles for Sheevaplug and Dockstar
Thanks to Gerrit Visser SVN-Revision: 22838
Diffstat (limited to 'target/linux/kirkwood/image')
-rw-r--r--target/linux/kirkwood/image/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/kirkwood/image/Makefile b/target/linux/kirkwood/image/Makefile
index 129ad95662..c93be67512 100644
--- a/target/linux/kirkwood/image/Makefile
+++ b/target/linux/kirkwood/image/Makefile
@@ -21,12 +21,12 @@ endef
define Image/Build
$(if $(Image/Build/$(1)), \
$(call Image/Build/$(1),$(1)), \
- $(CP) $(KDIR)/root.$(1) $(BIN_DIR)/$(IMG_PREFIX)-$(1).img \
+ $(CP) $(KDIR)/root.$(1) $(BIN_DIR)/$(IMG_PREFIX)-$(PROFILE)-$(1).img \
)
endef
define Image/Build/jffs2-128k
- dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-$(1).img \
+ dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-$(PROFILE)-$(1).img \
bs=2048 conv=sync
endef
@@ -35,7 +35,7 @@ define Image/Build/squashfs
( \
dd if=$(KDIR)/uImage bs=4096k conv=sync; \
dd if=$(KDIR)/root.$(1) bs=128k conv=sync; \
- ) > $(BIN_DIR)/$(IMG_PREFIX)-$(1).img
+ ) > $(BIN_DIR)/$(IMG_PREFIX)-$(PROFILE)-$(1).img
endef
$(eval $(call BuildImage))