summaryrefslogtreecommitdiffstats
path: root/openwrt/target/Makefile.in
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-03-04 04:43:26 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-03-04 04:43:26 +0000
commitaebd0c11a39a1d3d97e1d43e48e09a44287be798 (patch)
tree60b37a3f308fa029ebe9a9d6fc804bdb62526b02 /openwrt/target/Makefile.in
parent22ba317f5174d231be82f368381216404d4032f3 (diff)
cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@304 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target/Makefile.in')
-rw-r--r--openwrt/target/Makefile.in16
1 files changed, 3 insertions, 13 deletions
diff --git a/openwrt/target/Makefile.in b/openwrt/target/Makefile.in
index aeceb3c14..d40fd158d 100644
--- a/openwrt/target/Makefile.in
+++ b/openwrt/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