diff options
author | Glenn Miles <milesg@us.ibm.com> | 2015-02-18 13:54:50 -0600 |
---|---|---|
committer | Derk Rembold <rembold@de.ibm.com> | 2015-02-19 09:45:49 -0600 |
commit | f7a56090b73768f8fec063e41aba12662ee59a45 (patch) | |
tree | d2373137870269e93d215ba65319ad1af4b131c3 /pk/kernel/Makefile | |
parent | d84a1393ddec82dda67207a6f21edb5153877b5a (diff) | |
download | talos-sbe-f7a56090b73768f8fec063e41aba12662ee59a45.tar.gz talos-sbe-f7a56090b73768f8fec063e41aba12662ee59a45.zip |
Seed the files in the pk directory
Change-Id: I03398098e6625f0e06e4a96769b03002a1c71d35
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15813
Reviewed-by: Glenn R. Miles <milesg@us.ibm.com>
Reviewed-by: Derk Rembold <rembold@de.ibm.com>
Tested-by: Derk Rembold <rembold@de.ibm.com>
Diffstat (limited to 'pk/kernel/Makefile')
-rw-r--r-- | pk/kernel/Makefile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pk/kernel/Makefile b/pk/kernel/Makefile new file mode 100644 index 00000000..3fad153e --- /dev/null +++ b/pk/kernel/Makefile @@ -0,0 +1,26 @@ +# This Makefile is designed to be invoked with the -I argument set to +# the location of the "pk.mk" for the build + +include img_defs.mk +include pkkernelfiles.mk + +ifeq "$(PK_TIMER_SUPPORT)" "1" +PK_OBJECTS += ${PK-TIMER-C-SOURCES:.c=.o} +endif + +ifeq "$(PK_THREAD_SUPPORT)" "1" +PK_OBJECTS += ${PK-THREAD-C-SOURCES:.c=.o} +endif + +OBJS := $(addprefix $(OBJDIR)/, $(PK_OBJECTS)) + +all: $(OBJS) + +$(OBJS) $(OBJS:.o=.d): | $(OBJDIR) + +$(OBJDIR): + mkdir -p $(OBJDIR) + +ifneq ($(MAKECMDGOALS),clean) +include $(OBJS:.o=.d) +endif |