target/{sdk,imagebuild}: Fix for symlink-tree
With symlink tree some directories are just symlinked which means IB and SDK end up with a symlink instead of an actual directory; this fixes the missing files by dereferencesing the directories instead of copying the symlinks. Signed-off-by: Daniel Dickinson <lede@cshore.thecshore.com>
This commit is contained in:
parent
c3d3111831
commit
71370d2c55
@ -26,7 +26,7 @@ $(BIN_DIR)/$(IB_NAME).tar.bz2: clean
|
|||||||
mkdir -p $(IB_KDIR) $(IB_LDIR) $(PKG_BUILD_DIR)/staging_dir/host/lib \
|
mkdir -p $(IB_KDIR) $(IB_LDIR) $(PKG_BUILD_DIR)/staging_dir/host/lib \
|
||||||
$(PKG_BUILD_DIR)/target $(PKG_BUILD_DIR)/scripts $(IB_DTSDIR)
|
$(PKG_BUILD_DIR)/target $(PKG_BUILD_DIR)/scripts $(IB_DTSDIR)
|
||||||
-cp $(TOPDIR)/.config $(PKG_BUILD_DIR)/.config
|
-cp $(TOPDIR)/.config $(PKG_BUILD_DIR)/.config
|
||||||
$(CP) \
|
$(CP) -L \
|
||||||
$(INCLUDE_DIR) $(SCRIPT_DIR) \
|
$(INCLUDE_DIR) $(SCRIPT_DIR) \
|
||||||
$(TOPDIR)/rules.mk \
|
$(TOPDIR)/rules.mk \
|
||||||
./files/Makefile \
|
./files/Makefile \
|
||||||
|
@ -67,7 +67,7 @@ all: compile
|
|||||||
|
|
||||||
$(BIN_DIR)/$(SDK_NAME).tar.bz2: clean
|
$(BIN_DIR)/$(SDK_NAME).tar.bz2: clean
|
||||||
mkdir -p $(SDK_BUILD_DIR)/dl $(SDK_BUILD_DIR)/package
|
mkdir -p $(SDK_BUILD_DIR)/dl $(SDK_BUILD_DIR)/package
|
||||||
$(CP) $(INCLUDE_DIR) $(SCRIPT_DIR) $(TOPDIR)/docs $(SDK_BUILD_DIR)/
|
$(CP) -L $(INCLUDE_DIR) $(SCRIPT_DIR) $(TOPDIR)/docs $(SDK_BUILD_DIR)/
|
||||||
$(TAR) -cf - -C $(TOPDIR) \
|
$(TAR) -cf - -C $(TOPDIR) \
|
||||||
`cd $(TOPDIR); find $(KDIR_BASE) -name \*.ko` \
|
`cd $(TOPDIR); find $(KDIR_BASE) -name \*.ko` \
|
||||||
`cd $(TOPDIR); find $(KDIR_BASE)/firmware/ -newer $(KDIR_BASE)/firmware/Makefile \
|
`cd $(TOPDIR); find $(KDIR_BASE)/firmware/ -newer $(KDIR_BASE)/firmware/Makefile \
|
||||||
|
Loading…
Reference in New Issue
Block a user