tools/Makefile.win and link.bat: Fix for 'make menuconfig' (#117)
This commit is contained in:
parent
d360205d07
commit
c600f6d6cf
@ -335,7 +335,7 @@ ifeq ($(CONFIG_WINDOWS_MKLINK),y)
|
||||
$(Q) /user:administrator mklink /d $(TOPDIR)\drivers\platform $(BOARD_DIR)\drivers
|
||||
else
|
||||
$(Q) xcopy $(BOARD_DIR)\drivers $(TOPDIR)\drivers\platform /c /q /s /e /y /i
|
||||
$(Q) echo FAKELNK > $(TOPDIR)\drivers\platform .fakelnk
|
||||
$(Q) echo FAKELNK > $(TOPDIR)\drivers\platform\.fakelnk
|
||||
endif
|
||||
|
||||
ifeq ($(COMMON_DIR),y)
|
||||
|
@ -88,7 +88,9 @@ if "%usemklink%"=="y" (
|
||||
goto :End
|
||||
)
|
||||
|
||||
xcopy %src% %link% /c /q /s /e /y /i
|
||||
rem %src% may include forward slashes. That upsets xcopy, but not GNUWin32 cp
|
||||
rem xcopy %src% %link% /c /q /s /e /y /i
|
||||
cp -dR %src% %link%
|
||||
echo FAKELNK > %link%\.fakelnk
|
||||
goto :End
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user