/dump_fw.mk (83c95872fe12b9d279be420ca158a68232ad6f00) (1108 bytes) (mode 100644) (type blob)
#
# Makefile for wlags49_cs_xxx
#
LIB := ../lib
DIR_HCF = hcf
DIR_DHF = dhf
DIR_FW = dhf
DIR_CONFIG = include/hcf
DIR_WIRELESS = include/wireless
CONFIG_HEADERS = $(DIR_CONFIG)/debug.h $(DIR_CONFIG)/hcfcfg.h
HCF_HEADERS = $(DIR_HCF)/hcf.h $(DIR_HCF)/mdd.h $(DIR_HCF)/hcfdef.h
MMD_HEADERS = $(MMD_DIR)/mmd.h
WIRELESS_HEADERS = $(DIR_WIRELESS)/wl_enc.h $(DIR_WIRELESS)/wl_if.h $(DIR_WIRELESS)/wl_internal.h $(DIR_WIRELESS)/wl_version.h
OBJS = dump_fw.o
CFLAGS += -O3 -Wall -Wstrict-prototypes -pipe -DHCF_DLV
CPPFLAGS +=
CC = gcc -I$(DIR_CONFIG) -I$(DIR_HCF) -I$(DIR_DHF)
H2_OBJS = firmware/ap_h2.o firmware/sta_h2.o
H2_CFLAGS = -DHCF_TYPE=4
H1_OBJS = firmware/ap_h1.o firmware/sta_h1.o
H1_CFLAGS = -DHCF_TYPE=0
# H1-STAP and H2-STAP are the default targets
all: dump_h1_fw dump_h2_fw
dump_h1_fw : CFLAGS+=$(H1_CFLAGS)
dump_h1_fw : $(OBJS) $(H1_OBJS)
gcc $(CFLAGS) $^ -o $@
dump_h2_fw : CFLAGS+=$(H2_CFLAGS)
dump_h2_fw : $(OBJS) $(H2_OBJS)
gcc $(CFLAGS) $^ -o $@
clean :
rm $(OBJS) $(H1_OBJS) $(H2_OBJS) dump_h1_fw dump_h2_fw
Mode |
Type |
Size |
Ref |
File |
100644 |
blob |
751 |
f752eb00ad23ba3f85ee3434b2eb285dc85121bd |
README.dump_fw |
100644 |
blob |
6413 |
d0254ddd173534037da4ef28cd323a88673bd750 |
dump_fw.c |
100644 |
blob |
1108 |
83c95872fe12b9d279be420ca158a68232ad6f00 |
dump_fw.mk |
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"
Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/tuxsavvy/agere_fw_utils
Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/tuxsavvy/agere_fw_utils
Clone this repository using git:
git clone git://git.rocketgit.com/user/tuxsavvy/agere_fw_utils
You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a
merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main