Skip to content
Permalink
Browse files

scripts/image: only create Generic image for Amlogic project for

now as Amlogic-ng only supports the N2 at this time
  • Loading branch information...
adamg88 committed Apr 12, 2019
1 parent 8b5c356 commit 8529790c36ed6c941093d5d6fa17e7a87ab52e1c
Showing with 1 addition and 4 deletions.
  1. +1 −4 scripts/image
@@ -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 \
@@ -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.
You can’t perform that action at this time.