X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/8afb23270d23db6a033ba8fb77e1cf1a1d925a7c..11cdd8c18e72bf10191cbea26f5f3edccdd819f1:/package/base-files/Makefile diff --git a/package/base-files/Makefile b/package/base-files/Makefile index 1e234c65a..f77821966 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -142,8 +142,10 @@ define Package/base-files$(TARGET)/install-brcm endef define Package/base-files$(TARGET)/install - $(call Package/base-files$(TARGET)/install-$(BOARD),$(1)) $(CP) ./default/* $(1)/ + if [ -d $(BOARD) ]; then \ + $(CP) $(BOARD)/* $(1)/; \ + fi if [ -d $(BOARD)-$(KERNEL) ]; then \ $(CP) $(BOARD)-$(KERNEL)/* $(1)/; \ fi @@ -164,6 +166,7 @@ define Package/base-files$(TARGET)/install rm -f $(1)/var ln -sf /tmp $(1)/var mkdir -p $(1)/etc +$(call Package/base-files$(TARGET)/install-$(BOARD),$(1)) endef define Package/libgcc/install