Project import
diff --git a/busybox-1.19.3/Makefile b/busybox-1.19.3/Makefile
new file mode 100644
index 0000000..c0ff34c
--- /dev/null
+++ b/busybox-1.19.3/Makefile
@@ -0,0 +1,93 @@
+#
+#    Copyright (c) 2010-2011 Nest, Inc.
+#    All rights reserved.
+#
+#    This document is the property of Nest. It is considered
+#    confidential and proprietary information.
+#
+#    This document may not be reproduced or transmitted in any form,
+#    in whole or in part, without the express written permission of
+#    Nest.
+#
+#    Description:
+#      This file is the makefile for embedded Linux "Swiss Army Knife"
+#      application, BusyBox.
+#
+
+include pre.mak
+
+PackageName		:= busybox
+
+PackageExtension	:= tar.bz2
+PackageSeparator	:= -
+
+PackagePatchArgs	:= -p1
+
+PackageArchive		:= $(PackageName).$(PackageExtension)
+PackageSourceDir	:= $(PackageName)$(PackageSeparator)$(PackageVersion)
+
+PackageBuildMakefile	= $(call GenerateBuildPaths,Makefile)
+
+CleanPaths		+= $(PackageLicenseFile)
+
+all: $(PackageDefaultGoal)
+
+# Generate the package license contents.
+
+$(PackageSourceDir)/LICENSE: source
+
+$(PackageLicenseFile): $(PackageSourceDir)/LICENSE
+	$(copy-result)
+
+# Extract the source from the archive and apply patches, if any.
+
+$(PackageSourceDir): $(PackageArchive) $(PackagePatchPaths)
+	$(expand-and-patch-package)
+
+# Prepare the sources.
+
+.PHONY: source
+source: | $(PackageSourceDir)
+
+# Patch the sources, if necessary.
+
+.PHONY: patch
+patch: source
+
+# BusyBox has no way of explicitly setting CC, LD, OBJCOPY, et al and
+# instead relies on the value of CROSS_COMPILE. Consequently, we have
+# to ensure that 'ToolBinDir' is in 'PATH' so that the kernel build
+# infrastructure can find $(CROSS_COMPILE)gcc, $(CROSS_COMPILE)ld, et
+# al.
+
+configure build stage: PATH := $(PATH):$(ToolBinDir)
+
+# Generate the package build makefile and default configuration based
+# on the build configuration.
+
+$(PackageBuildMakefile): $(CURDIR)/configs/$(BuildConfig)_defconfig | $(PackageSourceDir) $(BuildDirectory)
+	$(Verbose)$(MAKE) -C $(PackageSourceDir) O=$(CURDIR)/$(BuildDirectory) $<
+
+# Configure the source for building.
+
+.PHONY: configure
+configure: source $(PackageBuildMakefile)
+
+# Build the source.
+
+.PHONY: build
+build: configure
+	$(Verbose)$(MAKE) -C $(BuildDirectory) busybox
+
+# Stage the build to a temporary installation area.
+
+.PHONY: stage
+stage: build | $(ResultDirectory)
+	$(Verbose)$(MAKE) -C $(BuildDirectory) CONFIG_PREFIX=$(ResultDirectory) install
+
+clean:
+	$(Verbose)$(RM) $(RMFLAGS) -r $(PackageSourceDir)
+	$(Verbose)$(RM) $(RMFLAGS) -r $(BuildDirectory)
+	$(Verbose)$(RM) $(RMFLAGS) -r $(ResultDirectory)
+
+include post.mak
diff --git a/busybox-1.19.3/busybox.patches.tar.gz b/busybox-1.19.3/busybox.patches.tar.gz
new file mode 100644
index 0000000..f97ca72
--- /dev/null
+++ b/busybox-1.19.3/busybox.patches.tar.gz
Binary files differ
diff --git a/busybox-1.19.3/busybox.tar.bz2 b/busybox-1.19.3/busybox.tar.bz2
new file mode 100644
index 0000000..34a1a92
--- /dev/null
+++ b/busybox-1.19.3/busybox.tar.bz2
Binary files differ
diff --git a/busybox-1.19.3/busybox.url b/busybox-1.19.3/busybox.url
new file mode 100644
index 0000000..194e9ca
--- /dev/null
+++ b/busybox-1.19.3/busybox.url
@@ -0,0 +1 @@
+http://busybox.net/downloads/busybox-1.19.3.tar.bz2
diff --git a/busybox-1.19.3/busybox.version b/busybox-1.19.3/busybox.version
new file mode 100644
index 0000000..1b92e58
--- /dev/null
+++ b/busybox-1.19.3/busybox.version
@@ -0,0 +1 @@
+1.19.3