Files
HiSTBLinuxV100R005C00SPC060/source/component/wifi/Makefile
T
2025-04-01 14:11:01 +08:00

38 lines
1.2 KiB
Makefile

#===============================================================================
# export variables
#===============================================================================
ifeq ($(CFG_HI_EXPORT_FLAG),)
SDK_DIR := $(shell cd $(CURDIR)/../../.. && /bin/pwd)
include $(SDK_DIR)/base.mak
endif
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# variable
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
objects := drv tools interface
objects_clean := $(addsuffix _clean,$(objects))
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# rules
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#==================================================================
# all
#==================================================================
.PHONY: all clean
all: $(objects)
clean: $(objects_clean)
#==================================================================
# modules
#==================================================================
.PHONY: $(objects) $(objects_clean)
$(objects):
make -j16 -C $@ all
$(objects_clean):
make -j16 -C $(patsubst %_clean,%,$@) clean