Commit 0fee9e90 authored by Eric Andersen's avatar Eric Andersen
Browse files

Thomas Cameron writes:

this patch fixes the source file downloads when executing a "make source", and
a few cut-and-paste (tm) errors in the *.mk files.  Again, this is a patch
against the current CVS sources, and includes my previous patch.
parent e150f392
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@ BINUTILS_DIR:=$(TOOL_BUILD_DIR)/binutils-2.14.90.0.6
BINUTILS_CAT:=bzcat

BINUTILS_DIR1:=$(TOOL_BUILD_DIR)/binutils-build

$(DL_DIR)/$(BINUTILS_SOURCE):
	$(WGET) -P $(DL_DIR) $(BINUTILS_SITE)/$(BINUTILS_SOURCE)

@@ -98,6 +99,8 @@ $(STAGING_DIR)/lib/libg.a:

binutils: $(STAGING_DIR)/$(GNU_TARGET_NAME)/bin/ld $(STAGING_DIR)/lib/libg.a

binutils-source: $(DL_DIR)/$(BINUTILS_SOURCE)

binutils-clean:
	rm -f $(STAGING_DIR)/bin/$(GNU_TARGET_NAME)*
	-$(MAKE) -C $(BINUTILS_DIR1) clean
@@ -198,7 +201,3 @@ binutils_target-clean:
binutils_target-dirclean:
	rm -rf $(BINUTILS_DIR2)



+2 −0
Original line number Diff line number Diff line
@@ -45,6 +45,8 @@ $(BOA_WORKDIR)/.installed: $(BOA_WORKDIR)/boa $(BOA_WORKDIR)/boa_indexer

boa:	uclibc $(BOA_WORKDIR)/.installed

boa-source: $(DL_DIR)/$(BOA_SOURCE)

boa-clean:
	@if [ -d $(BOA_WORKDIR)/Makefile ] ; then \
		$(MAKE) -C $(BOA_WORKDIR) clean ; \
+2 −0
Original line number Diff line number Diff line
@@ -48,6 +48,8 @@ $(TARGET_DIR)/sbin/brctl: $(BRIDGE_BUILD_DIR)/brctl/brctl

bridge: $(TARGET_DIR)/sbin/brctl 

bridge-source: $(DL_DIR)/$(BRIDGE_SOURCE)

bridge-clean:
	$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(BRIDGE_BUILD_DIR) uninstall
	-$(MAKE) -C $(BRIDGE_BUILD_DIR) clean
+2 −0
Original line number Diff line number Diff line
@@ -61,6 +61,8 @@ $(TARGET_DIR)/$(CCACHE_TARGET_BINARY): $(CCACHE_DIR2)/$(CCACHE_BINARY)

ccache_target: uclibc $(TARGET_DIR)/$(CCACHE_TARGET_BINARY)

ccache_target-sources: $(DL_DIR)/$(CCACHE_SOURCE)

ccache_target-clean:
	$(MAKE) DESTDIR=$(TARGET_DIR) -C $(CCACHE_DIR2) uninstall
	-$(MAKE) -C $(CCACHE_DIR2) clean
+3 −4
Original line number Diff line number Diff line
@@ -42,12 +42,11 @@ cramfsroot: cramfs
	@rm -rf $(TARGET_DIR)/usr/info
	$(CRAMFS_DIR)/mkcramfs -q -D $(SOURCE_DIR)/device_table.txt $(TARGET_DIR) $(IMAGE)

cramfsroot-source: $(DL_DIR)/$(GENEXT2_SOURCE)
cramfsroot-source: cramfs-source

cramfsroot-clean:
	-$(MAKE) -C $(GENEXT2_DIR) clean
	-$(MAKE) -C $(CRAMFS_DIR) clean

cramfsroot-dirclean:
	rm -rf $(GENEXT2_DIR)

	rm -rf $(CRAMFS_DIR)
Loading