2009-03-24 07:30:51 +00:00
|
|
|
DATA = \
|
|
|
|
Kbuild \
|
|
|
|
Makefile \
|
|
|
|
|
|
|
|
SUBDIRS = \
|
2011-07-31 17:19:18 +00:00
|
|
|
scripts \
|
|
|
|
tools
|
2009-03-24 07:30:51 +00:00
|
|
|
|
2018-07-07 21:04:59 +00:00
|
|
|
DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
|
|
|
|
ifneq ($(filter powerpc powerpcspe ppc64,$(DEB_HOST_ARCH)),)
|
|
|
|
SUBDIRS += arch/powerpc/boot
|
|
|
|
endif
|
|
|
|
|
2016-02-19 20:05:58 +00:00
|
|
|
include $(top_rulesdir)/Makefile.inc
|
2015-08-13 19:34:08 +00:00
|
|
|
|
|
|
|
# Build userland headers first
|
|
|
|
unexport VERSION
|
|
|
|
all-local:
|
2016-06-13 00:17:13 +00:00
|
|
|
mkdir -p headers-tools
|
|
|
|
$(MAKE) -C $(top_srcdir) ARCH=$(KERNEL_ARCH) O=$(CURDIR)/headers-tools \
|
2015-08-13 19:34:08 +00:00
|
|
|
INSTALL_HDR_PATH=$(CURDIR) headers_install
|
|
|
|
all-recursive: all-local
|