projects
/
librecmc
/
librecmc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add squashfs support for atheros-2.6
[librecmc/librecmc.git]
/
target
/
linux
/
atheros-2.6
/
image
/
Makefile
diff --git
a/target/linux/atheros-2.6/image/Makefile
b/target/linux/atheros-2.6/image/Makefile
index 80e333592007e12e4c412b39faad2eeac3494900..dfd1746fd3db01404dd771de604831a446cf2a5b 100644
(file)
--- a/
target/linux/atheros-2.6/image/Makefile
+++ b/
target/linux/atheros-2.6/image/Makefile
@@
-19,7
+19,12
@@
define Image/BuildKernel
dd if=$(KDIR)/vmlinux.bin.gz of=$(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-vmlinux.gz bs=65536 conv=sync
endef
dd if=$(KDIR)/vmlinux.bin.gz of=$(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-vmlinux.gz bs=65536 conv=sync
endef
+define Image/Build/squashfs
+ $(call prepare_generic_squashfs,$(KDIR)/root.squashfs)
+endef
+
define Image/Build
define Image/Build
+ $(call Image/Build/$(1))
dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-root.$(1) bs=128k conv=sync
endef
dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-root.$(1) bs=128k conv=sync
endef