Changeset 1529 for trunk/bootstrap.gmk
- Timestamp:
- Apr 19, 2008, 8:06:50 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bootstrap.gmk
r1512 r1529 29 29 # ASSUMES: 30 30 # - KBUILD_TARGET, KBUILD_HOST, KBUILD_HOST_ARCH, and KBUILD_TYPE in the env. 31 # - PATH_KBUILDpoints to ./kBuild with an absolute path.32 # - PATH_KBUILD_BIN must *NOT* be defined anywhere.31 # - KBUILD_PATH points to ./kBuild with an absolute path. 32 # - KBUILD_BIN_PATH and PATH_KBUILD_BIN must *NOT* be defined anywhere. 33 33 # - Current directory == bootstrap.gmk directory. 34 34 # - mkdir -p works. … … 37 37 # - cd somedir && command works. 38 38 # - echo done > some-file works. 39 # - GNU make implements CURDIR, if not please define SRCDIR.40 # 41 # Tip: kBuild/env.sh --full (g )make -f bootstrap.kmk39 # - Recent GNU make that implements CURDIR, $(error) and ifdef. 40 # 41 # Tip: kBuild/env.sh --full (g(nu))make -f bootstrap.kmk 42 42 # 43 43 # … … 78 78 ifndef KBUILD_PATH 79 79 KBUILD_PATH := $(PATH_KBUILD) 80 endif 81 82 # 83 # Check (some of) the assumptions. 84 # 85 ifndef KBUILD_TARGET 86 $(error KBUILD_TARGET not set) 87 endif 88 89 ifndef KBUILD_HOST 90 $(error KBUILD_HOST not set) 91 endif 92 93 ifndef KBUILD_HOST_ARCH 94 $(error KBUILD_HOST_ARCH not set) 95 endif 96 97 ifndef KBUILD_TYPE 98 $(error KBUILD_TYPE not set) 99 endif 100 101 ifndef KBUILD_TYPE 102 $(error KBUILD_TYPE not set) 103 endif 104 105 ifndef KBUILD_PATH 106 $(error KBUILD_PATH not set) 107 endif 108 109 ifdef KBUILD_BIN_PATH 110 $(error KBUILD_BIN_PATH is set) 111 endif 112 ifdef PATH_KBUILD_BIN 113 $(error PATH_KBUILD_BIN is set) 80 114 endif 81 115
Note:
See TracChangeset
for help on using the changeset viewer.