gluon/builder/gluon.mk

27 lines
794 B
Makefile
Raw Normal View History

2013-02-11 22:06:19 +00:00
ifneq ($(__gluon_inc),1)
__gluon_inc=1
GLUON_SITEDIR := $(GLUONDIR)/site
GLUON_IMAGEDIR := $(GLUONDIR)/images
GLUON_OPENWRTDIR := $(GLUONDIR)/openwrt
GLUON_BUILDERDIR := $(GLUONDIR)/builder
GLUON_BUILDDIR := $(GLUONDIR)/build
2013-02-11 22:06:19 +00:00
BOARD_BUILDDIR = $(GLUON_BUILDDIR)/$(BOARD)
BOARD_KDIR = $(BOARD_BUILDDIR)/kernel
2013-02-17 15:30:59 +00:00
export GLUONDIR GLUON_SITEDIR GLUON_IMAGEDIR GLUON_OPENWRTDIR GLUON_BUILDERDIR GLUON_BUILDDIR
2013-02-11 22:06:19 +00:00
$(GLUON_SITEDIR)/site.mk:
$(error There was no site configuration found. Please check out a site configuration to $(GLUON_SITEDIR))
-include $(GLUON_SITEDIR)/site.mk
2013-02-13 01:37:06 +00:00
GLUON_DEFAULT_PACKAGES := gluon-core kmod-ipv6 firewall ip6tables
2013-02-11 22:06:19 +00:00
GLUON_PACKAGES := $(GLUON_DEFAULT_PACKAGES) $(GLUON_SITE_PACKAGES)
DEFAULT_PACKAGES.gluon := $(GLUON_PACKAGES)
DEVICE_TYPE := gluon
2013-02-11 22:06:19 +00:00
endif #__gluon_inc