From db6f21e2954db63cd04de73ed472c48f63b80a89 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sun, 11 Oct 2020 08:26:53 -0400 Subject: hosted: sanitize handling of HOME_DIR * HOME_DIR is now either "/" or special "" * target-specific "home dir path" is defined solely by PIVOT_ROOT * PIVOT_ROOT path is now defined in toplevel config files * Make Samsung YP-R0/R1 and SONY_NWZ use PIVOT_ROOT too * Do not prepend PIVOT_ROOT path if the path already has it! * Do not play these games for __PCTOOL__ builds Change-Id: I3d51ad902a5f9cafe45ba15ba654f30f1ec6113a --- firmware/export/config/ibassodx50.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'firmware/export/config/ibassodx50.h') diff --git a/firmware/export/config/ibassodx50.h b/firmware/export/config/ibassodx50.h index 4107fd496f..22215ef9e4 100644 --- a/firmware/export/config/ibassodx50.h +++ b/firmware/export/config/ibassodx50.h @@ -24,7 +24,10 @@ /* This config file is for Rockbox as an application on Android without JVM. */ /* We don't run on hardware directly */ +#ifndef SIMULATOR #define CONFIG_PLATFORM PLATFORM_HOSTED +#define PIVOT_ROOT "/mnt/sdcard" +#endif #define HAVE_FPU /* For Rolo and boot loader */ -- cgit v1.2.3