summaryrefslogtreecommitdiffstats
path: root/c/src/libchip/preinstall.am
diff options
context:
space:
mode:
authorDaniel Hellstrom <daniel@gaisler.com>2017-08-22 10:57:41 +0200
committerDaniel Hellstrom <daniel@gaisler.com>2017-08-29 08:44:05 +0200
commit1ccce05337be6e81f823039932a8a10d2b07c2d8 (patch)
treeda471d06a00e6dd2366f0bcdbf01f4751f33d492 /c/src/libchip/preinstall.am
parentleon,occan: remove dead code. (diff)
downloadrtems-1ccce05337be6e81f823039932a8a10d2b07c2d8.tar.bz2
libchip,greth: disable driver if SMP kernel
Update #2355
Diffstat (limited to '')
-rw-r--r--c/src/libchip/preinstall.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/c/src/libchip/preinstall.am b/c/src/libchip/preinstall.am
index 896dbe63b1..a280315a41 100644
--- a/c/src/libchip/preinstall.am
+++ b/c/src/libchip/preinstall.am
@@ -86,10 +86,11 @@ $(PROJECT_INCLUDE)/libchip/if_dcreg.h: network/if_dcreg.h $(PROJECT_INCLUDE)/lib
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libchip/if_dcreg.h
PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip/if_dcreg.h
+if !HAS_SMP
$(PROJECT_INCLUDE)/libchip/greth.h: network/greth.h $(PROJECT_INCLUDE)/libchip/$(dirstamp)
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libchip/greth.h
PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip/greth.h
-
+endif
$(PROJECT_INCLUDE)/libchip/smc91111.h: network/smc91111.h $(PROJECT_INCLUDE)/libchip/$(dirstamp)
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libchip/smc91111.h
PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip/smc91111.h