diff options
Diffstat (limited to 'fpart')
-rw-r--r-- | fpart/Makefile | 34 | ||||
-rw-r--r-- | fpart/Rules.mk | 54 | ||||
-rw-r--r-- | fpart/Rules.test.mk | 49 | ||||
-rw-r--r-- | fpart/ppc/Makefile | 33 | ||||
-rw-r--r-- | fpart/x86/Makefile | 31 |
5 files changed, 0 insertions, 201 deletions
diff --git a/fpart/Makefile b/fpart/Makefile deleted file mode 100644 index afda672..0000000 --- a/fpart/Makefile +++ /dev/null @@ -1,34 +0,0 @@ -# IBM_PROLOG_BEGIN_TAG -# This is an automatically generated prolog. -# -# $Source: fpart/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/fpart/Rules.mk b/fpart/Rules.mk deleted file mode 100644 index 11a26fa..0000000 --- a/fpart/Rules.mk +++ /dev/null @@ -1,54 +0,0 @@ -# IBM_PROLOG_BEGIN_TAG -# This is an automatically generated prolog. -# -# $Source: fpart/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)/.. -iquote.. - -LDFLAGS += -L. - -NAME=fpart - -CLIB=$(DEPTH)/../clib/x86/libclib.a -FFS=$(DEPTH)/../ffs/x86/libffs.a - -OBJS=cmd_create.o cmd_add.o cmd_delete.o cmd_list.o \ - cmd_erase.o cmd_trunc.o cmd_user.o command.o main.o - -TARGETS=$(NAME) - -vpath %.c ../src -vpath %.h .. - -all: $(TARGETS) - -$(NAME): $(OBJS) $(FFS) $(DBGX) $(SPINOR) $(CLIB) - $(CC) $(LDFLAGS) -Wl,-whole-archive $(DBGX) -Wl,-no-whole-archive \ - -o $@ $^ -lpthread -ldl -lrt - -install: $(TARGETS) - $(INSTALL) fpart $(FPART_INSTALL)/bin - $(INSTALL) ../fpart.sh $(FPART_INSTALL_TEST) - -clean distclean: - $(RM) -f $(TARGETS) $(OBJS) diff --git a/fpart/Rules.test.mk b/fpart/Rules.test.mk deleted file mode 100644 index 2b93477..0000000 --- a/fpart/Rules.test.mk +++ /dev/null @@ -1,49 +0,0 @@ -# IBM_PROLOG_BEGIN_TAG -# This is an automatically generated prolog. -# -# $Source: fpart/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/fpart/ppc/Makefile b/fpart/ppc/Makefile deleted file mode 100644 index 4dccb3d..0000000 --- a/fpart/ppc/Makefile +++ /dev/null @@ -1,33 +0,0 @@ -# IBM_PROLOG_BEGIN_TAG -# This is an automatically generated prolog. -# -# $Source: fpart/ppc/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 = ../../.. -include $(DEPTH)/integration/Rules.mk -include $(DEPTH)/integration/Rules.ppc.mk - -ARCH=ppc -FPART_INSTALL = $(INST_USR) -FPART_INSTALL_TEST = $(INST_TESTS) - -include ../Rules.mk diff --git a/fpart/x86/Makefile b/fpart/x86/Makefile deleted file mode 100644 index 104532b..0000000 --- a/fpart/x86/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -# IBM_PROLOG_BEGIN_TAG -# This is an automatically generated prolog. -# -# $Source: fpart/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 -FPART_INSTALL = $(INST_USR_X86) -FPART_INSTALL_TEST = $(INST_TESTS_X86) - -include ../Rules.mk |