diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2017-06-16 08:51:43 +0200 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2017-06-30 18:49:20 +0200 |
commit | 8a984f6e97161d2cd95cdd917b451836653c5497 (patch) | |
tree | 9dc1708ad8b0ff0ebbd8cecdace323d75f2c62ad /configs/platform-v7a/rules | |
parent | 5dbe65d9c12d35f8e4b9b674b492f98dbe76832a (diff) | |
download | DistroKit-8a984f6e97161d2cd95cdd917b451836653c5497.tar.gz DistroKit-8a984f6e97161d2cd95cdd917b451836653c5497.tar.xz |
platform-v7a: remove old barebox and images
We will split up the image generation into one image per target hardware
in subsequent patches.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
[improved commit message]
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'configs/platform-v7a/rules')
-rw-r--r-- | configs/platform-v7a/rules/barebox-gf.make | 92 | ||||
-rw-r--r-- | configs/platform-v7a/rules/post/genimage-fixup.make | 4 |
2 files changed, 0 insertions, 96 deletions
diff --git a/configs/platform-v7a/rules/barebox-gf.make b/configs/platform-v7a/rules/barebox-gf.make deleted file mode 100644 index c28e677..0000000 --- a/configs/platform-v7a/rules/barebox-gf.make +++ /dev/null @@ -1,92 +0,0 @@ -# -*-makefile-*- -# -# Copyright (C) 2017 by Robert Schwebel <r.schwebel@pengutronix.de> -# -# See CREDITS for details about who has contributed to this project. -# -# For further information about the PTXdist project and license conditions -# see the README file. -# - -# -# We provide this package -# -PACKAGES-$(PTXCONF_BAREBOX_GF) += barebox-gf - -# -# Paths and names -# -BAREBOX_GF_VERSION := 2016.05.0 -BAREBOX_GF_MD5 := -BAREBOX_GF := barebox-$(BAREBOX_GF_VERSION) -BAREBOX_GF_SUFFIX := tar.bz2 -BAREBOX_GF_DIR := $(BUILDDIR)/barebox-gf-$(BAREBOX_GF_VERSION) -BAREBOX_GF_CONFIG := $(PTXDIST_PLATFORMCONFIGDIR)/barebox-gf.config.$(BAREBOX_GF_VERSION) -BAREBOX_GF_LICENSE := GPL-2.0 -BAREBOX_GF_URL := $(call barebox-url, BAREBOX_GF) -BAREBOX_GF_SOURCE := $(SRCDIR)/$(BAREBOX_GF).$(BAREBOX_GF_SUFFIX) - -# ---------------------------------------------------------------------------- -# Prepare -# ---------------------------------------------------------------------------- - -BAREBOX_GF_BLACKLIST := \ - TARGET_HARDEN_RELRO \ - TARGET_HARDEN_BINDNOW \ - TARGET_HARDEN_PIE \ - TARGET_DEBUG - -BAREBOX_GF_CONF_ENV := KCONFIG_NOTIMESTAMP=1 -BAREBOX_GF_CONF_OPT := $(call barebox-opts, BAREBOX_GF) - -BAREBOX_GF_MAKE_ENV := $(BAREBOX_GF_CONF_ENV) -BAREBOX_GF_MAKE_OPT := $(BAREBOX_GF_CONF_OPT) - -BAREBOX_GF_IMAGES := barebox.bin -BAREBOX_GF_IMAGES := $(addprefix $(BAREBOX_GF_DIR)/,$(BAREBOX_GF_IMAGES)) - -ifdef PTXCONF_BAREBOX_GF -$(BAREBOX_GF_CONFIG): - @echo - @echo "****************************************************************************" - @echo " Please generate a bareboxconfig with 'ptxdist menuconfig barebox-gf'" - @echo "****************************************************************************" - @echo - @echo - @exit 1 -endif - -$(STATEDIR)/barebox-gf.prepare: $(BAREBOX_GF_CONFIG) - -# ---------------------------------------------------------------------------- -# Install -# ---------------------------------------------------------------------------- - -BAREBOX_GF_INSTALL_OPT := \ - $(call barebox-opts, BAREBOX_GF) - -$(STATEDIR)/barebox-gf.install: - @$(call targetinfo) - @$(foreach image, $(BAREBOX_GF_IMAGES), \ - install -m 644 \ - $(image) $(IMAGEDIR)/$(notdir $(image))-gf;) - @$(call touch) - -# ---------------------------------------------------------------------------- -# Clean -# ---------------------------------------------------------------------------- - -$(STATEDIR)/barebox-gf.clean: - @$(call targetinfo) - @$(call clean_pkg, BAREBOX_GF) - @$(foreach image, $(BAREBOX_GF_IMAGES), \ - rm -fv $(IMAGEDIR)/$(notdir $(image))-gf;) - -# ---------------------------------------------------------------------------- -# oldconfig / menuconfig -# ---------------------------------------------------------------------------- - -barebox-gf_oldconfig barebox-gf_menuconfig barebox-gf_nconfig: $(STATEDIR)/barebox-gf.extract - @$(call world/kconfig, BAREBOX_GF, $(subst barebox-gf_,,$@)) - -# vim: syntax=make diff --git a/configs/platform-v7a/rules/post/genimage-fixup.make b/configs/platform-v7a/rules/post/genimage-fixup.make deleted file mode 100644 index 8ce221b..0000000 --- a/configs/platform-v7a/rules/post/genimage-fixup.make +++ /dev/null @@ -1,4 +0,0 @@ -$(IMAGEDIR)/boot.vfat: $(STATEDIR)/kernel.targetinstall.post -$(IMAGEDIR)/boot.vfat: $(STATEDIR)/barebox.targetinstall.post -$(IMAGEDIR)/boot.vfat: $(STATEDIR)/barebox-rpi2.targetinstall.post -$(IMAGEDIR)/boot.vfat: $(STATEDIR)/barebox-gf.targetinstall.post |