mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-06-17 04:33:57 +02:00
uboot-bcm4908: use "xxd" from staging_dir
This fixes: bash: xxd: command not found on hosts without xxd installed. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> (cherry picked from commit9dbca6bf6e
) Fixes:45b3f2aa0f
("uboot-bcm4908: add package with BCM4908 U-Boot")
This commit is contained in:
parent
92020d4242
commit
864bba55d8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user