From f3cbe9a8bb1a988aaa71596aad4a4d2ac2050f96 Mon Sep 17 00:00:00 2001
From: Marc Singer <elf@buici.com>
Date: Sat, 28 Jun 2008 15:35:24 -0700
Subject: [PATCH] Fixed removal of debian/ directory due to naive implementation of packaging cleanup.
 Removed reference out-dated configuration file used to define functions in
 the configuration and pass them to the build.

---
 scripts/package/Makefile   |    3 ++-
 src/apex/cmd-boot.c        |    1 -
 src/mach-lh7a40x/cmd-spi.c |    1 -
 3 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/scripts/package/Makefile b/scripts/package/Makefile
index 5e32607..ed8b391 100644
--- a/scripts/package/Makefile
+++ b/scripts/package/Makefile
@@ -74,7 +74,8 @@ deb-pkg: FORCE
 	$(MAKE) KBUILD_SRC=
 	$(CONFIG_SHELL) $(srctree)/scripts/package/builddeb
 
-clean-dirs += $(objtree)/debian/
+# *** elf: removed because it clobbers our Debian files.
+#clean-dirs += $(objtree)/debian/
 
 
 # tarball targets
diff --git a/src/apex/cmd-boot.c b/src/apex/cmd-boot.c
index b8348ee..6bf47d9 100644
--- a/src/apex/cmd-boot.c
+++ b/src/apex/cmd-boot.c
@@ -26,7 +26,6 @@
 #include <command.h>
 #include <error.h>
 #include <linux/kernel.h>
-#include <configfunc.h>
 #include <environment.h>
 #include <service.h>
 #include <lookup.h>
diff --git a/src/mach-lh7a40x/cmd-spi.c b/src/mach-lh7a40x/cmd-spi.c
index f77164e..74587f7 100644
--- a/src/mach-lh7a40x/cmd-spi.c
+++ b/src/mach-lh7a40x/cmd-spi.c
@@ -26,7 +26,6 @@
 #include <command.h>
 #include <error.h>
 #include <linux/kernel.h>
-#include <configfunc.h>
 #include <environment.h>
 #include <service.h>
 #include <lookup.h>
-- 
1.5.6.5

