Skip to content

Commit

Permalink
uboot-bcm4908: use "xxd" from staging_dir
Browse files Browse the repository at this point in the history
This fixes:
bash: xxd: command not found
on hosts without xxd installed.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
  • Loading branch information
Rafał Miłecki committed Mar 15, 2022
1 parent da2b972 commit 9dbca6b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions package/boot/uboot-bcm4908/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ define Build/Prepare
$(call Build/Prepare/Default)
mkdir -p $(PKG_BUILD_DIR)/include/generated/
( cd $(PKG_BUILD_DIR)/board/broadcom/bcmbca/httpd/html/ && \
xxd -i index.html > ../../../../../include/generated/index.h && \
xxd -i flashing.html > ../../../../../include/generated/flashing.h && \
xxd -i fail.html > ../../../../../include/generated/fail.h && \
xxd -i 404.html > ../../../../../include/generated/404.h )
$(STAGING_DIR_HOST)/bin/xxd -i index.html > ../../../../../include/generated/index.h && \
$(STAGING_DIR_HOST)/bin/xxd -i flashing.html > ../../../../../include/generated/flashing.h && \
$(STAGING_DIR_HOST)/bin/xxd -i fail.html > ../../../../../include/generated/fail.h && \
$(STAGING_DIR_HOST)/bin/xxd -i 404.html > ../../../../../include/generated/404.h )
endef

define Build/InstallDev
Expand Down

0 comments on commit 9dbca6b

Please sign in to comment.