summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-08-21 10:40:18 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-08-21 10:40:18 +0000
commitf88b8e0bf3bdf5cf7a61671be832ef7b9e24557b (patch)
treeead657bbcc6904cce633c02017c48d6331dd0892 /target
parentd9e272318216195c1e0f266d0aa733d9937b3d00 (diff)
- a few more cleanups (Cristian Ionescu-Idbohrn)
Diffstat (limited to 'target')
-rw-r--r--target/cloop/cloop.mk13
-rw-r--r--target/cramfs/cramfs.mk2
-rw-r--r--target/ext2/ext2root.mk8
-rw-r--r--target/squashfs/squashfsroot.mk2
4 files changed, 12 insertions, 13 deletions
diff --git a/target/cloop/cloop.mk b/target/cloop/cloop.mk
index bba984edb..f092f0b13 100644
--- a/target/cloop/cloop.mk
+++ b/target/cloop/cloop.mk
@@ -18,20 +18,20 @@ CLOOP_SITE=http://developer.linuxtag.net/knoppix/sources
CLOOP_TARGET:=$(IMAGE).cloop
### Note: not used yet! ck
### $(DL_DIR)/$(CLOOP_PATCH1):
-### $(WGET) -P $(DL_DIR) $(CLOOP_PATCH1_URL)/$(CLOOP_PATCH1)
+### $(WGET) -P $(DL_DIR) $(CLOOP_PATCH1_URL)/$(CLOOP_PATCH1)
$(DL_DIR)/$(CLOOP_SOURCE):
$(WGET) -P $(DL_DIR) $(CLOOP_SITE)/$(CLOOP_SOURCE)
$(CLOOP_DIR)/.unpacked: $(DL_DIR)/$(CLOOP_SOURCE) ### $(DL_DIR)/$(CLOOP_PATCH1)
$(ZCAT) $(DL_DIR)/$(CLOOP_SOURCE) | tar -C $(BUILD_DIR) -xvf -
- touch $(CLOOP_DIR)/.unpacked
+ touch $@
### $(ZCAT) $(DL_DIR)/$(CLOOP_PATCH1) | patch -p1 -d $(CLOOP_DIR)
### toolchain/patch-kernel.sh $(CLOOP_DIR) target/cloop/ cloop*.patch
$(CLOOP_DIR)/create_compressed_fs: $(CLOOP_DIR)/.unpacked
$(MAKE) CFLAGS="-Wall -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_ERROR_SILENT" -C $(CLOOP_DIR) \
- APPSONLY=yes -j1
+ APPSONLY=yes -j1
cloop: $(CLOOP_DIR)/create_compressed_fs
@@ -51,7 +51,7 @@ cloop-dirclean:
$(CLOOP_DIR)/cloop.o: $(CLOOP_DIR)/create_compressed_fs
$(MAKE) CFLAGS="-Wall -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_ERROR_SILENT" -C $(CLOOP_DIR) -j1
-
+
cloop-module: $(CLOOP_DIR)/cloop.o
#############################################################
@@ -62,13 +62,13 @@ cloop-module: $(CLOOP_DIR)/cloop.o
# required:
# mkisofs 2.01a34-unofficial-iconv from http://users.utu.fi/jahhein/mkisofs/
# optional:
-# symlinks: scan/change symbolic links - v1.2 - by Mark Lord
+# symlinks: scan/change symbolic links - v1.2 - by Mark Lord
# from ftp://ftp.ibiblio.org/pub/Linux/utils/file/
#
#############################################################
### Note: target/default/device_table.txt is not yet supported! ck
-# the quickfix is to use sudo to mount the previous created cramroot
+# the quickfix is to use sudo to mount the previous created cramroot
check-tools:
which mkisofs
- which symlinks
@@ -119,4 +119,3 @@ clooproot-dirclean:
# 1448 -rw-r--r-- 1 claus users 1482752 Mar 13 16:52 root_fs_powerpc.cramfs
# 1840 -rw-r--r-- 1 claus users 1883408 Mar 13 13:14 root_fs_powerpc.jffs2
#############################################################
-
diff --git a/target/cramfs/cramfs.mk b/target/cramfs/cramfs.mk
index 63c31fd22..2af85a6a9 100644
--- a/target/cramfs/cramfs.mk
+++ b/target/cramfs/cramfs.mk
@@ -22,7 +22,7 @@ $(CRAMFS_DIR): $(DL_DIR)/$(CRAMFS_SOURCE)
$(CRAMFS_DIR)/mkcramfs: $(CRAMFS_DIR)
$(MAKE) CFLAGS="-Wall -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" -C $(CRAMFS_DIR);
- touch -c $(CRAMFS_DIR)/mkcramfs
+ touch -c $@
cramfs: $(CRAMFS_DIR)/mkcramfs
diff --git a/target/ext2/ext2root.mk b/target/ext2/ext2root.mk
index ebd4743f8..d49b9c86b 100644
--- a/target/ext2/ext2root.mk
+++ b/target/ext2/ext2root.mk
@@ -14,7 +14,7 @@ $(DL_DIR)/$(GENEXT2_SOURCE):
$(GENEXT2_DIR)/.unpacked: $(DL_DIR)/$(GENEXT2_SOURCE)
$(ZCAT) $(DL_DIR)/$(GENEXT2_SOURCE) | tar -C $(BUILD_DIR) -xvf -
toolchain/patch-kernel.sh $(GENEXT2_DIR) target/ext2/ genext2fs\*.patch
- touch $(GENEXT2_DIR)/.unpacked
+ touch $@
$(GENEXT2_DIR)/.configured: $(GENEXT2_DIR)/.unpacked
chmod a+x $(GENEXT2_DIR)/configure
@@ -23,12 +23,12 @@ $(GENEXT2_DIR)/.configured: $(GENEXT2_DIR)/.unpacked
CC="$(HOSTCC)" \
--prefix=$(STAGING_DIR) \
);
- touch $(GENEXT2_DIR)/.configured
+ touch $@
$(GENEXT2_DIR)/genext2fs: $(GENEXT2_DIR)/.configured
$(MAKE) CFLAGS="-Wall -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE \
- -D_FILE_OFFSET_BITS=64" -C $(GENEXT2_DIR);
- touch -c $(GENEXT2_DIR)/genext2fs
+ -D_FILE_OFFSET_BITS=64" -C $(GENEXT2_DIR)
+ touch -c $@
genext2fs: $(GENEXT2_DIR)/genext2fs
diff --git a/target/squashfs/squashfsroot.mk b/target/squashfs/squashfsroot.mk
index 7386a76f3..8e6166e77 100644
--- a/target/squashfs/squashfsroot.mk
+++ b/target/squashfs/squashfsroot.mk
@@ -15,7 +15,7 @@ $(DL_DIR)/$(SQUASHFS_SOURCE):
$(SQUASHFS_DIR)/.unpacked: $(DL_DIR)/$(SQUASHFS_SOURCE) #$(SQUASHFS_PATCH)
$(SQUASHFS_CAT) $(DL_DIR)/$(SQUASHFS_SOURCE) | tar -C $(BUILD_DIR) -xvf -
toolchain/patch-kernel.sh $(SQUASHFS_DIR) target/squashfs/ squashfs\*.patch
- touch $(SQUASHFS_DIR)/.unpacked
+ touch $@
$(SQUASHFS_DIR)/squashfs-tools/mksquashfs: $(SQUASHFS_DIR)/.unpacked
$(MAKE) -C $(SQUASHFS_DIR)/squashfs-tools;