projects
/
openwrt
/
staging
/
xback.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ad0b56
)
build root filesystems and install them in $(BIN_DIR)
author
Florian Fainelli
<florian@openwrt.org>
Fri, 16 Nov 2012 16:32:36 +0000
(16:32 +0000)
committer
Florian Fainelli
<florian@openwrt.org>
Fri, 16 Nov 2012 16:32:36 +0000
(16:32 +0000)
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34214
target/linux/sparc/image/Makefile
patch
|
blob
|
history
diff --git
a/target/linux/sparc/image/Makefile
b/target/linux/sparc/image/Makefile
index 314cd6a409fd260d283fb4bee6ec61a06f80b897..e1f3aa0d5e045c5add4c5c2ec13dde55cca4af94 100644
(file)
--- a/
target/linux/sparc/image/Makefile
+++ b/
target/linux/sparc/image/Makefile
@@
-17,4
+17,13
@@
define Image/BuildKernel
# cp $(KDIR)/vmlinux.elf $(BIN_DIR)/$(IMG_PREFIX)-vmlinux.elf
endef
+define Image/Build/squashfs
+ $(call prepare_generic_squashfs,$(KDIR)/root.squashfs)
+endef
+
+define Image/Build
+ $(call Image/Build/$(1))
+ dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/openwrt-$(BOARD)-root.$(1) bs=128k conv=sync
+endef
+
$(eval $(call BuildImage))