| File: boot/busybox/Makefile | |
|---|---|
| lnx-bbc--stable--2.1--patch-38 | lnx-bbc--research--0.0--patch-33 |
| Line 1 | Line 1 |
| GARNAME = busybox | GARNAME = busybox |
| GARVERSION = 0.60.3 | GARVERSION = 1.00-pre8 |
| CATEGORIES = boot MASTER_SITES = http://www.busybox.net/downloads/ | CATEGORIES = boot MASTER_SITES = http://www.busybox.net/downloads/ |
| DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz | DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz bbc-config |
| PATCHFILES = gar-base.diff MAINTAINER = Seth Schoen <schoen@loyalty.org> LICENSE = GPL2 | PATCHFILES = gar-base.diff MAINTAINER = Seth Schoen <schoen@loyalty.org> LICENSE = GPL2 |
| DESCRIPTION = Many standard tools in a small binary. | DESCRIPTION = |
| define BLURB | define BLURB |
| BusyBox combines tiny versions of many common UNIX utilities into a single small executable. It provides replacements for most of the utilities you usually find in GNU fileutils, shellutils, etc. BusyBox provides a fairly complete environment for any small or embedded system. | Enter a longer description here. You can use multiple lines if you want. |
| endef | endef |
| # Dependencies are of the form categorydir/packagedir LIBDEPS = lib/uclibc DEPENDS = BUILDDEPS = | SOURCE_LANGUAGES = c |
| PREFIX=$(prefix) | PREFIX=$(prefix) |
| # CONFIGURE_SCRIPTS = $(WORKSRC)/configure BUILD_SCRIPTS = $(WORKSRC)/Makefile INSTALL_SCRIPTS = $(WORKSRC)/Makefile CONFIGURE_ARGS = $(DIRPATHS) NODIRPATHS = | CONFIGURE_SCRIPTS = $(WORKSRC)/Makefile CONFIGURE_ARGS = oldconfig TARGET_ARCH=$(GARCH) |
| BUILD_ARGS = CC=$(DESTDIR)$(prefix)/i386-linux-uclibc/bin/i386-uclibc-gcc LD=$(DESTDIR)$(prefix)/i386-linux-uclibc/bin/i386-uclibc-ld DOSTATIC=true INSTALL_ARGS = CC=$(DESTDIR)$(prefix)/i386-linux-uclibc/bin/i386-uclibc-gcc LD=$(DESTDIR)$(prefix)/i386-linux-uclibc/bin/i386-uclibc-ld DOSTATIC=true # If some dirs are trying to install into /, list their names # here, such as: prefix bindir mandir | BUILD_SCRIPTS = $(WORKSRC)/Makefile BUILD_ARGS = CC=$(CC) HOSTCC=$(build_CC) LD=$(LD) TARGET_ARCH=$(GARCH) |
| INSTALL_SCRIPTS = $(WORKSRC)/Makefile | |
| INSTALL_OVERRIDE_DIRS = PREFIX # This should go before any hand-made rules. include ../../gar.mk | INSTALL_OVERRIDE_DIRS = PREFIX # This should go before any hand-made rules. include ../../gar.mk |
| extract-bbc-config: cat $(DOWNLOADDIR)/bbc-config |\ sed -e 's,@CROSS_COMPILING@,$(if $(filter $(GARBUILD),$(GARHOST)),n,y),' |\ sed -e 's,@CFLAGS@,$(CFLAGS),' \ > $(EXTRACTDIR)/$(DISTNAME)/.config $(MAKECOOKIE) | |
| # *** override because we want to use ONLY uclibc libraries and not ordinary # glibc; if you use ordinary CFLAGS, you will bring in glibc, which will # cause trouble here | # *** override because we want to use ONLY uclibc libraries and not ordinary # glibc; if you use ordinary CFLAGS, you will bring in glibc, which will # cause trouble here |
| CFLAGS = -static -I$(DESTDIR)$(prefix)/i386-linux-uclibc/include LDFLAGS = -L$(DESTDIR)/$(prefix)/i386-linux-uclibc/lib | #CFLAGS = -static -I$(build_prefix)/i386-linux-uclibc/include #LDFLAGS = -L$(build_prefix)/i386-linux-uclibc/lib |