Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gtxaspec committed Dec 31, 2023
1 parent 0b5fdfd commit f5c6dc5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
19 changes: 10 additions & 9 deletions .github/scripts/u-boot-ingenic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,25 @@ export CROSS_COMPILE=mipsel-linux-gnu-

declare -A cfg

cfg[t10]="isvp_t10_sfcnor"
cfg[t10n]="isvp_t10_sfcnor"
cfg[t10l]="isvp_t10_sfcnor_lite"
cfg[t20]="isvp_t20_sfcnor"
cfg[t20n]="isvp_t20_sfcnor"
cfg[t20l]="isvp_t20_sfcnor_lite"
cfg[t31n]="isvp_t31_sfcnor"
cfg[t31l]="isvp_t31_sfcnor_lite"
cfg[t31x]="isvp_t31_sfcnor_ddr128M"
cfg[t31a]="isvp_t31a_sfcnor_ddr128M"
cfg[t31al]="isvp_t31al_sfcnor_ddr128M"
cfg[t31lc]="isvp_t31lc_sfcnor"
cfg[t20x]="isvp_t20_sfcnor_ddr128M"
cfg[t21n]="isvp_t21_sfcnor"
cfg[t30n]="isvp_t30_sfcnor"
cfg[t30l]="isvp_t30_sfcnor_lite"
cfg[t30x]="isvp_t30_sfcnor_ddr128M"
cfg[t30a]="isvp_t30a_sfcnor_ddr128M"
cfg[t30a1]="isvp_t30a1_sfcnor_ddr128M"
cfg[t31n]="isvp_t31_sfcnor"
cfg[t31l]="isvp_t31_sfcnor_lite"
cfg[t31x]="isvp_t31_sfcnor_ddr128M"
cfg[t31a]="isvp_t31a_sfcnor_ddr128M"
cfg[t31al]="isvp_t31al_sfcnor_ddr128M"
cfg[t31lc]="isvp_t31lc_sfcnor"

ln -s compiler-gcc7.h include/linux/compiler-gcc10.h
#ln -s compiler-gcc7.h include/linux/compiler-gcc10.h
mkdir -p ../ingenic-output

for soc in ${!cfg[@]}; do
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/makefile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Prepare
run: |
sudo apt-get update
sudo apt-get install gcc-arm-linux-gnueabi gcc-mipsel-linux-gnu lzop u-boot-tools
sudo apt-get install gcc-mipsel-linux-gnu lzop u-boot-tools
- name: u-boot-ingenic
run: |
Expand Down
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,6 @@ clean:
@rm -f $(obj)include/generated/asm-offsets.h
@rm -f $(obj)$(CPUDIR)/$(SOC)/asm-offsets.s
@rm -f $(TIMESTAMP_FILE) $(VERSION_FILE)
@rm -f uboot_build/*
@$(MAKE) -s -C doc/DocBook/ cleandocs
@$(MAKE) -s -C $(TOPTREE)tools/ingenic-tools/ clean
@find $(OBJTREE) -type f \
Expand Down Expand Up @@ -970,7 +969,6 @@ clobber: tidy
@rm -f $(obj)u-boot-lzo.img
@rm -f $(obj)u-boot-lzo.bin
@rm -f $(obj)u-boot-lzo-with-spl.bin
@rm -rf uboot_build

mrproper \
distclean: clobber unconfig
Expand Down

0 comments on commit f5c6dc5

Please sign in to comment.