projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bugfixes
[openwrt.git]
/
openwrt
/
target
/
jffs2
/
jffs2root.mk
diff --git
a/openwrt/target/jffs2/jffs2root.mk
b/openwrt/target/jffs2/jffs2root.mk
index
5dd7903
..
92dad0e
100644
(file)
--- a/
openwrt/target/jffs2/jffs2root.mk
+++ b/
openwrt/target/jffs2/jffs2root.mk
@@
-4,8
+4,8
@@
#
#############################################################
#
#############################################################
-MTD_DIR:=$(BUILD_DIR)/mtd-200
11217
-MTD_SOURCE=mtd_200
11217
.orig.tar.gz
+MTD_DIR:=$(BUILD_DIR)/mtd-200
50122.orig
+MTD_SOURCE=mtd_200
50122
.orig.tar.gz
MTD_SITE=http://ftp.debian.org/debian/pool/main/m/mtd
MKFS_JFFS2=$(shell which mkfs.jffs2 2>/dev/null || echo $(MTD_DIR)/util/mkfs.jffs2)
MTD_SITE=http://ftp.debian.org/debian/pool/main/m/mtd
MKFS_JFFS2=$(shell which mkfs.jffs2 2>/dev/null || echo $(MTD_DIR)/util/mkfs.jffs2)
@@
-17,7
+17,6
@@
$(MTD_DIR)/.unpacked: $(DL_DIR)/$(MTD_SOURCE)
touch $(MTD_DIR)/.unpacked
$(MTD_DIR)/util/mkfs.jffs2: $(MTD_DIR)/.unpacked
touch $(MTD_DIR)/.unpacked
$(MTD_DIR)/util/mkfs.jffs2: $(MTD_DIR)/.unpacked
-# CFLAGS=-I$(LINUX_HEADERS_DIR)/include $(MAKE) LINUXDIR=$(LINUX_DIR) -C $(MTD_DIR)/util
$(MAKE) LINUXDIR=$(LINUX_DIR) -C $(MTD_DIR)/util
mtd: $(MKFS_JFFS2)
$(MAKE) LINUXDIR=$(LINUX_DIR) -C $(MTD_DIR)/util
mtd: $(MKFS_JFFS2)
@@
-30,13
+29,11
@@
mtd: $(MKFS_JFFS2)
#############################################################
jffs2root: mtd
#############################################################
jffs2root: mtd
- #-@find $(TARGET_DIR)/lib -type f -name \*.so\* | xargs $(STRIP) --strip-unneeded 2>/dev/null || true;
- -@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIP) 2>/dev/null || true;
+ -@find $(TARGET_DIR) -type f -perm +111 | xargs $(SSTRIP) 2>/dev/null || true;
@rm -rf $(TARGET_DIR)/usr/man
@rm -rf $(TARGET_DIR)/usr/info
$(MKFS_JFFS2) --pad --little-endian --squash -e 0x20000 \
@rm -rf $(TARGET_DIR)/usr/man
@rm -rf $(TARGET_DIR)/usr/info
$(MKFS_JFFS2) --pad --little-endian --squash -e 0x20000 \
- -D target/default/device_table.txt -d $(TARGET_DIR) \
- -o $(IMAGE).jffs2
+ -d $(TARGET_DIR) -o $(IMAGE).jffs2
jffs2root-source: $(DL_DIR)/$(MTD_SOURCE)
jffs2root-source: $(DL_DIR)/$(MTD_SOURCE)
@@
-46,5
+43,7
@@
jffs2root-clean:
jffs2root-dirclean:
rm -rf $(MTD_DIR)
jffs2root-dirclean:
rm -rf $(MTD_DIR)
-
-
+ifeq ($(strip $(BR2_TARGET_ROOTFS_JFFS2)),y)
+TARGETS+=jffs2root openwrt-image
+ROOTFS=jffs2
+endif
This page took
0.028521 seconds
and
4
git commands to generate.