diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-04-21 09:07:51 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-04-22 08:37:01 -0500 |
commit | 90bc4d03f08d30220bb40860ba3a2dd971d8fb3a (patch) | |
tree | ceac115e688f4cfd469194dd64dbf0a5a4126333 /c/src/lib/libcpu/sh/preinstall.am | |
parent | dummy_printk_support.c: Comment clean up (diff) | |
download | rtems-90bc4d03f08d30220bb40860ba3a2dd971d8fb3a.tar.bz2 |
libcpu/sh: Build cache stubs so apps usign cache API link
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libcpu/sh/preinstall.am | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/c/src/lib/libcpu/sh/preinstall.am b/c/src/lib/libcpu/sh/preinstall.am index 9b12347225..d6d7b83976 100644 --- a/c/src/lib/libcpu/sh/preinstall.am +++ b/c/src/lib/libcpu/sh/preinstall.am @@ -13,6 +13,15 @@ all-am: $(PREINSTALL_FILES) PREINSTALL_FILES = CLEANFILES = $(PREINSTALL_FILES) +$(PROJECT_INCLUDE)/libcpu/$(dirstamp): + @$(MKDIR_P) $(PROJECT_INCLUDE)/libcpu + @: > $(PROJECT_INCLUDE)/libcpu/$(dirstamp) +PREINSTALL_DIRS += $(PROJECT_INCLUDE)/libcpu/$(dirstamp) + +$(PROJECT_INCLUDE)/libcpu/cache.h: ../shared/include/cache.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/cache.h +PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/cache.h + if sh7032 $(PROJECT_INCLUDE)/sh/$(dirstamp): @$(MKDIR_P) $(PROJECT_INCLUDE)/sh |