diff options
author | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-03-04 04:43:26 +0000 |
---|---|---|
committer | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-03-04 04:43:26 +0000 |
commit | febbb945a927bfbdd74349a6a2b2a2fadfc0e169 (patch) | |
tree | dd9be5e244e73e9dbef27b43ba79d9605d696247 | |
parent | 0a28aa018879ac7dfcf09710f8651100da8fbbf4 (diff) |
cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@304 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | target/Makefile.in | 16 | ||||
-rw-r--r-- | target/jffs2/jffs2root.mk | 1 |
2 files changed, 4 insertions, 13 deletions
diff --git a/target/Makefile.in b/target/Makefile.in index aeceb3c14..d40fd158d 100644 --- a/target/Makefile.in +++ b/target/Makefile.in @@ -1,28 +1,18 @@ # Default target skeleton stuff, may be overridden EXTRAVERSION:= -XXX:= TARGET_SKELETON=target/default/skel.tar.gz TARGET_SKEL_DIR=target/default/target_skeleton include target/device/Makefile.in -ifeq ($(strip $(BR2_TARGET_ROOTFS_JFFS2)),y) -include target/jffs2/blocksize.mk -JFFS2FLAGS+=-a $(JFFS2_BLOCK_SIZE) -endif - openwrt-linux.trx: openwrt-trx - @PATH=$(TARGET_PATH) trx -o openwrt-linux$(EXTRAVERSION).trx \ + PATH=$(TARGET_PATH) trx -o openwrt-linux$(EXTRAVERSION).trx \ $(LINUX_DIR)/$(LINUX_BINLOC) $(JFFS2FLAGS) $(IMAGE).$(ROOTFS) openwrt-code.bin: openwrt-addpattern openwrt-linux.trx - @PATH=$(TARGET_PATH) addpattern -2 -i openwrt-linux$(EXTRAVERSION).trx \ + PATH=$(TARGET_PATH) addpattern -2 -i openwrt-linux$(EXTRAVERSION).trx \ -o openwrt-$(TAG)-code$(EXTRAVERSION).bin -g - @sed -i -e "1s,^W54S,$(TAG)," openwrt-$(TAG)-code$(EXTRAVERSION).bin - -ifeq ($(strip $(BR2_TARGET_ROOTFS_JFFS2)),y) -else -endif + @$(SED) "1s,^W54S,$(TAG)," openwrt-$(TAG)-code$(EXTRAVERSION).bin openwrt-image-clean: @-rm openwrt-* 2>/dev/null diff --git a/target/jffs2/jffs2root.mk b/target/jffs2/jffs2root.mk index b14f2d0f7..5e9380821 100644 --- a/target/jffs2/jffs2root.mk +++ b/target/jffs2/jffs2root.mk @@ -46,6 +46,7 @@ jffs2root-dirclean: ifeq ($(strip $(BR2_TARGET_ROOTFS_JFFS2)),y) TARGETS+=openwrt-image ROOTFS=jffs2 +JFFS2FLAGS=-a $(JFFS2_BLOCK_SIZE) openwrt-image: openwrt @make jffs2root openwrt-code.bin TAG=W54G \ |