summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/leon2/preinstall.am
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-09-06 00:01:14 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-09-06 00:01:14 +0000
commit4d3933b3009639a1ee5488e5eef13331bfbd9a26 (patch)
tree77d2b66e6f88fadc896efb83a634d0674e97c498 /c/src/lib/libbsp/sparc/leon2/preinstall.am
parent2007-09-05 Daniel Hellstrom <daniel@gaisler.com> (diff)
downloadrtems-4d3933b3009639a1ee5488e5eef13331bfbd9a26.tar.bz2
2007-09-05 Daniel Hellstrom <daniel@gaisler.com>
* Makefile.am, preinstall.am: LEON3 AMBA PnP bus scanning moved to shared/amba/amba.c and shared/include/ambapp.h. The AMBA scanning was improved to take account for PnP info address translation. This is useful when scanning remote AMBA busses for example when a board connected with PCI has an AMBA bus that needs to be scanned, before the addresses was hard coded. Also, LEON2 now have AMBA PnP bus scanning support. By using the new AMBA scanning routines it is possible to isolate the AMBA scanning code to ambapp.c, however existing drivers should be updated to use them in order to save space.
Diffstat (limited to 'c/src/lib/libbsp/sparc/leon2/preinstall.am')
-rw-r--r--c/src/lib/libbsp/sparc/leon2/preinstall.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/sparc/leon2/preinstall.am b/c/src/lib/libbsp/sparc/leon2/preinstall.am
index f6ac0a87e6..7099d5fb8c 100644
--- a/c/src/lib/libbsp/sparc/leon2/preinstall.am
+++ b/c/src/lib/libbsp/sparc/leon2/preinstall.am
@@ -52,6 +52,11 @@ $(PROJECT_INCLUDE)/coverhd.h: include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
+# AMBA Plug&Play Bus
+$(PROJECT_INCLUDE)/ambapp.h: ../../sparc/shared/include/ambapp.h $(PROJECT_INCLUDE)/$(dirstamp)
+ $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/ambapp.h
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/ambapp.h
+
$(PROJECT_LIB)/start.$(OBJEXT): start.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
$(INSTALL_DATA) $< $(PROJECT_LIB)/start.$(OBJEXT)
TMPINSTALL_FILES += $(PROJECT_LIB)/start.$(OBJEXT)