summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2018-02-13 16:01:35 +0100
committerRobert Schwebel <r.schwebel@pengutronix.de>2018-02-18 20:15:46 +0100
commit611ffc376f061f22856cb8559dccff6cfac1a6de (patch)
tree801e69c3c3af41feb4f27f09321557a768b1ee5f
parente337d599ce7ce826dd3819b60b2e46ace2875840 (diff)
downloadDistroKit-611ffc376f061f22856cb8559dccff6cfac1a6de.tar.gz
DistroKit-611ffc376f061f22856cb8559dccff6cfac1a6de.tar.xz
barebox-am335x-mlo: update to latest template changes
This fixes 'ptxdist clean root' and the wrapper blacklist. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--configs/platform-v7a/rules/barebox-am335x-mlo.make19
1 files changed, 11 insertions, 8 deletions
diff --git a/configs/platform-v7a/rules/barebox-am335x-mlo.make b/configs/platform-v7a/rules/barebox-am335x-mlo.make
index 413ea15..130d7ba 100644
--- a/configs/platform-v7a/rules/barebox-am335x-mlo.make
+++ b/configs/platform-v7a/rules/barebox-am335x-mlo.make
@@ -30,11 +30,12 @@ BAREBOX_AM335X_MLO_SOURCE := $(SRCDIR)/$(BAREBOX_AM335X_MLO).$(BAREBOX_AM335X_ML
# Prepare
# ----------------------------------------------------------------------------
-BAREBOX_AM335X_MLO_BLACKLIST := \
+BAREBOX_AM335X_MLO_WRAPPER_BLACKLIST := \
TARGET_HARDEN_RELRO \
TARGET_HARDEN_BINDNOW \
TARGET_HARDEN_PIE \
- TARGET_DEBUG
+ TARGET_DEBUG \
+ TARGET_BUILD_ID
BAREBOX_AM335X_MLO_CONF_ENV := KCONFIG_NOTIMESTAMP=1
BAREBOX_AM335X_MLO_CONF_OPT := $(call barebox-opts, BAREBOX_AM335X_MLO)
@@ -63,14 +64,16 @@ $(STATEDIR)/barebox-am335x-mlo.prepare: $(BAREBOX_AM335X_MLO_CONFIG)
# Install
# ----------------------------------------------------------------------------
-BAREBOX_AM335X_MLO_INSTALL_OPT := \
- $(call barebox-opts, BAREBOX_AM335X_MLO)
-
$(STATEDIR)/barebox-am335x-mlo.install:
@$(call targetinfo)
-# @mkdir -p $(BAREBOX_AM335X_MLO_PKGDIR)/usr/lib/$(BAREBOX_AM335X_MLO)
-# install -m 644 $(image)
-# $(BAREBOX_AM335X_MLO_PKGDIR)/usr/lib/$(BAREBOX_AM335X_MLO)/$(notdir $(image));
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Targetinstall
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/barebox-am335x-mlo.targetinstall:
+ @$(call targetinfo)
@$(foreach image, $(BAREBOX_AM335X_MLO_IMAGES), \
install -m 644 \
$(image) $(IMAGEDIR)/$(notdir $(image));)