forked from sabotage-linux/kernel-headers
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (19 loc) · 694 Bytes
/
Makefile
File metadata and controls
28 lines (19 loc) · 694 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Use config.mak to override any of the following variables.
# Or pass them to make, i.e. "make prefix=/usr install"
# Do not make changes here.
prefix = /usr/local
LEVELS = * */* */*/* */*/*/* */*/*/*/*
ALL_INCLUDES = $(sort $(wildcard $(LEVELS:%=$(ARCH)/include/%.h)))
INSTALL_HDR_PATH = $(DESTDIR)$(prefix)
INSTALL_CMD=tools/install.sh
-include config.mak
ARCH ?= $(error ARCH must be set)
all:
defconfig:
mmu_config:
g5_defconfig:
headers_install: install
install: $(ALL_INCLUDES:$(ARCH)/include/%=$(INSTALL_HDR_PATH)/include/%)
$(INSTALL_HDR_PATH)/include/%: $(ARCH)/include/%
$(INSTALL_CMD) -D -m 644 $< $@
.PHONY: install headers_install all defconfig mmu_config g5_defconfig