summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2011-01-10 20:08:35 -0600
committerPatrick Williams <iawillia@us.ibm.com>2011-01-10 20:08:35 -0600
commit0ed98fe3e194819981095fe55e2b5a37e37a7a04 (patch)
tree98dd7e3ab5600113178b94c2cf1536722de92ea2 /src/usr
parentfaa71280d086246c685a23f2acb2330981253f8c (diff)
downloadtalos-hostboot-0ed98fe3e194819981095fe55e2b5a37e37a7a04.tar.gz
talos-hostboot-0ed98fe3e194819981095fe55e2b5a37e37a7a04.zip
Makefile cleanups.
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/example/makefile11
-rw-r--r--src/usr/makefile4
2 files changed, 1 insertions, 14 deletions
diff --git a/src/usr/example/makefile b/src/usr/example/makefile
index 73642a088..16df1e37d 100644
--- a/src/usr/example/makefile
+++ b/src/usr/example/makefile
@@ -1,16 +1,7 @@
ROOTPATH = ../../..
-OBJDIR = ${ROOTPATH}/obj/modules/example
-IMGDIR = ${ROOTPATH}/img
-EXTRACOMMONFLAGS = -fPIC
+MODULE = example
OBJS = example.o
-OBJECTS = $(addprefix ${OBJDIR}/, ${OBJS})
LIBS = libexample.so
-LIBRARIES = $(addprefix ${IMGDIR}/, ${LIBS})
-
-all: ${OBJECTS} ${LIBRARIES}
-
-clean:
- (rm -f ${OBJECTS} $(addsuffix .hash, ${OBJECTS}) ${LIBRARIES} )
include ${ROOTPATH}/config.mk
diff --git a/src/usr/makefile b/src/usr/makefile
index 13071f2ad..609815f94 100644
--- a/src/usr/makefile
+++ b/src/usr/makefile
@@ -2,8 +2,4 @@ ROOTPATH = ../..
SUBDIRS = example.d
-all: ${SUBDIRS}
-
-clean: $(patsubst %.d,%.clean, ${SUBDIRS})
-
include ${ROOTPATH}/config.mk
OpenPOWER on IntegriCloud