VERY OBSOLETE linux-wlan-ng master repository
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
linux-wlan-ng/scripts/Makefile.get_options

10 lines
411 B

KERNEL_VERSION := $(shell $(CURR_DIR)/get_version)
KERNEL_RELEASE := $(shell echo $(KERNEL_VERSION) | cut -d\" -f2| cut -c-5)
include Makefile
get_version_target:
echo "KERNEL_RELEASE=$(KERNEL_VERSION)" >> $(CURR_DIR)/make.opts
echo "CROSS_COMPILE='$(CROSS_COMPILE)'" >> $(CURR_DIR)/make.opts
echo "HOST_CC='$(HOSTCC)'" >> $(CURR_DIR)/make.opts
echo "HOST_CFLAGS='$(HOSTCFLAGS)'" >> $(CURR_DIR)/make.opts