diff --git a/Makefile b/Makefile index 27dda5e6..386656b5 100755 --- a/Makefile +++ b/Makefile @@ -141,7 +141,7 @@ menuconfig:$(MENUCONFIG_MCONF) $< $(KCONFIG_FILE_PATH) genconfig:$(MENUCONFIG_CONF) - $(HIDE)mkdir -p include/config include/generated + $(HIDE)mkdir -p include/config include/generated platform/include $< --olddefconfig $(KCONFIG_FILE_PATH) $< --silentoldconfig $(KCONFIG_FILE_PATH) -mv -f $(LITEOS_MENUCONFIG_H) $(LITEOS_PLATFORM_MENUCONFIG_H) diff --git a/arch/arm/arm/src/los_hw_tick.c b/arch/arm/arm/src/los_hw_tick.c index e4689635..cc53cf9a 100644 --- a/arch/arm/arm/src/los_hw_tick.c +++ b/arch/arm/arm/src/los_hw_tick.c @@ -68,7 +68,7 @@ LITE_OS_SEC_TEXT_MINOR UINT64 LOS_CurrNanosec(VOID) UINT64 nanos; nanos = (UINT64)HalClockGetCycles() * OS_SYS_NS_PER_SECOND / g_sysClock; - return (UINT64)nanos; + return nanos; } LITE_OS_SEC_TEXT_MINOR VOID LOS_Udelay(UINT32 usecs)