X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=package%2Ffirmware%2Fvsc73x5-ucode%2Ffiles%2FMakefile;fp=package%2Ffirmware%2Fvsc73x5-ucode%2Ffiles%2FMakefile;h=550f51df79399ee4f23958cd80f79ea3ecdc389f;hb=bbff25f740a1c4c9412fc0e7381eba266b261244;hp=0000000000000000000000000000000000000000;hpb=5e3b47eefcbb1bcf7c89df345d6197052960ed5f;p=15.05%2Fopenwrt.git diff --git a/package/firmware/vsc73x5-ucode/files/Makefile b/package/firmware/vsc73x5-ucode/files/Makefile new file mode 100644 index 0000000000..550f51df79 --- /dev/null +++ b/package/firmware/vsc73x5-ucode/files/Makefile @@ -0,0 +1,20 @@ +# +# Copyright (C) 2010 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +CC:=gcc +OBJCOPY:=objcopy + +all: g5_Plus1_2_31_unmanaged_Atheros_v3.bin \ + g5_Plus1_2_31_unmanaged_Atheros_v4.bin \ + g5_Plus1_2_29b_unmanaged_Atheros_v5.bin \ + g5e_Plus1_2_29a_unmanaged_Atheros_v3.bin + +%.o: %.c + $(CC) $(CFLAGS) -c $^ -o $@ + +%.bin: %.o + $(OBJCOPY) -O binary -j .data $^ $@