Skip to content

Commit

Permalink
support ax1800 4.x
Browse files Browse the repository at this point in the history
  • Loading branch information
Dongming Han committed Jan 30, 2023
1 parent 44d553a commit 1afa0a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gl_image
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ def main(argv):
print"------------------------------------------------------------------------"
print("Copy " + output + " to " + fw_name)

if c.getProfile(image).find('nand') != -1 or c.getProfile(image).find('xe300-iot') != -1 or c.getProfile(image).find('axt1800') != -1:
if c.getProfile(image).find('nand') != -1 or c.getProfile(image).find('xe300-iot') != -1 or c.getProfile(image).find('axt1800') != -1 or c.getProfile(image).find('ax1800') != -1:
if image == "e750-1907":
check_call("find bin/ -name \"*%s*squashfs-factory*\" | xargs cp -t %s/" % (image, bin_dir), shell=True, cwd=im_path)
return_code, output = commands.getstatusoutput("find bin/ -name \"*%s*squashfs-factory*\"" % (c.getProfile(image).lower()))
Expand Down

0 comments on commit 1afa0a9

Please sign in to comment.