X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Fyousong.git;a=blobdiff_plain;f=include%2Fhost-build.mk;h=56e0e4e4136e5a43eacf1bf04b3bd967fbcb5f78;hp=72b32597d4d230df7fe9e42ebd505de131c733ac;hb=7c8c3226dc8ecd2b77d1d1e8215e0fbb52819cd7;hpb=02d5f9477be31d2ca27d4e9f4d2d19f964c40c7c diff --git a/include/host-build.mk b/include/host-build.mk index 72b32597d4..56e0e4e413 100644 --- a/include/host-build.mk +++ b/include/host-build.mk @@ -43,6 +43,7 @@ Host/Patch:=$(Host/Patch/Default) ifneq ($(strip $(HOST_UNPACK)),) define Host/Prepare/Default $(HOST_UNPACK) + [ ! -d ./src/ ] || $(CP) ./src/* $(HOST_BUILD_DIR) $(Host/Patch) endef endif