From: Bernhard Reutner-Fischer Date: Sun, 14 Jan 2007 11:14:27 +0000 (-0000) Subject: - add missing foo-source target for "make source" for downloading X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=98862ee4a50126b5f0726a1431710e485ad0fcf0;p=buildroot.git - add missing foo-source target for "make source" for downloading package sources used by later offline build. --- diff --git a/package/libevent/libevent.mk b/package/libevent/libevent.mk index 9edb72c2ea..779034fda2 100644 --- a/package/libevent/libevent.mk +++ b/package/libevent/libevent.mk @@ -14,6 +14,8 @@ LIBEVENT_TARGET_BINARY:=usr/lib/libevent.so $(DL_DIR)/$(LIBEVENT_SOURCE): $(WGET) -P $(DL_DIR) $(LIBEVENT_SITE)/$(LIBEVENT_SOURCE) +libevent-source: $(DL_DIR)/$(LIBEVENT_SOURCE) + libevent-unpacked: $(LIBEVENT_DIR)/.unpacked $(LIBEVENT_DIR)/.unpacked: $(DL_DIR)/$(LIBEVENT_SOURCE) $(LIBEVENT_CAT) $(DL_DIR)/$(LIBEVENT_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - diff --git a/package/nfs-utils/nfs-utils.mk b/package/nfs-utils/nfs-utils.mk index 76b909fb44..f39a85c8f4 100644 --- a/package/nfs-utils/nfs-utils.mk +++ b/package/nfs-utils/nfs-utils.mk @@ -14,6 +14,8 @@ NFS_UTILS_TARGET_BINARY:=usr/sbin/rpc.nfsd $(DL_DIR)/$(NFS_UTILS_SOURCE): $(WGET) -P $(DL_DIR) $(NFS_UTILS_SITE)/$(NFS_UTILS_SOURCE) +nfs-utils-source: $(DL_DIR)/$(NFS_UTILS_SOURCE) + $(NFS_UTILS_DIR)/.unpacked: $(DL_DIR)/$(NFS_UTILS_SOURCE) $(NFS_UTILS_CAT) $(DL_DIR)/$(NFS_UTILS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - toolchain/patch-kernel.sh $(NFS_UTILS_DIR) package/nfs-utils/ nfs-utils*.patch diff --git a/package/samba/samba.mk b/package/samba/samba.mk index b084b66b0d..3c95874830 100644 --- a/package/samba/samba.mk +++ b/package/samba/samba.mk @@ -14,6 +14,8 @@ SAMBA_TARGET_BINARY:=usr/sbin/smbd $(DL_DIR)/$(SAMBA_SOURCE): $(WGET) -P $(DL_DIR) $(SAMBA_SITE)/$(SAMBA_SOURCE) +samba-source: $(DL_DIR)/$(SAMBA_SOURCE) + $(SAMBA_DIR)/.unpacked: $(DL_DIR)/$(SAMBA_SOURCE) $(SAMBA_CAT) $(DL_DIR)/$(SAMBA_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - toolchain/patch-kernel.sh `dirname $(SAMBA_DIR)` package/samba/ samba\*.patch diff --git a/package/usbmount/usbmount.mk b/package/usbmount/usbmount.mk index 2b9dc41eb9..a4709dbac2 100644 --- a/package/usbmount/usbmount.mk +++ b/package/usbmount/usbmount.mk @@ -13,6 +13,8 @@ USBMOUNT_TARGET_BINARY:=sbin/usbmount $(DL_DIR)/$(USBMOUNT_SOURCE): $(WGET) -P $(DL_DIR) $(USBMOUNT_SITE)/$(USBMOUNT_SOURCE) +usbmount-source: $(DL_DIR)/$(USBMOUNT_SOURCE) + $(USBMOUNT_DIR)/.unpacked: $(DL_DIR)/$(USBMOUNT_SOURCE) $(USBMOUNT_CAT) $(DL_DIR)/$(USBMOUNT_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - toolchain/patch-kernel.sh $(USBMOUNT_DIR) package/usbmount \*.patch