diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-12-15 17:59:19 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-12-15 18:43:23 +1100 |
commit | 799ef76e460a71ab27280fc7cb7a9e259cef2b7b (patch) | |
tree | 80e68069b2091bb568b1748d7e7f8ec0919e5a13 /ffs | |
parent | 58cc12860727eb2a3c6c8b535c269abee9b2c7fc (diff) | |
download | ffs-799ef76e460a71ab27280fc7cb7a9e259cef2b7b.tar.gz ffs-799ef76e460a71ab27280fc7cb7a9e259cef2b7b.zip |
Move to autotools
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'ffs')
-rw-r--r-- | ffs/Makefile | 34 | ||||
-rw-r--r-- | ffs/Rules.mk | 54 | ||||
-rw-r--r-- | ffs/Rules.test.mk | 49 | ||||
-rw-r--r-- | ffs/x86/Makefile | 31 |
4 files changed, 0 insertions, 168 deletions
diff --git a/ffs/Makefile b/ffs/Makefile deleted file mode 100644 index b47320f..0000000 --- a/ffs/Makefile +++ /dev/null @@ -1,34 +0,0 @@ -# IBM_PROLOG_BEGIN_TAG -# This is an automatically generated prolog. -# -# $Source: ffs/Makefile $ -# -# OpenPOWER FFS Project -# -# Contributors Listed Below - COPYRIGHT 2014,2015 -# [+] International Business Machines Corp. -# -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or -# implied. See the License for the specific language governing -# permissions and limitations under the License. -# -# IBM_PROLOG_END_TAG -SUBDIRS=x86 - -.PHONY: subdirs $(SUBDIRS) - -subdirs: $(SUBDIRS) - -$(SUBDIRS):: - $(MAKE) -C $@ $(MAKECMDGOALS) - -all clean install: $(SUBDIRS) diff --git a/ffs/Rules.mk b/ffs/Rules.mk deleted file mode 100644 index c014ffa..0000000 --- a/ffs/Rules.mk +++ /dev/null @@ -1,54 +0,0 @@ -# IBM_PROLOG_BEGIN_TAG -# This is an automatically generated prolog. -# -# $Source: ffs/Rules.mk $ -# -# OpenPOWER FFS Project -# -# Contributors Listed Below - COPYRIGHT 2014,2015 -# [+] International Business Machines Corp. -# -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or -# implied. See the License for the specific language governing -# permissions and limitations under the License. -# -# IBM_PROLOG_END_TAG -CFLAGS += -D_GNU_SOURCE -std=gnu99 -D_FILE_OFFSET_BITS=64 -CFLAGS += -I$(DEPTH)/.. -I$(DEPTH)/boot/fsp2_ipl -iquote.. -fPIC - -LDFLAGS += -L. - -NAME=libffs - -CLIB=$(DEPTH)/../clib/x86/libclib.a - -OBJS=$(NAME).o $(NAME)2.o - -TARGETS=$(NAME).so $(NAME).a - -vpath %.c ../src -vpath %.h .. - -all: $(TARGETS) - -$(NAME).so: $(OBJS) - $(CC) $(LDFLAGS) -shared -Wl,-soname,$@ -o $@ $^ - -$(NAME).a: $(OBJS) - $(AR) -r $@ $^ - -install: $(TARGETS) - $(INSTALL) libffs.so libffs.a $(FFS_INSTALL)/lib - $(INSTALL) ../ffs.h ../libffs.h ../libffs2.h $(FFS_INSTALL)/include - -clean distclean: - $(RM) -f $(TARGETS) $(OBJS) diff --git a/ffs/Rules.test.mk b/ffs/Rules.test.mk deleted file mode 100644 index cedeb3e..0000000 --- a/ffs/Rules.test.mk +++ /dev/null @@ -1,49 +0,0 @@ -# IBM_PROLOG_BEGIN_TAG -# This is an automatically generated prolog. -# -# $Source: ffs/Rules.test.mk $ -# -# OpenPOWER FFS Project -# -# Contributors Listed Below - COPYRIGHT 2014,2015 -# [+] International Business Machines Corp. -# -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or -# implied. See the License for the specific language governing -# permissions and limitations under the License. -# -# IBM_PROLOG_END_TAG -CFLAGS += -D_GNU_SOURCE -std=gnu99 -D_FILE_OFFSET_BITS=64 -I$(DEPTH)/apps -iquote.. -LDFLAGS += -L. -L$(DEPTH)/apps/clib/$(ARCH_DEP_DIR) - -OBJS=test_libffs.o - -TARGETS=test_libffs - -vpath %.c ../test -vpath %.h .. - -all: $(TARGETS) - -#libffs.a: $(OBJS) -# $(AR) -r $@ $^ - -test_libffs: test_libffs.o ../ppc/libffs.a $(DEPTH)/apps/clib/$(ARCH_DEP_DIR)/libclib.a - $(CC) $(LDFLAGS) -o $@ $^ -lpthread - -install: $(TARGETS) - $(INSTALL) ../test/test_libffs $(TEST_LIBFFS_INSTALL) - $(INSTALL) ../test/libffs_test.sh $(TEST_LIBFFS_INSTALL) - $(INSTALL) ../test/ffs_tool_test.sh $(TEST_LIBFFS_INSTALL) - -clean distclean: - $(RM) -f $(TARGETS) $(OBJS) diff --git a/ffs/x86/Makefile b/ffs/x86/Makefile deleted file mode 100644 index 025c50e..0000000 --- a/ffs/x86/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -# IBM_PROLOG_BEGIN_TAG -# This is an automatically generated prolog. -# -# $Source: ffs/x86/Makefile $ -# -# OpenPOWER FFS Project -# -# Contributors Listed Below - COPYRIGHT 2014,2015 -# [+] International Business Machines Corp. -# -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or -# implied. See the License for the specific language governing -# permissions and limitations under the License. -# -# IBM_PROLOG_END_TAG -DEPTH = .. - -ARCH=x86 -FFS_INSTALL = $(INST_USR_X86) -FFS_INSTALL_TEST = $(INST_TESTS_X86) - -include ../Rules.mk |