diff options
author | lars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-08-29 21:16:00 +0000 |
---|---|---|
committer | lars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-08-29 21:16:00 +0000 |
commit | 2d624f25b50a7caf7d8c6cbcb273fde57a6d3cca (patch) | |
tree | 87bcdf8764fcf587b363fc65704032f80a51219f /target/linux/kirkwood/image/Makefile | |
parent | 02a00e24a81bb275daa567ad0c7acda6920bc868 (diff) |
[kirkwood] Add different profiles for Sheevaplug and Dockstar
Thanks to Gerrit Visser
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22838 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/kirkwood/image/Makefile')
-rw-r--r-- | target/linux/kirkwood/image/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/kirkwood/image/Makefile b/target/linux/kirkwood/image/Makefile index 129ad9566..c93be6751 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)) |