mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
build: Fix install target parent directory prerequisites
This changes the install target such that parent directories of installed paths area created and each path is only installed on a dependency basis. Signed-off-by: Grant Erickson <marathon96@gmail.com>
This commit is contained in:
parent
9013edc300
commit
b111764384
@ -48,9 +48,10 @@ mkconfig:
|
|||||||
echo CONFIG_DRIVER_HOSTAP=y >> .config
|
echo CONFIG_DRIVER_HOSTAP=y >> .config
|
||||||
echo CONFIG_DRIVER_WEXT=y >> .config
|
echo CONFIG_DRIVER_WEXT=y >> .config
|
||||||
|
|
||||||
install: all
|
$(DESTDIR)$(BINDIR)/%: %
|
||||||
mkdir -p $(DESTDIR)$(BINDIR)
|
install -D $(<) $(@)
|
||||||
for i in $(ALL); do cp $$i $(DESTDIR)$(BINDIR)/$$i; done
|
|
||||||
|
install: $(addprefix $(DESTDIR)$(BINDIR)/,$(ALL))
|
||||||
$(MAKE) -C ../src install
|
$(MAKE) -C ../src install
|
||||||
|
|
||||||
OBJS = config.o
|
OBJS = config.o
|
||||||
|
Loading…
Reference in New Issue
Block a user