mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
21 lines
518 B
Makefile
21 lines
518 B
Makefile
#
|
|
#
|
|
#
|
|
|
|
.PHONY: config netbsd
|
|
|
|
TOPDIR ?= $(shell pwd)
|
|
NETBSD_RELEASE ?= $(patsubst netbsd-%-xen%,%,$(notdir $(TOPDIR)))
|
|
NETBSD_VER ?= $(patsubst netbsd-%-xen%,%,$(notdir $(TOPDIR)))
|
|
|
|
config:
|
|
@mkdir -p compile/XEN
|
|
cd compile/XEN && TOPDIR=$(TOPDIR) NETBSD_VER=$(NETBSD_VER) ../../nbconfig-xen XEN
|
|
|
|
netbsd:
|
|
cd compile/XEN && TOPDIR=$(TOPDIR) NETBSD_VER=$(NETBSD_VER) ../../nbmake-xen dependall
|
|
|
|
install:
|
|
@mkdir -p $(dir $(INSTALL_PATH)/$(INSTALL_NAME))
|
|
install -c compile/XEN/netbsd $(INSTALL_PATH)/$(INSTALL_NAME)
|