build: fix creation of opkg key when BUILDDIR hasn't been created yet

This commit is contained in:
Matthias Schiffer 2015-10-30 20:06:09 +01:00
parent f6f83508d0
commit 4c4ca21545
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ prepare-early: FORCE
create-key: prepare-early
[ -s $(GLUON_OPKG_KEY) -a -s $(GLUON_OPKG_KEY).pub ] || \
$(STAGING_DIR_HOST)/bin/usign -G -s $(GLUON_OPKG_KEY) -p $(GLUON_OPKG_KEY).pub -c "Gluon opkg key"
mkdir -p $$(dirname $(GLUON_OPKG_KEY)) && $(STAGING_DIR_HOST)/bin/usign -G -s $(GLUON_OPKG_KEY) -p $(GLUON_OPKG_KEY).pub -c "Gluon opkg key"
include $(GLUONDIR)/targets/targets.mk