Skip to content

Commit 2358678

Browse files
Nadiyalguohan
Nadiya
authored andcommitted
Add operational script, accton_as7512_util.py, for device initializatian and peripheral accessing (#265)
Signed-off-by: Nadiya.Stetskovych <[email protected]>
1 parent 0bbde7b commit 2358678

File tree

1 file changed

+3
-0
lines changed
  • platform/cavium/cavm_platform_modules

1 file changed

+3
-0
lines changed

platform/cavium/cavm_platform_modules/Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ SHELL = /bin/bash
44

55
MAIN_TARGET = cavm_platform_modules.deb
66
DEB_BUILD_DIR = cavm-platform-modules-deb
7+
SCRIPT_SRC = $(DEB_BUILD_DIR)/
78

89
$(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
910
# get sources
@@ -16,8 +17,10 @@ $(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
1617
KERNEL_SRC=/lib/modules/$(KVERSION)/build make
1718
popd
1819
mkdir -p $(DEB_BUILD_DIR)/lib/modules/$(KVERSION)
20+
mkdir -p $(DEB_BUILD_DIR)/usr/bin
1921

2022
cp SONiC/AS7512-32X/module/*.ko $(DEB_BUILD_DIR)/lib/modules/$(KVERSION)
23+
cp SONiC/AS7512-32X/accton_as7512_util.py $(DEB_BUILD_DIR)/usr/bin
2124
cp -r DEBIAN $(DEB_BUILD_DIR)
2225
dpkg-deb -b $(DEB_BUILD_DIR) $(MAIN_TARGET)
2326

0 commit comments

Comments
 (0)