projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add vlynq support
[openwrt.git]
/
openwrt
/
target
/
linux
/
image
/
ar7
/
Makefile
diff --git
a/openwrt/target/linux/image/ar7/Makefile
b/openwrt/target/linux/image/ar7/Makefile
index
b2683db
..
3cde04b
100644
(file)
--- a/
openwrt/target/linux/image/ar7/Makefile
+++ b/
openwrt/target/linux/image/ar7/Makefile
@@
-42,8
+42,15
@@
$(BIN_DIR)/openwrt-ar7-zimage.bin: $(KDIR)/vmlinux.gz compile
$(TARGET_CROSS)objcopy -O srec $(KDIR)/loader $(KDIR)/ram_zimage.sre
$(PKG_BUILD_DIR)/srec2bin $(KDIR)/ram_zimage.sre $@
$(TARGET_CROSS)objcopy -O srec $(KDIR)/loader $(KDIR)/ram_zimage.sre
$(PKG_BUILD_DIR)/srec2bin $(KDIR)/ram_zimage.sre $@
+ifeq ($(FS),jffs2-8MB)
+ALIGN:=bs=131072 conv=sync
+endif
+ifeq ($(FS),jffs2-4MB)
+ALIGN:=bs=65536 conv=sync
+endif
+
$(BIN_DIR)/openwrt-ar7-$(KERNEL)-$(FS).bin:
$(BIN_DIR)/openwrt-ar7-$(KERNEL)-$(FS).bin:
- dd if=$(BIN_DIR)/openwrt-ar7-zimage.bin
of=$@ bs=786432 conv=sync
+ dd if=$(BIN_DIR)/openwrt-ar7-zimage.bin
$(ALIGN) > $@
cat $(BUILD_DIR)/linux-$(KERNEL)-ar7/root.$(FS) >> $@
define pattern_template
cat $(BUILD_DIR)/linux-$(KERNEL)-ar7/root.$(FS) >> $@
define pattern_template
This page took
0.021192 seconds
and
4
git commands to generate.