projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
generic: rtl8366rb: use correct bitmasks in sanity checks
[openwrt.git]
/
target
/
linux
/
kirkwood
/
image
/
Makefile
diff --git
a/target/linux/kirkwood/image/Makefile
b/target/linux/kirkwood/image/Makefile
index
86d6a01
..
c93be67
100644
(file)
--- a/
target/linux/kirkwood/image/Makefile
+++ b/
target/linux/kirkwood/image/Makefile
@@
-7,7
+7,7
@@
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/image.mk
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/image.mk
-add_jffs2_mark=
+JFFS2OPTS += --little-endian --pagesize=0x800 --no-cleanmarkers --pad
define Image/Prepare
cp $(LINUX_DIR)/arch/arm/boot/uImage $(KDIR)/uImage
define Image/Prepare
cp $(LINUX_DIR)/arch/arm/boot/uImage $(KDIR)/uImage
@@
-19,14
+19,15
@@
define Image/BuildKernel
endef
define Image/Build
endef
define Image/Build
- $(call Image/Build/$(1),$(1))
+ $(if $(Image/Build/$(1)), \
+ $(call Image/Build/$(1),$(1)), \
+ $(CP) $(KDIR)/root.$(1) $(BIN_DIR)/$(IMG_PREFIX)-$(PROFILE)-$(1).img \
+ )
endef
define Image/Build/jffs2-128k
endef
define Image/Build/jffs2-128k
- ( \
- dd if=$(KDIR)/uImage bs=4096k conv=sync; \
- dd if=$(KDIR)/root.$(1) bs=128k conv=sync; \
- ) > $(BIN_DIR)/$(IMG_PREFIX)-$(1).img
+ dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-$(PROFILE)-$(1).img \
+ bs=2048 conv=sync
endef
define Image/Build/squashfs
endef
define Image/Build/squashfs
@@
-34,7
+35,7
@@
define Image/Build/squashfs
( \
dd if=$(KDIR)/uImage bs=4096k conv=sync; \
dd if=$(KDIR)/root.$(1) bs=128k conv=sync; \
( \
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))
endef
$(eval $(call BuildImage))
This page took
0.024924 seconds
and
4
git commands to generate.