diff options
author | Jon Nelson <jnelson@securepipe.com> | 2002-01-05 20:06:55 +0000 |
---|---|---|
committer | Jon Nelson <jnelson@securepipe.com> | 2002-01-05 20:06:55 +0000 |
commit | 4d1404f76fd9614ea1f7a9ad16596f0743ce7e53 (patch) | |
tree | ded40165759015e18d1bf08fdb9879baaf25b175 /busybox.mk | |
parent | 412b1b0c45770173dedf86f201d083e5cdd63a10 (diff) | |
download | buildroot-novena-4d1404f76fd9614ea1f7a9ad16596f0743ce7e53.tar.gz buildroot-novena-4d1404f76fd9614ea1f7a9ad16596f0743ce7e53.zip |
General cleanup of boa.mk and busybox.mk
Diffstat (limited to 'busybox.mk')
-rw-r--r-- | busybox.mk | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/busybox.mk b/busybox.mk index 5d0ed241d..c784ae93e 100644 --- a/busybox.mk +++ b/busybox.mk @@ -3,13 +3,15 @@ TARGETS_CLEAN += busybox_clean TARGETS_MRPROPER += busybox_mrproper TARGETS_DISTCLEAN += busybox_distclean +BUSYBOX_VERSION=0.60.2 + # Don't alter below this line unless you (think) you know # what you are doing! Danger, Danger! +BUSYBOX_URI=http://www.busybox.net/downloads/ +BUSYBOX_SOURCE=busybox-$(BUSYBOX_VERSION).tar.gz BUSYBOX_DIR=$(BASE_DIR)/${shell basename $(BUSYBOX_SOURCE) .tar.gz} BUSYBOX_WORKDIR=$(BASE_DIR)/busybox_workdir -BUSYBOX_URI=http://www.busybox.net/downloads/ -BUSYBOX_SOURCE=busybox-0.60.2.tar.gz IMAGE_SIZE += +500 @@ -38,18 +40,14 @@ $(BUSYBOX_WORKDIR)/.config: $(BUSYBOX_DIR)/.unpacked $(BUSYBOX_WORKDIR)/Config.h touch $(BUSYBOX_WORKDIR)/.config -$(BUSYBOX_WORKDIR)/busybox: uclibc $(BUSYBOX_WORKDIR)/.config +$(BUSYBOX_WORKDIR)/busybox: $(TARGET_CC) $(BUSYBOX_WORKDIR)/.config make CROSS="$(TARGET_CROSS)" -C $(BUSYBOX_WORKDIR) $(TARGET_DIR)/bin/busybox: $(BUSYBOX_WORKDIR)/busybox - @A=`cksum $(TARGET_DIR)/bin/busybox 2>/dev/null | awk '{ print $$1 }'`; \ - B=`cksum $(BUSYBOX_WORKDIR)/busybox 2>/dev/null | awk '{ print $$1 }'`; \ - if [ "$$A" != "$$B" ] ; then \ - make CROSS="$(TARGET_CROSS)" PREFIX=$(TARGET_DIR) \ - -C $(BUSYBOX_WORKDIR) install; \ - fi; + make CROSS="$(TARGET_CROSS)" PREFIX=$(TARGET_DIR) \ + -C $(BUSYBOX_WORKDIR) install -busybox: uclibc $(TARGET_DIR)/bin/busybox +busybox: $(TARGET_DIR)/bin/busybox busybox_clean: @if [ -d $(BUSYBOX_WORKDIR)/Makefile ] ; then \ |