Skip to content

Commit

Permalink
Add operational script, accton_as7512_util.py, for device initializat…
Browse files Browse the repository at this point in the history
…ian and peripheral accessing (#265)

Signed-off-by: Nadiya.Stetskovych <[email protected]>
  • Loading branch information
Nadiya authored and lguohan committed Feb 6, 2017
1 parent 0bbde7b commit 2358678
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions platform/cavium/cavm_platform_modules/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)

Expand Down

0 comments on commit 2358678

Please sign in to comment.