From 235867849708fb6bd22c54523286d613a2319846 Mon Sep 17 00:00:00 2001 From: Nadiya Date: Mon, 6 Feb 2017 08:17:25 +0200 Subject: [PATCH] Add operational script, accton_as7512_util.py, for device initializatian and peripheral accessing (#265) Signed-off-by: Nadiya.Stetskovych --- platform/cavium/cavm_platform_modules/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/platform/cavium/cavm_platform_modules/Makefile b/platform/cavium/cavm_platform_modules/Makefile index 5d2624acbebb..515c1571abde 100644 --- a/platform/cavium/cavm_platform_modules/Makefile +++ b/platform/cavium/cavm_platform_modules/Makefile @@ -4,6 +4,7 @@ SHELL = /bin/bash MAIN_TARGET = cavm_platform_modules.deb DEB_BUILD_DIR = cavm-platform-modules-deb +SCRIPT_SRC = $(DEB_BUILD_DIR)/ $(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% : # get sources @@ -16,8 +17,10 @@ $(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% : KERNEL_SRC=/lib/modules/$(KVERSION)/build make popd mkdir -p $(DEB_BUILD_DIR)/lib/modules/$(KVERSION) + mkdir -p $(DEB_BUILD_DIR)/usr/bin cp SONiC/AS7512-32X/module/*.ko $(DEB_BUILD_DIR)/lib/modules/$(KVERSION) + cp SONiC/AS7512-32X/accton_as7512_util.py $(DEB_BUILD_DIR)/usr/bin cp -r DEBIAN $(DEB_BUILD_DIR) dpkg-deb -b $(DEB_BUILD_DIR) $(MAIN_TARGET)