diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-08-21 10:40:18 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-08-21 10:40:18 +0000 |
commit | f88b8e0bf3bdf5cf7a61671be832ef7b9e24557b (patch) | |
tree | ead657bbcc6904cce633c02017c48d6331dd0892 | |
parent | d9e272318216195c1e0f266d0aa733d9937b3d00 (diff) | |
download | buildroot-novena-f88b8e0bf3bdf5cf7a61671be832ef7b9e24557b.tar.gz buildroot-novena-f88b8e0bf3bdf5cf7a61671be832ef7b9e24557b.zip |
- a few more cleanups (Cristian Ionescu-Idbohrn)
-rw-r--r-- | package/avahi/avahi.mk | 6 | ||||
-rw-r--r-- | package/gmp/gmp.mk | 2 | ||||
-rw-r--r-- | target/cloop/cloop.mk | 13 | ||||
-rw-r--r-- | target/cramfs/cramfs.mk | 2 | ||||
-rw-r--r-- | target/ext2/ext2root.mk | 8 | ||||
-rw-r--r-- | target/squashfs/squashfsroot.mk | 2 | ||||
-rw-r--r-- | toolchain/elf2flt/elf2flt.mk | 6 |
7 files changed, 19 insertions, 20 deletions
diff --git a/package/avahi/avahi.mk b/package/avahi/avahi.mk index f32501b28..b2c9142ac 100644 --- a/package/avahi/avahi.mk +++ b/package/avahi/avahi.mk @@ -41,7 +41,7 @@ avahi-source: $(DL_DIR)/$(AVAHI_SOURCE) $(AVAHI_DIR)/.unpacked: $(DL_DIR)/$(AVAHI_SOURCE) $(AVAHI_CAT) $(DL_DIR)/$(AVAHI_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - toolchain/patch-kernel.sh $(AVAHI_DIR) package/avahi/ \*.patch - touch $(AVAHI_DIR)/.unpacked + touch $@ $(AVAHI_DIR)/.configured: $(AVAHI_DIR)/.unpacked $(AVAHI_EXPAT_DEP) (cd $(AVAHI_DIR) && rm -rf config.cache && autoconf) @@ -140,11 +140,11 @@ $(AVAHI_DIR)/.configured: $(AVAHI_DIR)/.unpacked $(AVAHI_EXPAT_DEP) --with-autoipd-user=default \ --with-autoipd-group=default \ ); - touch $(AVAHI_DIR)/.configured + touch $@ $(AVAHI_DIR)/.compiled: $(AVAHI_DIR)/.configured $(MAKE) -C $(AVAHI_DIR) - touch $(AVAHI_DIR)/.compiled + touch $@ $(STAGING_DIR)/usr/sbin/avahi-autoipd: $(AVAHI_DIR)/.compiled $(MAKE) DESTDIR=$(STAGING_DIR) -C $(AVAHI_DIR)/avahi-autoipd install diff --git a/package/gmp/gmp.mk b/package/gmp/gmp.mk index 1f69b27a9..cbc72402f 100644 --- a/package/gmp/gmp.mk +++ b/package/gmp/gmp.mk @@ -13,7 +13,7 @@ GMP_BINARY:=libgmp$(LIBTGTEXT) GMP_HOST_BINARY:=libgmp$(HOST_SHREXT) GMP_LIBVERSION:=3.4.1 -# this is a workaround for a bug in GMP, please see +# this is a workaround for a bug in GMP, please see # http://gmplib.org/list-archives/gmp-devel/2006-April/000618.html ifeq ($(HOST_EXEEXT),.exe) GMP_CPP_FLAGS:=CPPFLAGS=-DDLL_EXPORT 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; diff --git a/toolchain/elf2flt/elf2flt.mk b/toolchain/elf2flt/elf2flt.mk index 73aa38814..354376b48 100644 --- a/toolchain/elf2flt/elf2flt.mk +++ b/toolchain/elf2flt/elf2flt.mk @@ -11,7 +11,7 @@ ELF2FLT_BINARY:=elf2flt $(ELF2FLT_DIR)/.unpacked: cp -r toolchain/elf2flt/elf2flt "$(TOOL_BUILD_DIR)/elf2flt" - touch $(ELF2FLT_DIR)/.unpacked + touch $@ $(ELF2FLT_DIR)/.patched: $(ELF2FLT_DIR)/.unpacked ifeq ($(strip $(ARCH)),nios2) @@ -19,7 +19,7 @@ ifeq ($(strip $(ARCH)),nios2) $(SED) "s,CROSS_COMPILE_PREFIX,$(REAL_GNU_TARGET_NAME),g;" toolchain/elf2flt/elf2flt.nios2.conditional toolchain/patch-kernel.sh $(ELF2FLT_DIR) toolchain/elf2flt elf2flt.nios2.conditional endif - touch $(ELF2FLT_DIR)/.patched + touch $@ $(ELF2FLT_DIR)/.configured: $(ELF2FLT_DIR)/.patched (cd $(ELF2FLT_DIR); rm -rf config.cache; \ @@ -30,7 +30,7 @@ $(ELF2FLT_DIR)/.configured: $(ELF2FLT_DIR)/.patched --with-libbfd=$(BINUTILS_DIR1)/bfd/libbfd.a \ --with-libiberty=$(BINUTILS_DIR1)/libiberty/libiberty.a \ --prefix=$(STAGING_DIR)) - touch $(ELF2FLT_DIR)/.configured + touch $@ $(ELF2FLT_DIR)/$(ELF2FLT_BINARY): $(ELF2FLT_DIR)/.configured $(MAKE) -C $(ELF2FLT_DIR) all |