Skip to content

Commit

Permalink
scripts/image: only create Generic image for Amlogic project for
Browse files Browse the repository at this point in the history
now as Amlogic-ng only supports the N2 at this time
  • Loading branch information
adamg committed Apr 14, 2019
1 parent 8b5c356 commit 8529790
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scripts/image
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ if [ "$1" = "release" -o "$1" = "mkimage" -o "$1" = "amlpkg" -o "$1" = "noobs" ]
fi

if [ -n "$SUBDEVICES" ]; then
SUBDEVICES+=" Generic"
[ "$PROJECT" = "Amlogic" ] && SUBDEVICES+=" Generic"
for SUBDEVICE in $SUBDEVICES;do
# variables used in image script must be passed
env \
Expand Down Expand Up @@ -588,7 +588,4 @@ if [ "$1" = "release" -o "$1" = "mkimage" -o "$1" = "amlpkg" -o "$1" = "noobs" ]
# cleanup release dir
rm -rf $RELEASE_DIR
fi

#cleanup unneeded files
[ "$PROJECT" == "Amlogic" ] && rm -rf $TARGET_IMG/$IMAGE_NAME.system $TARGET_IMG/$IMAGE_NAME.kernel
fi

0 comments on commit 8529790

Please sign in to comment.