be a bit more consistant with naming, always escape wildcards
This commit is contained in:
parent
9540549182
commit
369864cf10
|
@ -28,7 +28,7 @@ busybox-source: $(DL_DIR)/$(BUSYBOX_SOURCE) $(BUSYBOX_CONFIG_FILE)
|
||||||
$(BUSYBOX_DIR)/.unpacked: $(DL_DIR)/$(BUSYBOX_SOURCE)
|
$(BUSYBOX_DIR)/.unpacked: $(DL_DIR)/$(BUSYBOX_SOURCE)
|
||||||
$(BUSYBOX_UNZIP) $(DL_DIR)/$(BUSYBOX_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
$(BUSYBOX_UNZIP) $(DL_DIR)/$(BUSYBOX_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||||
# Allow busybox patches.
|
# Allow busybox patches.
|
||||||
toolchain/patch-kernel.sh $(BUSYBOX_DIR) package/busybox busybox-\*.patch
|
toolchain/patch-kernel.sh $(BUSYBOX_DIR) package/busybox busybox\*.patch
|
||||||
touch $(BUSYBOX_DIR)/.unpacked
|
touch $(BUSYBOX_DIR)/.unpacked
|
||||||
|
|
||||||
$(BUSYBOX_DIR)/.configured: $(BUSYBOX_DIR)/.unpacked $(BUSYBOX_CONFIG_FILE)
|
$(BUSYBOX_DIR)/.configured: $(BUSYBOX_DIR)/.unpacked $(BUSYBOX_CONFIG_FILE)
|
||||||
|
|
|
@ -25,7 +25,7 @@ dhcp-source: $(DL_DIR)/$(DHCP_SOURCE)
|
||||||
|
|
||||||
$(DHCP_DIR)/.unpacked: $(DL_DIR)/$(DHCP_SOURCE)
|
$(DHCP_DIR)/.unpacked: $(DL_DIR)/$(DHCP_SOURCE)
|
||||||
$(DHCP_CAT) $(DL_DIR)/$(DHCP_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
$(DHCP_CAT) $(DL_DIR)/$(DHCP_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||||
toolchain/patch-kernel.sh $(DHCP_DIR) package/dhcp/ dhcp*.patch
|
toolchain/patch-kernel.sh $(DHCP_DIR) package/dhcp/ dhcp\*.patch
|
||||||
touch $(DHCP_DIR)/.unpacked
|
touch $(DHCP_DIR)/.unpacked
|
||||||
|
|
||||||
$(DHCP_DIR)/.configured: $(DHCP_DIR)/.unpacked
|
$(DHCP_DIR)/.configured: $(DHCP_DIR)/.unpacked
|
||||||
|
|
|
@ -23,7 +23,7 @@ $(DL_DIR)/$(DNSMASQ_SOURCE):
|
||||||
$(DNSMASQ_DIR)/.source: $(DL_DIR)/$(DNSMASQ_SOURCE)
|
$(DNSMASQ_DIR)/.source: $(DL_DIR)/$(DNSMASQ_SOURCE)
|
||||||
zcat $(DL_DIR)/$(DNSMASQ_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
zcat $(DL_DIR)/$(DNSMASQ_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||||
toolchain/patch-kernel.sh $(DNSMASQ_DIR) package/dnsmasq/ \
|
toolchain/patch-kernel.sh $(DNSMASQ_DIR) package/dnsmasq/ \
|
||||||
$(DNSMASQ_VER)-\*.patch
|
$(DNSMASQ_VER)\*.patch
|
||||||
touch $(DNSMASQ_DIR)/.source
|
touch $(DNSMASQ_DIR)/.source
|
||||||
|
|
||||||
$(DNSMASQ_DIR)/src/$(DNSMASQ_BINARY): $(DNSMASQ_DIR)/.source
|
$(DNSMASQ_DIR)/src/$(DNSMASQ_BINARY): $(DNSMASQ_DIR)/.source
|
||||||
|
|
|
@ -18,7 +18,7 @@ dropbear_sshd-source: $(DL_DIR)/$(DROPBEAR_SSHD_SOURCE)
|
||||||
|
|
||||||
$(DROPBEAR_SSHD_DIR)/.unpacked: $(DL_DIR)/$(DROPBEAR_SSHD_SOURCE)
|
$(DROPBEAR_SSHD_DIR)/.unpacked: $(DL_DIR)/$(DROPBEAR_SSHD_SOURCE)
|
||||||
$(DROPBEAR_SSHD_CAT) $(DL_DIR)/$(DROPBEAR_SSHD_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
$(DROPBEAR_SSHD_CAT) $(DL_DIR)/$(DROPBEAR_SSHD_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||||
toolchain/patch-kernel.sh $(DROPBEAR_SSHD_DIR) package/dropbear_sshd/ dropbear-\*.patch
|
toolchain/patch-kernel.sh $(DROPBEAR_SSHD_DIR) package/dropbear_sshd/ dropbear\*.patch
|
||||||
$(SED) 's,^/\* #define DROPBEAR_MULTI.*,#define DROPBEAR_MULTI,g' $(DROPBEAR_SSHD_DIR)/options.h
|
$(SED) 's,^/\* #define DROPBEAR_MULTI.*,#define DROPBEAR_MULTI,g' $(DROPBEAR_SSHD_DIR)/options.h
|
||||||
touch $(DROPBEAR_SSHD_DIR)/.unpacked
|
touch $(DROPBEAR_SSHD_DIR)/.unpacked
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ e2fsprogs-source: $(DL_DIR)/$(E2FSPROGS_SOURCE)
|
||||||
|
|
||||||
$(E2FSPROGS_DIR)/.unpacked: $(DL_DIR)/$(E2FSPROGS_SOURCE)
|
$(E2FSPROGS_DIR)/.unpacked: $(DL_DIR)/$(E2FSPROGS_SOURCE)
|
||||||
$(E2FSPROGS_CAT) $(DL_DIR)/$(E2FSPROGS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
$(E2FSPROGS_CAT) $(DL_DIR)/$(E2FSPROGS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||||
toolchain/patch-kernel.sh $(E2FSPROGS_DIR) package/e2fsprogs/ e2fsprogs*.patch
|
toolchain/patch-kernel.sh $(E2FSPROGS_DIR) package/e2fsprogs/ e2fsprogs\*.patch
|
||||||
touch $(E2FSPROGS_DIR)/.unpacked
|
touch $(E2FSPROGS_DIR)/.unpacked
|
||||||
|
|
||||||
$(E2FSPROGS_DIR)/.configured: $(E2FSPROGS_DIR)/.unpacked
|
$(E2FSPROGS_DIR)/.configured: $(E2FSPROGS_DIR)/.unpacked
|
||||||
|
|
|
@ -17,7 +17,7 @@ $(IPTABLES_BUILD_DIR)/.unpacked: $(DL_DIR)/$(IPTABLES_SOURCE)
|
||||||
|
|
||||||
$(IPTABLES_BUILD_DIR)/.configured: $(IPTABLES_BUILD_DIR)/.unpacked
|
$(IPTABLES_BUILD_DIR)/.configured: $(IPTABLES_BUILD_DIR)/.unpacked
|
||||||
# Allow patches. Needed for openwrt for instance.
|
# Allow patches. Needed for openwrt for instance.
|
||||||
toolchain/patch-kernel.sh $(IPTABLES_BUILD_DIR) package/iptables/ iptables-\*.patch
|
toolchain/patch-kernel.sh $(IPTABLES_BUILD_DIR) package/iptables/ iptables\*.patch
|
||||||
#
|
#
|
||||||
$(SED) "s;\[ -f /usr/include/netinet/ip6.h \];grep -q '__UCLIBC_HAS_IPV6__ 1' \
|
$(SED) "s;\[ -f /usr/include/netinet/ip6.h \];grep -q '__UCLIBC_HAS_IPV6__ 1' \
|
||||||
$(BUILD_DIR)/uClibc/include/bits/uClibc_config.h;" $(IPTABLES_BUILD_DIR)/Makefile
|
$(BUILD_DIR)/uClibc/include/bits/uClibc_config.h;" $(IPTABLES_BUILD_DIR)/Makefile
|
||||||
|
|
|
@ -17,7 +17,7 @@ libglib12-source: $(DL_DIR)/$(LIBGLIB12_SOURCE)
|
||||||
|
|
||||||
$(LIBGLIB12_DIR)/.unpacked: $(DL_DIR)/$(LIBGLIB12_SOURCE)
|
$(LIBGLIB12_DIR)/.unpacked: $(DL_DIR)/$(LIBGLIB12_SOURCE)
|
||||||
$(LIBGLIB12_CAT) $(DL_DIR)/$(LIBGLIB12_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
$(LIBGLIB12_CAT) $(DL_DIR)/$(LIBGLIB12_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||||
toolchain/patch-kernel.sh $(LIBGLIB12_DIR) package/libglib12/ *-patch*
|
toolchain/patch-kernel.sh $(LIBGLIB12_DIR) package/libglib12/ \*-patch\*
|
||||||
touch $(LIBGLIB12_DIR)/.unpacked
|
touch $(LIBGLIB12_DIR)/.unpacked
|
||||||
|
|
||||||
$(LIBGLIB12_DIR)/.configured: $(LIBGLIB12_DIR)/.unpacked
|
$(LIBGLIB12_DIR)/.configured: $(LIBGLIB12_DIR)/.unpacked
|
||||||
|
|
|
@ -16,7 +16,7 @@ ltp-testsuite-source: $(DL_DIR)/$(LTP_TESTSUITE_SOURCE)
|
||||||
|
|
||||||
$(LTP_TESTSUITE_DIR)/.unpacked: $(DL_DIR)/$(LTP_TESTSUITE_SOURCE)
|
$(LTP_TESTSUITE_DIR)/.unpacked: $(DL_DIR)/$(LTP_TESTSUITE_SOURCE)
|
||||||
$(LTP_TESTSUITE_CAT) $(DL_DIR)/$(LTP_TESTSUITE_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
$(LTP_TESTSUITE_CAT) $(DL_DIR)/$(LTP_TESTSUITE_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||||
toolchain/patch-kernel.sh $(LTP_TESTSUITE_DIR) package/ltp-testsuite/ ltp-testsuite-\*.patch
|
toolchain/patch-kernel.sh $(LTP_TESTSUITE_DIR) package/ltp-testsuite/ ltp-testsuite\*.patch
|
||||||
touch $(LTP_TESTSUITE_DIR)/.unpacked
|
touch $(LTP_TESTSUITE_DIR)/.unpacked
|
||||||
|
|
||||||
$(LTP_TESTSUITE_DIR)/ltp-testsuite: $(LTP_TESTSUITE_DIR)/.unpacked
|
$(LTP_TESTSUITE_DIR)/ltp-testsuite: $(LTP_TESTSUITE_DIR)/.unpacked
|
||||||
|
|
|
@ -20,7 +20,7 @@ lzo-source: $(DL_DIR)/$(LZO_SOURCE)
|
||||||
|
|
||||||
$(LZO_DIR)/.unpacked: $(DL_DIR)/$(LZO_SOURCE)
|
$(LZO_DIR)/.unpacked: $(DL_DIR)/$(LZO_SOURCE)
|
||||||
$(LZO_CAT) $(DL_DIR)/$(LZO_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
$(LZO_CAT) $(DL_DIR)/$(LZO_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||||
toolchain/patch-kernel.sh $(LZO_DIR) package/lzo/ lzo-\*.patch
|
toolchain/patch-kernel.sh $(LZO_DIR) package/lzo/ lzo\*.patch
|
||||||
touch $(LZO_DIR)/.unpacked
|
touch $(LZO_DIR)/.unpacked
|
||||||
|
|
||||||
LZO_CONFIG_SHARED:=--disable-shared
|
LZO_CONFIG_SHARED:=--disable-shared
|
||||||
|
|
|
@ -23,7 +23,7 @@ mrouted-source: $(DL_DIR)/$(MROUTED_SOURCE) $(DL_DIR)/$(MROUTED_PATCH)
|
||||||
$(MROUTED_DIR)/.unpacked: $(DL_DIR)/$(MROUTED_SOURCE) $(DL_DIR)/$(MROUTED_PATCH)
|
$(MROUTED_DIR)/.unpacked: $(DL_DIR)/$(MROUTED_SOURCE) $(DL_DIR)/$(MROUTED_PATCH)
|
||||||
$(MROUTED_CAT) $(DL_DIR)/$(MROUTED_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
$(MROUTED_CAT) $(DL_DIR)/$(MROUTED_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||||
$(MROUTED_CAT) $(DL_DIR)/$(MROUTED_PATCH) | patch -p1 -d $(MROUTED_DIR)
|
$(MROUTED_CAT) $(DL_DIR)/$(MROUTED_PATCH) | patch -p1 -d $(MROUTED_DIR)
|
||||||
toolchain/patch-kernel.sh $(MROUTED_DIR) package/mrouted/ mrouted-\*.patch
|
toolchain/patch-kernel.sh $(MROUTED_DIR) package/mrouted/ mrouted\*.patch
|
||||||
touch $(MROUTED_DIR)/.unpacked
|
touch $(MROUTED_DIR)/.unpacked
|
||||||
|
|
||||||
$(MROUTED_DIR)/$(MROUTED_BINARY): $(MROUTED_DIR)/.unpacked
|
$(MROUTED_DIR)/$(MROUTED_BINARY): $(MROUTED_DIR)/.unpacked
|
||||||
|
|
|
@ -35,7 +35,7 @@ $(NCURSES_DIR)/.dist: $(DL_DIR)/$(NCURSES_SOURCE)
|
||||||
#use the local tic and not whatever the build system was going to find.
|
#use the local tic and not whatever the build system was going to find.
|
||||||
$(SED) 's~\$$srcdir/shlib tic\$$suffix~/usr/bin/tic~' \
|
$(SED) 's~\$$srcdir/shlib tic\$$suffix~/usr/bin/tic~' \
|
||||||
$(NCURSES_DIR)/misc/run_tic.in
|
$(NCURSES_DIR)/misc/run_tic.in
|
||||||
toolchain/patch-kernel.sh $(NCURSES_DIR) package/ncurses/ ncurses-\*.patch
|
toolchain/patch-kernel.sh $(NCURSES_DIR) package/ncurses/ ncurses\*.patch
|
||||||
touch $(NCURSES_DIR)/.dist
|
touch $(NCURSES_DIR)/.dist
|
||||||
|
|
||||||
$(NCURSES_DIR)/.configured: $(NCURSES_DIR)/.dist
|
$(NCURSES_DIR)/.configured: $(NCURSES_DIR)/.dist
|
||||||
|
|
|
@ -21,7 +21,7 @@ $(NETKITBASE_DIR)/.unpacked: $(DL_DIR)/$(NETKITBASE_SOURCE)
|
||||||
$(SED) "s/main()/main(void)/;" $(NETKITBASE_DIR)/configure
|
$(SED) "s/main()/main(void)/;" $(NETKITBASE_DIR)/configure
|
||||||
# don't try to run cross compiled binaries while configuring things
|
# don't try to run cross compiled binaries while configuring things
|
||||||
$(SED) "s~./__conftest~#./__conftest~;" $(NETKITBASE_DIR)/configure
|
$(SED) "s~./__conftest~#./__conftest~;" $(NETKITBASE_DIR)/configure
|
||||||
toolchain/patch-kernel.sh $(NETKITBASE_DIR) package/netkitbase/ netkitbase*.patch
|
toolchain/patch-kernel.sh $(NETKITBASE_DIR) package/netkitbase/ netkitbase\*.patch
|
||||||
touch $(NETKITBASE_DIR)/.unpacked
|
touch $(NETKITBASE_DIR)/.unpacked
|
||||||
|
|
||||||
$(NETKITBASE_DIR)/.configured: $(NETKITBASE_DIR)/.unpacked
|
$(NETKITBASE_DIR)/.configured: $(NETKITBASE_DIR)/.unpacked
|
||||||
|
|
|
@ -25,7 +25,7 @@ pciutils-source: $(DL_DIR)/$(PCIUTILS_SOURCE) $(DL_DIR)/$(PCIIDS_SOURCE)
|
||||||
$(PCIUTILS_DIR)/.unpacked: $(DL_DIR)/$(PCIUTILS_SOURCE) $(DL_DIR)/$(PCIIDS_SOURCE)
|
$(PCIUTILS_DIR)/.unpacked: $(DL_DIR)/$(PCIUTILS_SOURCE) $(DL_DIR)/$(PCIIDS_SOURCE)
|
||||||
$(PCIUTILS_CAT) $(DL_DIR)/$(PCIUTILS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
$(PCIUTILS_CAT) $(DL_DIR)/$(PCIUTILS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||||
$(PCIIDS_CAT) $(DL_DIR)/$(PCIIDS_SOURCE) > $(PCIUTILS_DIR)/pci.id
|
$(PCIIDS_CAT) $(DL_DIR)/$(PCIIDS_SOURCE) > $(PCIUTILS_DIR)/pci.id
|
||||||
toolchain/patch-kernel.sh $(PCIUTILS_DIR) package/pciutils pciutils*.patch
|
toolchain/patch-kernel.sh $(PCIUTILS_DIR) package/pciutils pciutils\*.patch
|
||||||
touch $(PCIUTILS_DIR)/.unpacked
|
touch $(PCIUTILS_DIR)/.unpacked
|
||||||
|
|
||||||
$(PCIUTILS_DIR)/.compiled: $(PCIUTILS_DIR)/.unpacked
|
$(PCIUTILS_DIR)/.compiled: $(PCIUTILS_DIR)/.unpacked
|
||||||
|
|
|
@ -16,7 +16,7 @@ $(DL_DIR)/$(PORTMAP_SOURCE):
|
||||||
|
|
||||||
$(PORTMAP_DIR)/.unpacked: $(DL_DIR)/$(PORTMAP_SOURCE)
|
$(PORTMAP_DIR)/.unpacked: $(DL_DIR)/$(PORTMAP_SOURCE)
|
||||||
$(PORTMAP_CAT) $(DL_DIR)/$(PORTMAP_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
$(PORTMAP_CAT) $(DL_DIR)/$(PORTMAP_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||||
toolchain/patch-kernel.sh $(PORTMAP_DIR) package/portmap/ portmap*.patch
|
toolchain/patch-kernel.sh $(PORTMAP_DIR) package/portmap/ portmap\*.patch
|
||||||
touch $(PORTMAP_DIR)/.unpacked
|
touch $(PORTMAP_DIR)/.unpacked
|
||||||
|
|
||||||
$(PORTMAP_DIR)/$(PORTMAP_BINARY): $(PORTMAP_DIR)/.unpacked
|
$(PORTMAP_DIR)/$(PORTMAP_BINARY): $(PORTMAP_DIR)/.unpacked
|
||||||
|
|
|
@ -15,7 +15,7 @@ $(DL_DIR)/$(PROCPS_SOURCE):
|
||||||
|
|
||||||
$(PROCPS_DIR)/.source: $(DL_DIR)/$(PROCPS_SOURCE)
|
$(PROCPS_DIR)/.source: $(DL_DIR)/$(PROCPS_SOURCE)
|
||||||
zcat $(DL_DIR)/$(PROCPS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
zcat $(DL_DIR)/$(PROCPS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||||
toolchain/patch-kernel.sh $(PROCPS_DIR) package/procps/ procps*.patch
|
toolchain/patch-kernel.sh $(PROCPS_DIR) package/procps/ procps\*.patch
|
||||||
$(SED) '/^CFLAGS/s:-O2:$(TARGET_CFLAGS):' $(PROCPS_DIR)/Makefile
|
$(SED) '/^CFLAGS/s:-O2:$(TARGET_CFLAGS):' $(PROCPS_DIR)/Makefile
|
||||||
touch $(PROCPS_DIR)/.source
|
touch $(PROCPS_DIR)/.source
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ $(PYTHON_DIR)/.unpacked: $(DL_DIR)/$(PYTHON_SOURCE)
|
||||||
touch $(PYTHON_DIR)/.unpacked
|
touch $(PYTHON_DIR)/.unpacked
|
||||||
|
|
||||||
$(PYTHON_DIR)/.patched: $(PYTHON_DIR)/.unpacked
|
$(PYTHON_DIR)/.patched: $(PYTHON_DIR)/.unpacked
|
||||||
toolchain/patch-kernel.sh $(PYTHON_DIR) package/python/ python*.patch
|
toolchain/patch-kernel.sh $(PYTHON_DIR) package/python/ python\*.patch
|
||||||
touch $(PYTHON_DIR)/.patched
|
touch $(PYTHON_DIR)/.patched
|
||||||
|
|
||||||
$(PYTHON_DIR)/.hostpython: $(PYTHON_DIR)/.patched
|
$(PYTHON_DIR)/.hostpython: $(PYTHON_DIR)/.patched
|
||||||
|
|
|
@ -16,7 +16,7 @@ $(DL_DIR)/$(RSYNC_SOURCE):
|
||||||
|
|
||||||
$(RSYNC_DIR)/.unpacked: $(DL_DIR)/$(RSYNC_SOURCE)
|
$(RSYNC_DIR)/.unpacked: $(DL_DIR)/$(RSYNC_SOURCE)
|
||||||
$(RSYNC_CAT) $(DL_DIR)/$(RSYNC_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
$(RSYNC_CAT) $(DL_DIR)/$(RSYNC_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||||
toolchain/patch-kernel.sh $(RSYNC_DIR) package/rsync/ rsync*.patch
|
toolchain/patch-kernel.sh $(RSYNC_DIR) package/rsync/ rsync\*.patch
|
||||||
touch $(RSYNC_DIR)/.unpacked
|
touch $(RSYNC_DIR)/.unpacked
|
||||||
|
|
||||||
$(RSYNC_DIR)/.configured: $(RSYNC_DIR)/.unpacked
|
$(RSYNC_DIR)/.configured: $(RSYNC_DIR)/.unpacked
|
||||||
|
|
|
@ -48,7 +48,7 @@ $(RXVT_DIR)/.configured: $(RXVT_DIR)/.unpacked
|
||||||
--x-includes=$(TINYX_DIR)/exports/include \
|
--x-includes=$(TINYX_DIR)/exports/include \
|
||||||
--x-libraries=$(TINYX_DIR)/exports/lib \
|
--x-libraries=$(TINYX_DIR)/exports/lib \
|
||||||
);
|
);
|
||||||
toolchain/patch-kernel.sh $(RXVT_DIR) package/rxvt/ rxvt*.patch
|
toolchain/patch-kernel.sh $(RXVT_DIR) package/rxvt/ rxvt\*.patch
|
||||||
touch $(RXVT_DIR)/.configured
|
touch $(RXVT_DIR)/.configured
|
||||||
|
|
||||||
$(RXVT_BINARY): $(RXVT_DIR)/.configured
|
$(RXVT_BINARY): $(RXVT_DIR)/.configured
|
||||||
|
|
|
@ -18,7 +18,7 @@ tar-source: $(DL_DIR)/$(GNUTAR_SOURCE)
|
||||||
|
|
||||||
$(GNUTAR_DIR)/.unpacked: $(DL_DIR)/$(GNUTAR_SOURCE)
|
$(GNUTAR_DIR)/.unpacked: $(DL_DIR)/$(GNUTAR_SOURCE)
|
||||||
$(GNUTAR_CAT) $(DL_DIR)/$(GNUTAR_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
$(GNUTAR_CAT) $(DL_DIR)/$(GNUTAR_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||||
toolchain/patch-kernel.sh $(GNUTAR_DIR) package/tar/ tar*.patch
|
toolchain/patch-kernel.sh $(GNUTAR_DIR) package/tar/ tar\*.patch
|
||||||
touch $(GNUTAR_DIR)/.unpacked
|
touch $(GNUTAR_DIR)/.unpacked
|
||||||
|
|
||||||
$(GNUTAR_DIR)/.configured: $(GNUTAR_DIR)/.unpacked
|
$(GNUTAR_DIR)/.configured: $(GNUTAR_DIR)/.unpacked
|
||||||
|
|
|
@ -13,7 +13,7 @@ $(DL_DIR)/$(TCL_SOURCE):
|
||||||
|
|
||||||
$(TCL_DIR)/.source: $(DL_DIR)/$(TCL_SOURCE)
|
$(TCL_DIR)/.source: $(DL_DIR)/$(TCL_SOURCE)
|
||||||
zcat $(DL_DIR)/$(TCL_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
zcat $(DL_DIR)/$(TCL_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||||
toolchain/patch-kernel.sh $(TCL_DIR) package/tcl/ tcl*.patch
|
toolchain/patch-kernel.sh $(TCL_DIR) package/tcl/ tcl\*.patch
|
||||||
touch $(TCL_DIR)/.source
|
touch $(TCL_DIR)/.source
|
||||||
|
|
||||||
$(TCL_DIR)/.configured: $(TCL_DIR)/.source
|
$(TCL_DIR)/.configured: $(TCL_DIR)/.source
|
||||||
|
|
|
@ -18,7 +18,7 @@ tftpd-source: $(DL_DIR)/$(TFTP_HPA_SOURCE)
|
||||||
|
|
||||||
$(TFTP_HPA_DIR)/.unpacked: $(DL_DIR)/$(TFTP_HPA_SOURCE)
|
$(TFTP_HPA_DIR)/.unpacked: $(DL_DIR)/$(TFTP_HPA_SOURCE)
|
||||||
$(TFTP_HPA_CAT) $(DL_DIR)/$(TFTP_HPA_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
$(TFTP_HPA_CAT) $(DL_DIR)/$(TFTP_HPA_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||||
toolchain/patch-kernel.sh $(TFTP_HPA_DIR) package/tftpd/ tftpd*.patch
|
toolchain/patch-kernel.sh $(TFTP_HPA_DIR) package/tftpd/ tftpd\*.patch
|
||||||
touch $(TFTP_HPA_DIR)/.unpacked
|
touch $(TFTP_HPA_DIR)/.unpacked
|
||||||
|
|
||||||
$(TFTP_HPA_DIR)/.configured: $(TFTP_HPA_DIR)/.unpacked
|
$(TFTP_HPA_DIR)/.configured: $(TFTP_HPA_DIR)/.unpacked
|
||||||
|
|
|
@ -65,7 +65,7 @@ $(DL_DIR)/$(TINYX_SOURCE):
|
||||||
#
|
#
|
||||||
$(TINYX_DIR)/.configure: $(DL_DIR)/$(TINYX_SOURCE)
|
$(TINYX_DIR)/.configure: $(DL_DIR)/$(TINYX_SOURCE)
|
||||||
$(TINYX_CAT) $(DL_DIR)/$(TINYX_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
$(TINYX_CAT) $(DL_DIR)/$(TINYX_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||||
toolchain/patch-kernel.sh $(TINYX_DIR) package/tinyx/ tinyx*.patch
|
toolchain/patch-kernel.sh $(TINYX_DIR) package/tinyx/ tinyx\*.patch
|
||||||
$(SED) 's:REPLACE_STAGING_DIR:$(STAGING_DIR):g' $(TINYX_CF)/cross.def
|
$(SED) 's:REPLACE_STAGING_DIR:$(STAGING_DIR):g' $(TINYX_CF)/cross.def
|
||||||
$(SED) 's:REPLACE_ARCH:$(ARCH):g' $(TINYX_CF)/cross.def
|
$(SED) 's:REPLACE_ARCH:$(ARCH):g' $(TINYX_CF)/cross.def
|
||||||
$(SED) 's:#define CcCmd.*:#define CcCmd $(TARGET_CROSS)gcc:g' $(TINYX_CF)/cross.def
|
$(SED) 's:#define CcCmd.*:#define CcCmd $(TARGET_CROSS)gcc:g' $(TINYX_CF)/cross.def
|
||||||
|
|
|
@ -20,7 +20,7 @@ $(DL_DIR)/$(UTIL-LINUX_PATCH):
|
||||||
$(UTIL-LINUX_DIR)/.unpacked: $(DL_DIR)/$(UTIL-LINUX_SOURCE) $(DL_DIR)/$(UTIL-LINUX_PATCH)
|
$(UTIL-LINUX_DIR)/.unpacked: $(DL_DIR)/$(UTIL-LINUX_SOURCE) $(DL_DIR)/$(UTIL-LINUX_PATCH)
|
||||||
$(UTIL-LINUX_CAT) $(DL_DIR)/$(UTIL-LINUX_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
$(UTIL-LINUX_CAT) $(DL_DIR)/$(UTIL-LINUX_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||||
$(UTIL-LINUX_CAT) $(DL_DIR)/$(UTIL-LINUX_PATCH) | patch -p1 -d $(UTIL-LINUX_DIR)
|
$(UTIL-LINUX_CAT) $(DL_DIR)/$(UTIL-LINUX_PATCH) | patch -p1 -d $(UTIL-LINUX_DIR)
|
||||||
toolchain/patch-kernel.sh $(UTIL-LINUX_DIR) package/util-linux/ util-linux*.patch
|
toolchain/patch-kernel.sh $(UTIL-LINUX_DIR) package/util-linux/ util-linux\*.patch
|
||||||
touch $(UTIL-LINUX_DIR)/.unpacked
|
touch $(UTIL-LINUX_DIR)/.unpacked
|
||||||
|
|
||||||
$(UTIL-LINUX_DIR)/.configured: $(UTIL-LINUX_DIR)/.unpacked
|
$(UTIL-LINUX_DIR)/.configured: $(UTIL-LINUX_DIR)/.unpacked
|
||||||
|
|
|
@ -16,7 +16,7 @@ $(VALGRIND_DIR)/.unpacked: $(DL_DIR)/$(VALGRIND_SOURCE)
|
||||||
touch $(VALGRIND_DIR)/.unpacked
|
touch $(VALGRIND_DIR)/.unpacked
|
||||||
|
|
||||||
$(VALGRIND_DIR)/.patched: $(VALGRIND_DIR)/.unpacked
|
$(VALGRIND_DIR)/.patched: $(VALGRIND_DIR)/.unpacked
|
||||||
toolchain/patch-kernel.sh $(VALGRIND_DIR) package/valgrind/ valgrind*.patch
|
toolchain/patch-kernel.sh $(VALGRIND_DIR) package/valgrind/ valgrind\*.patch
|
||||||
touch $(VALGRIND_DIR)/.patched
|
touch $(VALGRIND_DIR)/.patched
|
||||||
|
|
||||||
$(VALGRIND_DIR)/.configured: $(VALGRIND_DIR)/.patched
|
$(VALGRIND_DIR)/.configured: $(VALGRIND_DIR)/.patched
|
||||||
|
|
|
@ -21,7 +21,7 @@ vtun-source: $(DL_DIR)/$(VTUN_SOURCE)
|
||||||
$(VTUN_DIR)/.unpacked: $(DL_DIR)/$(VTUN_SOURCE)
|
$(VTUN_DIR)/.unpacked: $(DL_DIR)/$(VTUN_SOURCE)
|
||||||
$(VTUN_CAT) $(DL_DIR)/$(VTUN_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
$(VTUN_CAT) $(DL_DIR)/$(VTUN_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||||
mv $(BUILD_DIR)/vtun $(VTUN_DIR)
|
mv $(BUILD_DIR)/vtun $(VTUN_DIR)
|
||||||
toolchain/patch-kernel.sh $(VTUN_DIR) package/vtun/ vtun*.patch
|
toolchain/patch-kernel.sh $(VTUN_DIR) package/vtun/ vtun\*.patch
|
||||||
touch $(VTUN_DIR)/.unpacked
|
touch $(VTUN_DIR)/.unpacked
|
||||||
|
|
||||||
$(VTUN_DIR)/.configured: $(VTUN_DIR)/.unpacked
|
$(VTUN_DIR)/.configured: $(VTUN_DIR)/.unpacked
|
||||||
|
|
|
@ -40,7 +40,7 @@ $(DL_DIR)/$(XORG_SOURCE):
|
||||||
|
|
||||||
$(XORG_DIR)/.configure: $(DL_DIR)/$(XORG_SOURCE)
|
$(XORG_DIR)/.configure: $(DL_DIR)/$(XORG_SOURCE)
|
||||||
$(XORG_CAT) $(DL_DIR)/$(XORG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
$(XORG_CAT) $(DL_DIR)/$(XORG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||||
toolchain/patch-kernel.sh $(XORG_DIR) package/xorg/ xorg*.patch
|
toolchain/patch-kernel.sh $(XORG_DIR) package/xorg/ xorg\*.patch
|
||||||
$(SED) 's:REPLACE_STAGING_DIR:$(STAGING_DIR):g' $(XORG_CF)
|
$(SED) 's:REPLACE_STAGING_DIR:$(STAGING_DIR):g' $(XORG_CF)
|
||||||
$(SED) 's:REPLACE_ARCH:$(ARCH):g' $(XORG_CF)
|
$(SED) 's:REPLACE_ARCH:$(ARCH):g' $(XORG_CF)
|
||||||
$(SED) 's:#define CcCmd.*:#define CcCmd $(TARGET_CROSS)gcc:g' $(XORG_CF)
|
$(SED) 's:#define CcCmd.*:#define CcCmd $(TARGET_CROSS)gcc:g' $(XORG_CF)
|
||||||
|
|
|
@ -12,7 +12,7 @@ $(DL_DIR)/$(CRAMFS_SOURCE):
|
||||||
|
|
||||||
$(CRAMFS_DIR): $(DL_DIR)/$(CRAMFS_SOURCE)
|
$(CRAMFS_DIR): $(DL_DIR)/$(CRAMFS_SOURCE)
|
||||||
zcat $(DL_DIR)/$(CRAMFS_SOURCE) | tar -C $(BUILD_DIR) -xvf -
|
zcat $(DL_DIR)/$(CRAMFS_SOURCE) | tar -C $(BUILD_DIR) -xvf -
|
||||||
toolchain/patch-kernel.sh $(CRAMFS_DIR) target/cramfs/ cramfs*.patch
|
toolchain/patch-kernel.sh $(CRAMFS_DIR) target/cramfs/ cramfs\*.patch
|
||||||
|
|
||||||
$(CRAMFS_DIR)/mkcramfs: $(CRAMFS_DIR)
|
$(CRAMFS_DIR)/mkcramfs: $(CRAMFS_DIR)
|
||||||
$(MAKE) CFLAGS="-Wall -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" -C $(CRAMFS_DIR);
|
$(MAKE) CFLAGS="-Wall -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" -C $(CRAMFS_DIR);
|
||||||
|
|
|
@ -13,7 +13,7 @@ $(DL_DIR)/$(GENEXT2_SOURCE):
|
||||||
$(GENEXT2_DIR)/.unpacked: $(DL_DIR)/$(GENEXT2_SOURCE)
|
$(GENEXT2_DIR)/.unpacked: $(DL_DIR)/$(GENEXT2_SOURCE)
|
||||||
zcat $(DL_DIR)/$(GENEXT2_SOURCE) | tar -C $(BUILD_DIR) -xvf -
|
zcat $(DL_DIR)/$(GENEXT2_SOURCE) | tar -C $(BUILD_DIR) -xvf -
|
||||||
mv $(GENEXT2_DIR).orig $(GENEXT2_DIR)
|
mv $(GENEXT2_DIR).orig $(GENEXT2_DIR)
|
||||||
toolchain/patch-kernel.sh $(GENEXT2_DIR) target/ext2/ genext2fs*.patch
|
toolchain/patch-kernel.sh $(GENEXT2_DIR) target/ext2/ genext2fs\*.patch
|
||||||
touch $(GENEXT2_DIR)/.unpacked
|
touch $(GENEXT2_DIR)/.unpacked
|
||||||
|
|
||||||
$(GENEXT2_DIR)/.configured: $(GENEXT2_DIR)/.unpacked
|
$(GENEXT2_DIR)/.configured: $(GENEXT2_DIR)/.unpacked
|
||||||
|
|
|
@ -12,7 +12,7 @@ $(DL_DIR)/$(SQUASHFS_SOURCE):
|
||||||
|
|
||||||
$(SQUASHFS_DIR)/.unpacked: $(DL_DIR)/$(SQUASHFS_SOURCE) #$(SQUASHFS_PATCH)
|
$(SQUASHFS_DIR)/.unpacked: $(DL_DIR)/$(SQUASHFS_SOURCE) #$(SQUASHFS_PATCH)
|
||||||
zcat $(DL_DIR)/$(SQUASHFS_SOURCE) | tar -C $(BUILD_DIR) -xvf -
|
zcat $(DL_DIR)/$(SQUASHFS_SOURCE) | tar -C $(BUILD_DIR) -xvf -
|
||||||
toolchain/patch-kernel.sh $(SQUASHFS_DIR) target/squashfs/ squashfs.patch
|
toolchain/patch-kernel.sh $(SQUASHFS_DIR) target/squashfs/ squashfs\*.patch
|
||||||
touch $(SQUASHFS_DIR)/.unpacked
|
touch $(SQUASHFS_DIR)/.unpacked
|
||||||
|
|
||||||
$(SQUASHFS_DIR)/squashfs-tools/mksquashfs: $(SQUASHFS_DIR)/.unpacked
|
$(SQUASHFS_DIR)/squashfs-tools/mksquashfs: $(SQUASHFS_DIR)/.unpacked
|
||||||
|
|
|
@ -87,7 +87,7 @@ endif
|
||||||
touch $(LINUX_HEADERS_DIR)/.unpacked
|
touch $(LINUX_HEADERS_DIR)/.unpacked
|
||||||
|
|
||||||
$(LINUX_HEADERS_DIR)/.patched: $(LINUX_HEADERS_DIR)/.unpacked
|
$(LINUX_HEADERS_DIR)/.patched: $(LINUX_HEADERS_DIR)/.unpacked
|
||||||
toolchain/patch-kernel.sh $(LINUX_HEADERS_DIR) toolchain/kernel-headers linux-libc-headers-$(LINUX_VERSION)-\*.patch
|
toolchain/patch-kernel.sh $(LINUX_HEADERS_DIR) toolchain/kernel-headers linux-libc-headers-$(LINUX_VERSION)\*.patch
|
||||||
touch $(LINUX_HEADERS_DIR)/.patched
|
touch $(LINUX_HEADERS_DIR)/.patched
|
||||||
|
|
||||||
$(LINUX_HEADERS_DIR)/.configured: $(LINUX_HEADERS_DIR)/.patched
|
$(LINUX_HEADERS_DIR)/.configured: $(LINUX_HEADERS_DIR)/.patched
|
||||||
|
|
|
@ -47,7 +47,7 @@ $(DL_DIR)/$(UCLIBC_SOURCE):
|
||||||
$(UCLIBC_DIR)/.unpacked: $(DL_DIR)/$(UCLIBC_SOURCE)
|
$(UCLIBC_DIR)/.unpacked: $(DL_DIR)/$(UCLIBC_SOURCE)
|
||||||
mkdir -p $(TOOL_BUILD_DIR)
|
mkdir -p $(TOOL_BUILD_DIR)
|
||||||
bzcat $(DL_DIR)/$(UCLIBC_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
|
bzcat $(DL_DIR)/$(UCLIBC_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
|
||||||
toolchain/patch-kernel.sh $(UCLIBC_DIR) toolchain/uClibc/ *.patch
|
toolchain/patch-kernel.sh $(UCLIBC_DIR) toolchain/uClibc/ \*.patch
|
||||||
touch $(UCLIBC_DIR)/.unpacked
|
touch $(UCLIBC_DIR)/.unpacked
|
||||||
|
|
||||||
$(UCLIBC_DIR)/.configured: $(UCLIBC_DIR)/.unpacked
|
$(UCLIBC_DIR)/.configured: $(UCLIBC_DIR)/.unpacked
|
||||||
|
|
Loading…
Reference in a new issue