Skip to content

Commit

Permalink
dsl: Use different spectrum binary for different builds
Browse files Browse the repository at this point in the history
  • Loading branch information
zaloisio committed Apr 6, 2021
1 parent 53041b7 commit 6ba4dc0
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion release/src/router/spectrum/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ endif

ifeq ($(wildcard $(TOP)/spectrum/*.c),)
all:
-cp -f $(TOP)/spectrum/prebuild/spectrum spectrum
-cp -f $(TOP)/spectrum/prebuild/$(BUILD_NAME)/spectrum spectrum
else
all: spectrum
endif
Expand Down
Binary file not shown.
1 change: 1 addition & 0 deletions tools/add-prebuilds-to-git
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ then
git add -f $REPO/release/src/router/dsl_autodet/
git add -f $REPO/release/src/router/dsl_diag/
git add -f $REPO/release/src/router/tr069/
git add -f $REPO/release/src/router/spectrum/*
else
echo "Unrecognized BUILD_NAME!"
exit
Expand Down
3 changes: 2 additions & 1 deletion tools/copy-prebuilt
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ then
# DSL specific files
cp -a release/src-rt-6.x.4708/tc_fw/* $REPO/release/src-rt-6.x.4708/tc_fw/
cp -a release/src/router/dsl_drv_tool/* $REPO/release/src/router/dsl_drv_tool
cp -a release/src/router/spectrum/* $REPO/release/src/router/spectrum
cp -a release/src/router/spectrum/prebuild/* $REPO/release/src/router/spectrum/prebuild/$BUILD_NAME/

elif [ "$BUILD_NAME" == "RT-AX86U" ] || [ "$BUILD_NAME" == "RT-AX68U" ]
then
Expand Down Expand Up @@ -278,6 +278,7 @@ then
cp -a release/src/router/dsl_autodet/* $REPO/release/src/router/dsl_autodet
cp -a release/src/router/dsl_diag/* $REPO/release/src/router/dsl_diag
cp -a release/src/router/tr069/* $REPO/release/src/router/tr069
cp -a release/src/router/spectrum/prebuild/* $REPO/release/src/router/spectrum/prebuild/$BUILD_NAME/
fi

# Cleanup
Expand Down

0 comments on commit 6ba4dc0

Please sign in to comment.